#C9AF30#C9AF30
#C9AF30 is a light, vivid yellow. Relative luminance 0.433; OKLCH L 75.5% C 0.141 H 97.0°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).
Color values
| HEX | #C9AF30 |
|---|---|
| RGB | rgb(201, 175, 48) |
| HSL | hsl(50, 61%, 49%) |
| HSV | hsv(50, 76%, 79%) |
| CMYK | cmyk(0%, 12.9%, 76.1%, 21.2%) |
| CIE-LAB | lab(71.75, -3.70, 64.02) |
| CIE-LCH | lch(71.75, 64.13, 93.31°) |
| OKLab | oklab(75.53% -0.0172 0.1401) |
| OKLCH | oklch(75.53% 0.141 97) |
| XYZ | xyz(39.9530, 43.2930, 9.0477) |
| Luminance | 0.4329 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Yellow
#C9B003
ΔE00 2.46
Mustard (survey)
#CEB301
ΔE00 2.89
Muddy Yellow
#BFAC05
ΔE00 3.10
Dark Yellow
#D5B60A
ΔE00 3.55
Mustard
#DBB42C
ΔE00 4.05
Gold (survey)
#DBB40C
ΔE00 4.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C9AF30 #304AC9
analogous
#C96330 #C9AF30 #97C930
triadic
#C9AF30 #30C9AF #AF30C9
tetradic
#C9AF30 #30C963 #304AC9 #C93097
square
#C9AF30 #30C963 #304AC9 #C93097
split-complementary
#C9AF30 #3097C9 #6330C9
monochromatic
#665918 #988424 #C9AF30 #D8C45E #E4D68F
Accessibility & contrast
On white
2.17
#C9AF30 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.66
#C9AF30 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C9AF30
9.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C9AF30 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C9AF30 | 1.00 | 2.17 | 9.66 | 9.66 |
| #FFFFFF | 2.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AB16
Deuteranopia (green-blind)
#C8B338
Tritanopia (blue-blind)
#D9A197
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #c9af30; /* rgb */ color: rgb(201, 175, 48); /* oklch */ color: oklch(75.5% 0.141 97.0);
Tailwind
colors: {
custom: {
50: '#dec672',
500: '#c9af30',
950: '#000000',
},
}SCSS
$custom: #c9af30; $custom-light: #dec672; $custom-dark: #000000;
JSON
{
"hex": "#c9af30",
"rgb": {
"r": 201,
"g": 175,
"b": 48
},
"hsl": {
"h": 49.804,
"s": 61.446,
"l": 48.824
},
"oklch": {
"l": 0.75528,
"c": 0.14116,
"h": 97
},
"luminance": 0.43291
}Semantic roles & 50–950 ramp
primary
#C9AF30
secondary
#8692CF
accent
#5FE543
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161208
muted
#84817B