RAL Classic color
RAL 1020 Olive yellow #999950
RAL 1020 Olive yellow is shown here as #999950, a widely published sRGB approximation of the printed swatch. It is a light muted yellow in the yellow family. In OKLCH it sits at lightness 0.667, chroma 0.096 and hue 108.7°. The nearest CSS named color is darkkhaki (#BDB76B), ΔE2000 9.4 away.
- Relative luminance
- 0.3013
- OKLCH L · C · h
- 0.667 · 0.096 · 108.7
- Best text
- Black 7.02:1
- Hue family
- Yellow
#999950 color codes
- HEX
#999950- RGB
rgb(153, 153, 80)- HSL
hsl(60, 31%, 46%)- OKLCH
oklch(0.667 0.096 108.7)- OKLab
oklab(0.667 -0.031 0.091)- CIELAB (D65)
L* 61.77, a* -10.74, b* 38.10- XYZ (D65)
X 25.98, Y 30.13, Z 12.04- CMYK (naive)
cmyk(0%, 0%, 48%, 40%)
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 #999950 accessible?
Black text on it reaches 7.02:1, passing AAA. White text fails at 2.98:1.
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
7.02:1
- AA passes
- AA large passes
- AAA passes
- APCA Lc +47
-
White text on it
2.98:1
- AA fails
- AA large fails
- AAA fails
- APCA Lc −61
-
As text on black
7.02:1
- AA passes
- AA large passes
- AAA passes
- APCA Lc −45
-
As text on white
2.98:1
- AA fails
- AA large fails
- AAA fails
- APCA Lc +56
Nearest versions that pass 4.5:1
-
For text on white
#7A7930 4.56:1
Darkening its OKLCH lightness from 0.67 to 0.56 reaches 4.56:1 on white, keeping the hue.
-
For text on black
#999950 7.02:1
It already reaches 7.02:1 on black, so no change is needed.
Checking another pair? Use the Contrast Checker.
Studio
Adjust #999950 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 #999950
Eleven OKLCH lightness steps at this hue, each with its contrast against white and black. #999950 sits at step 400.
Under each step, white and black text on it; a bold figure passes 4.5:1.
Gamut
How vivid #999950 can get
At its lightness and hue, sRGB reaches OKLCH chroma 0.144; #999950 uses 66% of it. Display P3, which many recent phones and laptops show, reaches 0.168 there: 16% more.
- sRGB
- Display P3
- Rec. 2020
- Dominant wavelength
- OKLCH chroma
- 0.096
- sRGB edge
- 0.144
- Display P3 edge
- 0.168
- Rec. 2020 edge
- 0.172
- Dominant wavelength
- 570 nm
- Excitation purity
- 51%
- Chromaticity
- x 0.3812, y 0.4422
- This color#999950
- Most vivid in sRGB#9C9A00
- Most vivid in Display P3oklch(0.667 0.168 108.7)
On a screen without Display P3 the last tile shows the sRGB edge instead.
.accent {
color: #999950;
}
@media (color-gamut: p3) {
.accent { color: color(display-p3 0.6176 0.6061 0); }
}
Mixing
Mixing #999950
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%#CCCCA8
- OKLab50%#CACBA8
- OKLCH50%#CACBA8
Black #000000
- sRGB50%#4D4D28
- OKLab50%#38381A
- OKLCH50%#38381A
Its complement #928ACC
- sRGB50%#96928E
- OKLab50%#949494
- OKLCH50%#C87B7D
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #999950, white);
color: color-mix(in oklch, #999950 50%, white);
In use
#999950 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:17.02:1 Passes
- Link and body-size textText, 4.5:12.98:1 Fails
- Large headingLarge text, 3:12.98:1 Fails
- Icons, borders and focus ringsNon-text, 3:12.98:1 Fails
For text on this page, the nearest shade that passes is #7A7930 4.56:1
Dark page
- Button labelText, 4.5:17.02:1 Passes
- Link and body-size textText, 4.5:16.26:1 Passes
- Large headingLarge text, 3:16.26:1 Passes
- Icons, borders and focus ringsNon-text, 3:16.26:1 Passes
Color vision
How #999950 looks with color blindness
Achromatopsia changes it most, ΔE2000 21.2; deuteranopia changes it least, 4.2.
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
#A3944A ΔE2000 4.8
Close match
Reads as light muted amber
-
Deuteranopia
No working green (medium-wavelength) cones
#A49754 ΔE2000 4.2
Close match
Reads as light muted amber
-
Tritanopia
No working blue (short-wavelength) cones
#A29188 ΔE2000 21.0
Distinct
Reads as light grayish orange
-
Achromatopsia
No cone color vision; lightness only
#959595 ΔE2000 21.2
Distinct
Reads as gray
Pairing check
Checked against its complement, #928ACC. 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 | #999950 · #928ACC | 50.1 | Stays distinct |
| Protanopia | #A3944A · #7893CF | 45.1 | Stays distinct |
| Deuteranopia | #A49754 · #7890CA | 43.7 | Stays distinct |
| Tritanopia | #A29188 · #8596A2 | 17.0 | Stays distinct |
| Achromatopsia | #959595 · #929292 | 1.0 | Easily confused |
Harmony
Color harmonies for #999950
Its complement is #928ACC, a light muted violet, 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#999950
- Complement#928ACC
Complementary
Open in Harmony Studio- −30°#B48D4C
- Base#999950
- +30°#76A369
Analogous
Open in Harmony Studio- Base#999950
- +120°#4D9FC3
- +240°#C07C9E
Triadic
Open in Harmony Studio- Base#999950
- +150°#7095CF
- +210°#AE81BA
Split-complementary
Open in Harmony StudioCode
Design tokens
Ready-to-paste tokens in six formats. Rename them to fit your system.
:root {
--color-ral-1020: #999950;
}
// tailwind.config.js
module.exports = {
theme: {
extend: {
colors: {
'ral-1020': '#999950',
},
},
},
};
/* app.css — Tailwind CSS v4 */
@import "tailwindcss";
@theme {
--color-ral-1020: oklch(0.667 0.096 108.7);
}
{
"color": {
"ral-1020": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [0.6, 0.6, 0.3137],
"hex": "#999950"
},
"$description": "RAL 1020 Olive yellow (approximate sRGB)"
}
}
}
import SwiftUI
enum Palette {
static let ral1020 = Color(.sRGB, red: 0.600, green: 0.600, blue: 0.314, opacity: 1)
}
import androidx.compose.ui.graphics.Color
object Palette {
val Ral1020 = Color(0xFF999950)
}
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 #999950 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.