#AFB935#AFB935
#AFB935 is a light, vivid yellow. Relative luminance 0.441; OKLCH L 75.4% C 0.150 H 113.8°. Best body text is #000000 at 9.81:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB935 |
|---|---|
| RGB | rgb(175, 185, 53) |
| HSL | hsl(65, 55%, 47%) |
| HSV | hsv(65, 71%, 73%) |
| CMYK | cmyk(5.4%, 0%, 71.4%, 27.5%) |
| CIE-LAB | lab(72.28, -19.83, 61.98) |
| CIE-LCH | lch(72.28, 65.08, 107.75°) |
| OKLab | oklab(75.42% -0.0606 0.1377) |
| OKLCH | oklch(75.42% 0.15 113.8) |
| XYZ | xyz(35.6718, 44.0696, 9.9946) |
| Luminance | 0.4407 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.56
Mustard Green
#A8B504
ΔE00 2.73
Pea
#A4BF20
ΔE00 3.70
Sick Green
#9DB92C
ΔE00 3.94
Bile
#B5C306
ΔE00 3.99
Baby Puke Green
#B6C406
ΔE00 4.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB935 #3F35B9
analogous
#B98135 #AFB935 #6DB935
triadic
#AFB935 #35AFB9 #B935AF
tetradic
#AFB935 #35B981 #3F35B9 #B9356D
square
#AFB935 #35B981 #3F35B9 #B9356D
split-complementary
#AFB935 #356DB9 #8135B9
monochromatic
#555A1A #828927 #AFB935 #C7D05B #D7DE8B
Accessibility & contrast
On white
2.14
#AFB935 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.81
#AFB935 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB935
9.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB935 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB935 | 1.00 | 2.14 | 9.81 | 9.81 |
| #FFFFFF | 2.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B01D
Deuteranopia (green-blind)
#C6B33F
Tritanopia (blue-blind)
#BBAE9F
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #afb935; /* rgb */ color: rgb(175, 185, 53); /* oklch */ color: oklch(75.4% 0.150 113.8);
Tailwind
colors: {
custom: {
50: '#cacd75',
500: '#afb935',
950: '#000000',
},
}SCSS
$custom: #afb935; $custom-light: #cacd75; $custom-dark: #000000;
JSON
{
"hex": "#afb935",
"rgb": {
"r": 175,
"g": 185,
"b": 53
},
"hsl": {
"h": 64.545,
"s": 55.462,
"l": 46.667
},
"oklch": {
"l": 0.75418,
"c": 0.15041,
"h": 113.8
},
"luminance": 0.44069
}Semantic roles & 50–950 ramp
primary
#AFB935
secondary
#8782C8
accent
#49DF54
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141309
muted
#82827B