#AFB53B#AFB53B
#AFB53B is a light, vivid yellow. Relative luminance 0.425; OKLCH L 74.6% C 0.142 H 112.1°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB53B |
|---|---|
| RGB | rgb(175, 181, 59) |
| HSL | hsl(63, 51%, 47%) |
| HSV | hsv(63, 67%, 71%) |
| CMYK | cmyk(3.3%, 0%, 67.4%, 29%) |
| CIE-LAB | lab(71.20, -17.50, 58.65) |
| CIE-LCH | lch(71.20, 61.21, 106.61°) |
| OKLab | oklab(74.57% -0.0535 0.1317) |
| OKLCH | oklch(74.57% 0.142 112.1) |
| XYZ | xyz(34.9935, 42.4783, 10.4926) |
| Luminance | 0.4248 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 3.42
Snot
#ACBB0D
ΔE00 3.78
Puke Green
#9AAE07
ΔE00 4.61
Sick Green
#9DB92C
ΔE00 4.77
Booger
#9BB53C
ΔE00 4.85
Pea
#A4BF20
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB53B #413BB5
analogous
#B57E3B #AFB53B #72B53B
triadic
#AFB53B #3BAFB5 #B53BAF
tetradic
#AFB53B #3BB57E #413BB5 #B53B72
square
#AFB53B #3BB57E #413BB5 #B53B72
split-complementary
#AFB53B #3B72B5 #7E3BB5
monochromatic
#56591D #82872C #AFB53B #C6CC62 #D7DB90
Accessibility & contrast
On white
2.21
#AFB53B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.50
#AFB53B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB53B
9.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB53B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB53B | 1.00 | 2.21 | 9.50 | 9.50 |
| #FFFFFF | 2.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3AD29
Deuteranopia (green-blind)
#C3B044
Tritanopia (blue-blind)
#BBAA9C
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #afb53b; /* rgb */ color: rgb(175, 181, 59); /* oklch */ color: oklch(74.6% 0.142 112.1);
Tailwind
colors: {
custom: {
50: '#cacb78',
500: '#afb53b',
950: '#000000',
},
}SCSS
$custom: #afb53b; $custom-light: #cacb78; $custom-dark: #000000;
JSON
{
"hex": "#afb53b",
"rgb": {
"r": 175,
"g": 181,
"b": 59
},
"hsl": {
"h": 62.951,
"s": 50.833,
"l": 47.059
},
"oklch": {
"l": 0.7457,
"c": 0.14211,
"h": 112.1
},
"luminance": 0.42477
}Semantic roles & 50–950 ramp
primary
#AFB53B
secondary
#8986C6
accent
#4DDA54
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#141309
muted
#82827B