#AFBD3B#AFBD3B
#AFBD3B is a light, vivid yellow. Relative luminance 0.458; OKLCH L 76.4% C 0.151 H 115.4°. Best body text is #000000 at 10.16:1 contrast (WCAG AA passes).
Color values
| HEX | #AFBD3B |
|---|---|
| RGB | rgb(175, 189, 59) |
| HSL | hsl(66, 52%, 49%) |
| HSV | hsv(66, 69%, 74%) |
| CMYK | cmyk(7.4%, 0%, 68.8%, 25.9%) |
| CIE-LAB | lab(73.43, -21.50, 60.90) |
| CIE-LCH | lch(73.43, 64.59, 109.44°) |
| OKLab | oklab(76.36% -0.0647 0.1364) |
| OKLCH | oklch(76.36% 0.151 115.4) |
| XYZ | xyz(36.6671, 45.8255, 11.0504) |
| Luminance | 0.4582 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.92
Pea
#A4BF20
ΔE00 2.98
Sick Green
#9DB92C
ΔE00 3.42
Mustard Green
#A8B504
ΔE00 3.60
Gross Green
#A0BF16
ΔE00 3.75
Bile
#B5C306
ΔE00 3.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBD3B #493BBD
analogous
#BD8A3B #AFBD3B #6EBD3B
triadic
#AFBD3B #3BAFBD #BD3BAF
tetradic
#AFBD3B #3BBD8A #493BBD #BD3B6E
square
#AFBD3B #3BBD8A #493BBD #BD3B6E
split-complementary
#AFBD3B #3B6EBD #8A3BBD
monochromatic
#59601E #848E2C #AFBD3B #C4CF66 #D6DE95
Accessibility & contrast
On white
2.07
#AFBD3B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.16
#AFBD3B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBD3B
10.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBD3B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBD3B | 1.00 | 2.07 | 10.16 | 10.16 |
| #FFFFFF | 2.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CAB327
Deuteranopia (green-blind)
#C9B545
Tritanopia (blue-blind)
#BAB2A3
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #afbd3b; /* rgb */ color: rgb(175, 189, 59); /* oklch */ color: oklch(76.4% 0.151 115.4);
Tailwind
colors: {
custom: {
50: '#cad079',
500: '#afbd3b',
950: '#000000',
},
}SCSS
$custom: #afbd3b; $custom-light: #cad079; $custom-dark: #000000;
JSON
{
"hex": "#afbd3b",
"rgb": {
"r": 175,
"g": 189,
"b": 59
},
"hsl": {
"h": 66.462,
"s": 52.419,
"l": 48.627
},
"oklch": {
"l": 0.76358,
"c": 0.15095,
"h": 115.4
},
"luminance": 0.45825
}Semantic roles & 50–950 ramp
primary
#AFBD3B
secondary
#918BC9
accent
#4CDC5B
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#141409
muted
#82827B