#AFB92B#AFB92B
#AFB92B is a light, vivid yellow. Relative luminance 0.440; OKLCH L 75.4% C 0.156 H 113.7°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB92B |
|---|---|
| RGB | rgb(175, 185, 43) |
| HSL | hsl(64, 62%, 45%) |
| HSV | hsv(64, 77%, 73%) |
| CMYK | cmyk(5.4%, 0%, 76.8%, 27.5%) |
| CIE-LAB | lab(72.22, -20.29, 65.28) |
| CIE-LCH | lch(72.22, 68.36, 107.27°) |
| OKLab | oklab(75.36% -0.0628 0.1429) |
| OKLCH | oklch(75.36% 0.156 113.7) |
| XYZ | xyz(35.4653, 43.9870, 8.9071) |
| Luminance | 0.4399 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 1.80
Mustard Green
#A8B504
ΔE00 2.03
Bile
#B5C306
ΔE00 3.38
Pea
#A4BF20
ΔE00 3.59
Baby Puke Green
#B6C406
ΔE00 3.60
Sick Green
#9DB92C
ΔE00 4.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB92B #352BB9
analogous
#B97C2B #AFB92B #68B92B
triadic
#AFB92B #2BAFB9 #B92BAF
tetradic
#AFB92B #2BB97C #352BB9 #B92B68
square
#AFB92B #2BB97C #352BB9 #B92B68
split-complementary
#AFB92B #2B68B9 #7C2BB9
monochromatic
#515614 #80871F #AFB92B #CCD54C #DAE17E
Accessibility & contrast
On white
2.14
#AFB92B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.80
#AFB92B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB92B
9.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB92B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB92B | 1.00 | 2.14 | 9.80 | 9.80 |
| #FFFFFF | 2.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B001
Deuteranopia (green-blind)
#C7B238
Tritanopia (blue-blind)
#BBAE9F
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #afb92b; /* rgb */ color: rgb(175, 185, 43); /* oklch */ color: oklch(75.4% 0.156 113.7);
Tailwind
colors: {
custom: {
50: '#cbcd70',
500: '#afb92b',
950: '#000000',
},
}SCSS
$custom: #afb92b; $custom-light: #cbcd70; $custom-dark: #000000;
JSON
{
"hex": "#afb92b",
"rgb": {
"r": 175,
"g": 185,
"b": 43
},
"hsl": {
"h": 64.225,
"s": 62.281,
"l": 44.706
},
"oklch": {
"l": 0.75357,
"c": 0.15607,
"h": 113.7
},
"luminance": 0.43986
}Semantic roles & 50–950 ramp
primary
#AFB92B
secondary
#7C76C9
accent
#42E54E
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141308
muted
#82827B