RAL Classic color
RAL 1027 Curry #9D9101
RAL 1027 Curry is shown here as #9D9101, a widely published sRGB approximation of the printed swatch. It is a soft yellow in the yellow family. In OKLCH it sits at lightness 0.647, chroma 0.136 and hue 103.6°. The nearest CSS named color is olive (#808000), ΔE2000 7.9 away.
- Relative luminance
- 0.2742
- OKLCH L · C · h
- 0.647 · 0.136 · 103.6
- Best text
- Black 6.48:1
- Hue family
- Yellow
#9D9101 color codes
- HEX
#9D9101- RGB
rgb(157, 145, 1)- HSL
hsl(55, 99%, 31%)- OKLCH
oklch(0.647 0.136 103.6)- OKLab
oklab(0.647 -0.032 0.132)- CIELAB (D65)
L* 59.36, a* -8.65, b* 63.14- XYZ (D65)
X 24.04, Y 27.42, Z 4.06- CMYK (naive)
cmyk(0%, 8%, 99%, 38%)
CIELAB and XYZ use the D65 white point; CSS lab() uses D50, so paste the OKLCH or HEX value into stylesheets. CMYK here is a plain formula with no press profile.
RAL and RAL Classic are trademarks of RAL gGmbH, which this site is not affiliated with. The sRGB value is an approximation of the printed swatch; check a physical RAL color card before you specify a paint.
Legibility
Contrast: is #9D9101 accessible?
Black text on it reaches 6.48:1, passing AA. White text manages only 3.23:1, enough for large text only.
WCAG 2 gives the same ratio whichever color is the text; APCA does not, so its Lc changes sign and size with polarity.
Open the Contrast System-
Black text on it
6.48:1
- AA passes
- AA large passes
- AAA fails
- APCA Lc +44
-
White text on it
3.23:1
- AA fails
- AA large passes
- AAA fails
- APCA Lc −64
-
As text on black
6.48:1
- AA passes
- AA large passes
- AAA fails
- APCA Lc −42
-
As text on white
3.23:1
- AA fails
- AA large passes
- AAA fails
- APCA Lc +59
Nearest versions that pass 4.5:1
-
For text on white
#817700 4.59:1
Darkening its OKLCH lightness from 0.65 to 0.56 reaches 4.59:1 on white, keeping the hue.
-
For text on black
#9D9101 6.48:1
It already reaches 6.48:1 on black, so no change is needed.
Checking another pair? Use the Contrast Checker.
Studio
Adjust #9D9101 live
Move lightness, chroma and hue in OKLCH, or drag on the map. The map is every lightness and chroma at the current hue: sRGB inside the solid area, Display P3 out to the dashed line.
Scale
Shades and tints of #9D9101
Eleven OKLCH lightness steps at this hue, each with its contrast against white and black. #9D9101 sits at step 500.
Under each step, white and black text on it; a bold figure passes 4.5:1.
Gamut
How vivid #9D9101 can get
At its lightness and hue, sRGB reaches OKLCH chroma 0.136; #9D9101 uses 100% of it. Display P3, which many recent phones and laptops show, reaches 0.158 there: 16% more.
- sRGB
- Display P3
- Rec. 2020
- Dominant wavelength
- OKLCH chroma
- 0.136
- sRGB edge
- 0.136
- Display P3 edge
- 0.158
- Rec. 2020 edge
- 0.162
- Dominant wavelength
- 573 nm
- Excitation purity
- 80%
- Chromaticity
- x 0.4330, y 0.4940
- This color#9D9101
- Most vivid in sRGB#9D9100
- Most vivid in Display P3oklch(0.647 0.158 103.6)
On a screen without Display P3 the last tile shows the sRGB edge instead.
.accent {
color: #9d9101;
}
@media (color-gamut: p3) {
.accent { color: color(display-p3 0.6165 0.5699 0); }
}
Mixing
Mixing #9D9101
Each row is the same mix worked out in a different space, with the halfway color at its end. sRGB, which older CSS gradients use, can sag gray or dark in the middle; OKLab keeps the lightness steps even; OKLCH holds chroma and hue as it goes.
White #FFFFFF
- sRGB50%#CEC880
- OKLab50%#CCC895
- OKLCH50%#CCC895
Black #000000
- sRGB50%#4F4901
- OKLab50%#3A3500
- OKLCH50%#3A3500
Its complement #8581DE
- sRGB50%#918970
- OKLab50%#8E8E8E
- OKLCH50%#D46775
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #9d9101, white);
color: color-mix(in oklch, #9d9101 50%, white);
In use
#9D9101 in an interface
A button, a link, a heading, a focused field, an icon and a chart line in this color, on a light page and a dark one. Each check is a WCAG 2 contrast minimum: 1.4.3 for text, 1.4.11 for the rest.
Light page
- Button labelText, 4.5:16.48:1 Passes
- Link and body-size textText, 4.5:13.23:1 Fails
- Large headingLarge text, 3:13.23:1 Passes
- Icons, borders and focus ringsNon-text, 3:13.23:1 Passes
For text on this page, the nearest shade that passes is #817700 4.59:1
Dark page
- Button labelText, 4.5:16.48:1 Passes
- Link and body-size textText, 4.5:15.78:1 Passes
- Large headingLarge text, 3:15.78:1 Passes
- Icons, borders and focus ringsNon-text, 3:15.78:1 Passes
Color vision
How #9D9101 looks with color blindness
Tritanopia changes it most, ΔE2000 27.9; deuteranopia changes it least, 2.0.
Simulated with Machado et al. (2009) at full severity, in linear light.
Simulate a whole page What each type sees-
Protanopia
No working red (long-wavelength) cones
#A08C00 ΔE2000 2.6
Close match
Reads as soft amber
-
Deuteranopia
No working green (medium-wavelength) cones
#A39117 ΔE2000 2.0
Close match
Reads as soft amber
-
Tritanopia
No working blue (short-wavelength) cones
#AA867B ΔE2000 27.9
Distinct
Reads as grayish red
-
Achromatopsia
No cone color vision; lightness only
#8F8F8F ΔE2000 26.2
Distinct
Reads as gray
Pairing check
Checked against its complement, #8581DE. Their lightness contrast is only 1.04:1, so where hue collapses, add a label, icon or pattern.
| Vision | The pair | ΔE2000 | Verdict |
|---|---|---|---|
| Normal vision | #9D9101 · #8581DE | 61.1 | Stays distinct |
| Protanopia | #A08C00 · #608EE2 | 55.4 | Stays distinct |
| Deuteranopia | #A39117 · #5D88DC | 55.4 | Stays distinct |
| Tritanopia | #AA867B · #6B93A5 | 31.9 | Stays distinct |
| Achromatopsia | #8F8F8F · #8B8B8B | 1.4 | Easily confused |
Harmony
Color harmonies for #9D9101
Its complement is #8581DE, a soft blue, on the cool side of the wheel.
Hue rotations in OKLCH, mapped into sRGB by trimming chroma so hue and lightness stay put.
Open the Harmony Studio- Base#9D9101
- Complement#8581DE
Complementary
Open in Harmony Studio- −30°#BF7F05
- Base#9D9101
- +30°#6BA043
Analogous
Open in Harmony Studio- Base#9D9101
- +120°#009DC4
- +240°#C66AA3
Triadic
Open in Harmony Studio- Base#9D9101
- +150°#4D91DF
- +210°#AC73C8
Split-complementary
Open in Harmony StudioCode
Design tokens
Ready-to-paste tokens in six formats. Rename them to fit your system.
:root {
--color-ral-1027: #9d9101;
}
// tailwind.config.js
module.exports = {
theme: {
extend: {
colors: {
'ral-1027': '#9d9101',
},
},
},
};
/* app.css — Tailwind CSS v4 */
@import "tailwindcss";
@theme {
--color-ral-1027: oklch(0.647 0.136 103.6);
}
{
"color": {
"ral-1027": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [0.6157, 0.5686, 0.0039],
"hex": "#9d9101"
},
"$description": "RAL 1027 Curry (approximate sRGB)"
}
}
}
import SwiftUI
enum Palette {
static let ral1027 = Color(.sRGB, red: 0.616, green: 0.569, blue: 0.004, opacity: 1)
}
import androidx.compose.ui.graphics.Color
object Palette {
val Ral1027 = Color(0xFF9D9101)
}
Matches
The nearest match in each system
The closest CSS name, Tailwind shade, RAL Classic paint and Crayola crayon by ΔE2000; under 2 is hard to tell apart side by side. RAL and Crayola values approximate physical colors.
Tools
Open #9D9101 in the tools
Each opens over this page. More colors live in the Color Library, and every color page is listed on the hub.
- Color InspectorEvery format, its names, contrast and color vision in one panel.
- Contrast SystemBlack and white text on this color, with fixes in both directions.
- Harmony StudioPalettes built from this color, walked to a contrast target if you ask.
- Color Space ConverterThe same color in 34 notations, with its gamut headroom.
- Color Name FinderThe nearest of 1,055 color names by ΔE2000.