#AFB23B#AFB23B
#AFB23B is a light, vivid yellow. Relative luminance 0.413; OKLCH L 73.9% C 0.139 H 110.8°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB23B |
|---|---|
| RGB | rgb(175, 178, 59) |
| HSL | hsl(62, 50%, 46%) |
| HSV | hsv(62, 67%, 70%) |
| CMYK | cmyk(1.7%, 0%, 66.9%, 30.2%) |
| CIE-LAB | lab(70.37, -15.98, 57.80) |
| CIE-LCH | lch(70.37, 59.97, 105.45°) |
| OKLab | oklab(73.9% -0.0492 0.1299) |
| OKLCH | oklch(73.9% 0.139 110.8) |
| XYZ | xyz(34.3901, 41.2714, 10.2914) |
| Luminance | 0.4127 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 3.86
Snot
#ACBB0D
ΔE00 4.50
Vomit
#A2A415
ΔE00 4.55
Puke
#A5A502
ΔE00 4.76
Puke Green
#9AAE07
ΔE00 4.84
Booger
#9BB53C
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB23B #3E3BB2
analogous
#B27A3B #AFB23B #74B23B
triadic
#AFB23B #3BAFB2 #B23BAF
tetradic
#AFB23B #3BB27A #3E3BB2 #B23B74
square
#AFB23B #3BB27A #3E3BB2 #B23B74
split-complementary
#AFB23B #3B74B2 #7A3BB2
monochromatic
#55561D #82842C #AFB23B #C8CA60 #D8DA8E
Accessibility & contrast
On white
2.27
#AFB23B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.25
#AFB23B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB23B
9.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB23B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB23B | 1.00 | 2.27 | 9.25 | 9.25 |
| #FFFFFF | 2.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AA2A
Deuteranopia (green-blind)
#C1AE43
Tritanopia (blue-blind)
#BBA79A
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #afb23b; /* rgb */ color: rgb(175, 178, 59); /* oklch */ color: oklch(73.9% 0.139 110.8);
Tailwind
colors: {
custom: {
50: '#cac878',
500: '#afb23b',
950: '#000000',
},
}SCSS
$custom: #afb23b; $custom-light: #cac878; $custom-dark: #000000;
JSON
{
"hex": "#afb23b",
"rgb": {
"r": 175,
"g": 178,
"b": 59
},
"hsl": {
"h": 61.513,
"s": 50.211,
"l": 46.471
},
"oklch": {
"l": 0.73903,
"c": 0.13888,
"h": 110.8
},
"luminance": 0.41271
}Semantic roles & 50–950 ramp
primary
#AFB23B
secondary
#8685C4
accent
#4EDA52
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#141309
muted
#82827B