#AF9933#AF9933
#AF9933 is a light, vivid yellow. Relative luminance 0.321; OKLCH L 68.4% C 0.121 H 96.7°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).
Color values
| HEX | #AF9933 |
|---|---|
| RGB | rgb(175, 153, 51) |
| HSL | hsl(49, 55%, 44%) |
| HSV | hsv(49, 71%, 69%) |
| CMYK | cmyk(0%, 12.6%, 70.9%, 31.4%) |
| CIE-LAB | lab(63.46, -3.31, 54.03) |
| CIE-LCH | lch(63.46, 54.13, 93.50°) |
| OKLab | oklab(68.39% -0.0142 0.1205) |
| OKLCH | oklch(68.39% 0.121 96.7) |
| XYZ | xyz(29.6694, 32.1370, 7.7716) |
| Luminance | 0.3214 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 3.42
Baby Shit Brown
#AD900D
ΔE00 3.92
Baby Poo
#AB9004
ΔE00 3.98
Dark Gold
#B59410
ΔE00 4.03
Yellow Brown
#B79400
ΔE00 4.77
Ocher
#BF9B0C
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF9933 #3349AF
analogous
#AF5B33 #AF9933 #87AF33
triadic
#AF9933 #33AF99 #9933AF
tetradic
#AF9933 #33AF5B #3349AF #AF3387
square
#AF9933 #33AF5B #3349AF #AF3387
split-complementary
#AF9933 #3387AF #5B33AF
monochromatic
#504617 #807025 #AF9933 #CDB752 #DBCB82
Accessibility & contrast
On white
2.83
#AF9933 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.43
#AF9933 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF9933
7.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF9933 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF9933 | 1.00 | 2.83 | 7.43 | 7.43 |
| #FFFFFF | 2.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A89624
Deuteranopia (green-blind)
#AE9D39
Tritanopia (blue-blind)
#BD8D84
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #af9933; /* rgb */ color: rgb(175, 153, 51); /* oklch */ color: oklch(68.4% 0.121 96.7);
Tailwind
colors: {
custom: {
50: '#cab671',
500: '#af9933',
950: '#000000',
},
}SCSS
$custom: #af9933; $custom-light: #cab671; $custom-dark: #000000;
JSON
{
"hex": "#af9933",
"rgb": {
"r": 175,
"g": 153,
"b": 51
},
"hsl": {
"h": 49.355,
"s": 54.867,
"l": 44.314
},
"oklch": {
"l": 0.68388,
"c": 0.12137,
"h": 96.7
},
"luminance": 0.32135
}Semantic roles & 50–950 ramp
primary
#AF9933
secondary
#7A87C4
accent
#64DE4A
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B