#AFBD2B#AFBD2B
#AFBD2B is a light, vivid yellow. Relative luminance 0.457; OKLCH L 76.3% C 0.160 H 115.2°. Best body text is #000000 at 10.14:1 contrast (WCAG AA passes).
Color values
| HEX | #AFBD2B |
|---|---|
| RGB | rgb(175, 189, 43) |
| HSL | hsl(66, 63%, 45%) |
| HSV | hsv(66, 77%, 74%) |
| CMYK | cmyk(7.4%, 0%, 77.2%, 25.9%) |
| CIE-LAB | lab(73.34, -22.27, 66.30) |
| CIE-LCH | lch(73.34, 69.95, 108.57°) |
| OKLab | oklab(76.26% -0.0682 0.1451) |
| OKLCH | oklch(76.26% 0.16 115.2) |
| XYZ | xyz(36.3139, 45.6842, 9.1900) |
| Luminance | 0.4568 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 1.55
Mustard Green
#A8B504
ΔE00 2.60
Pea
#A4BF20
ΔE00 2.63
Bile
#B5C306
ΔE00 2.66
Baby Puke Green
#B6C406
ΔE00 2.87
Gross Green
#A0BF16
ΔE00 3.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBD2B #392BBD
analogous
#BD822B #AFBD2B #66BD2B
triadic
#AFBD2B #2BAFBD #BD2BAF
tetradic
#AFBD2B #2BBD82 #392BBD #BD2B66
square
#AFBD2B #2BBD82 #392BBD #BD2B66
split-complementary
#AFBD2B #2B66BD #822BBD
monochromatic
#535914 #818B20 #AFBD2B #CAD74E #D9E280
Accessibility & contrast
On white
2.07
#AFBD2B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.14
#AFBD2B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBD2B
10.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBD2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBD2B | 1.00 | 2.07 | 10.14 | 10.14 |
| #FFFFFF | 2.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CBB300
Deuteranopia (green-blind)
#CAB538
Tritanopia (blue-blind)
#BBB2A2
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #afbd2b; /* rgb */ color: rgb(175, 189, 43); /* oklch */ color: oklch(76.3% 0.160 115.2);
Tailwind
colors: {
custom: {
50: '#cbd071',
500: '#afbd2b',
950: '#000000',
},
}SCSS
$custom: #afbd2b; $custom-light: #cbd071; $custom-dark: #000000;
JSON
{
"hex": "#afbd2b",
"rgb": {
"r": 175,
"g": 189,
"b": 43
},
"hsl": {
"h": 65.753,
"s": 62.931,
"l": 45.49
},
"oklch": {
"l": 0.76255,
"c": 0.16032,
"h": 115.2
},
"luminance": 0.45684
}Semantic roles & 50–950 ramp
primary
#AFBD2B
secondary
#8179CB
accent
#42E652
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141408
muted
#82827B