#AF9B30#AF9B30
#AF9B30 is a light, vivid yellow. Relative luminance 0.328; OKLCH L 68.8% C 0.125 H 98.3°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).
Color values
| HEX | #AF9B30 |
|---|---|
| RGB | rgb(175, 155, 48) |
| HSL | hsl(51, 57%, 44%) |
| HSV | hsv(51, 73%, 69%) |
| CMYK | cmyk(0%, 11.4%, 72.6%, 31.4%) |
| CIE-LAB | lab(63.98, -4.53, 55.74) |
| CIE-LCH | lch(63.98, 55.93, 94.65°) |
| OKLab | oklab(68.79% -0.0181 0.1236) |
| OKLCH | oklch(68.79% 0.125 98.3) |
| XYZ | xyz(29.9355, 32.7715, 7.5445) |
| Luminance | 0.3277 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 3.37
Baby Poo
#AB9004
ΔE00 4.29
Baby Shit Brown
#AD900D
ΔE00 4.35
Dark Gold
#B59410
ΔE00 4.43
Yellow Brown
#B79400
ΔE00 5.11
Ocher
#BF9B0C
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF9B30 #3044AF
analogous
#AF5B30 #AF9B30 #83AF30
triadic
#AF9B30 #30AF9B #9B30AF
tetradic
#AF9B30 #30AF5B #3044AF #AF3083
square
#AF9B30 #30AF5B #3044AF #AF3083
split-complementary
#AF9B30 #3083AF #5B30AF
monochromatic
#4F4616 #7F7023 #AF9B30 #CEBA4E #DCCD7E
Accessibility & contrast
On white
2.78
#AF9B30 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.55
#AF9B30 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF9B30
7.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF9B30 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF9B30 | 1.00 | 2.78 | 7.55 | 7.55 |
| #FFFFFF | 2.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AA971F
Deuteranopia (green-blind)
#B09E37
Tritanopia (blue-blind)
#BD8F86
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #af9b30; /* rgb */ color: rgb(175, 155, 48); /* oklch */ color: oklch(68.8% 0.125 98.3);
Tailwind
colors: {
custom: {
50: '#cab86f',
500: '#af9b30',
950: '#000000',
},
}SCSS
$custom: #af9b30; $custom-light: #cab86f; $custom-dark: #000000;
JSON
{
"hex": "#af9b30",
"rgb": {
"r": 175,
"g": 155,
"b": 48
},
"hsl": {
"h": 50.551,
"s": 56.951,
"l": 43.725
},
"oklch": {
"l": 0.68792,
"c": 0.12491,
"h": 98.3
},
"luminance": 0.3277
}Semantic roles & 50–950 ramp
primary
#AF9B30
secondary
#7683C4
accent
#60E048
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B