#AFB23E#AFB23E
#AFB23E is a light, vivid yellow. Relative luminance 0.413; OKLCH L 73.9% C 0.137 H 110.7°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB23E |
|---|---|
| RGB | rgb(175, 178, 62) |
| HSL | hsl(62, 48%, 47%) |
| HSV | hsv(62, 65%, 70%) |
| CMYK | cmyk(1.7%, 0%, 65.2%, 30.2%) |
| CIE-LAB | lab(70.39, -15.80, 56.61) |
| CIE-LCH | lch(70.39, 58.78, 105.59°) |
| OKLab | oklab(73.93% -0.0484 0.1278) |
| OKLCH | oklch(73.93% 0.137 110.7) |
| XYZ | xyz(34.4701, 41.3034, 10.7131) |
| Luminance | 0.4130 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 4.14
Vomit
#A2A415
ΔE00 4.72
Snot
#ACBB0D
ΔE00 4.74
Puke
#A5A502
ΔE00 4.98
Puke Green
#9AAE07
ΔE00 5.01
Booger
#9BB53C
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB23E #413EB2
analogous
#B27B3E #AFB23E #75B23E
triadic
#AFB23E #3EAFB2 #B23EAF
tetradic
#AFB23E #3EB27B #413EB2 #B23E75
square
#AFB23E #3EB27B #413EB2 #B23E75
split-complementary
#AFB23E #3E75B2 #7B3EB2
monochromatic
#56571E #82852E #AFB23E #C6C964 #D7D992
Accessibility & contrast
On white
2.27
#AFB23E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.26
#AFB23E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB23E
9.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB23E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB23E | 1.00 | 2.27 | 9.26 | 9.26 |
| #FFFFFF | 2.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFAA2E
Deuteranopia (green-blind)
#C0AE46
Tritanopia (blue-blind)
#BBA79A
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #afb23e; /* rgb */ color: rgb(175, 178, 62); /* oklch */ color: oklch(73.9% 0.137 110.7);
Tailwind
colors: {
custom: {
50: '#cac879',
500: '#afb23e',
950: '#000000',
},
}SCSS
$custom: #afb23e; $custom-light: #cac879; $custom-dark: #000000;
JSON
{
"hex": "#afb23e",
"rgb": {
"r": 175,
"g": 178,
"b": 62
},
"hsl": {
"h": 61.552,
"s": 48.333,
"l": 47.059
},
"oklch": {
"l": 0.73928,
"c": 0.13669,
"h": 110.7
},
"luminance": 0.41303
}Semantic roles & 50–950 ramp
primary
#AFB23E
secondary
#8988C4
accent
#50D853
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#141309
muted
#82827B