#AFB63B#AFB63B
#AFB63B is a light, vivid yellow. Relative luminance 0.429; OKLCH L 74.8% C 0.143 H 112.6°. Best body text is #000000 at 9.58:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB63B |
|---|---|
| RGB | rgb(175, 182, 59) |
| HSL | hsl(63, 51%, 47%) |
| HSV | hsv(63, 68%, 71%) |
| CMYK | cmyk(3.8%, 0%, 67.6%, 28.6%) |
| CIE-LAB | lab(71.48, -18.00, 58.93) |
| CIE-LCH | lch(71.48, 61.62, 106.99°) |
| OKLab | oklab(74.79% -0.0549 0.1322) |
| OKLCH | oklch(74.79% 0.143 112.6) |
| XYZ | xyz(35.1976, 42.8864, 10.5606) |
| Luminance | 0.4289 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 3.33
Snot
#ACBB0D
ΔE00 3.58
Sick Green
#9DB92C
ΔE00 4.53
Puke Green
#9AAE07
ΔE00 4.59
Booger
#9BB53C
ΔE00 4.69
Pea
#A4BF20
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB63B #423BB6
analogous
#B6803B #AFB63B #71B63B
triadic
#AFB63B #3BAFB6 #B63BAF
tetradic
#AFB63B #3BB680 #423BB6 #B63B71
square
#AFB63B #3BB680 #423BB6 #B63B71
split-complementary
#AFB63B #3B71B6 #803BB6
monochromatic
#565A1D #83882C #AFB63B #C6CC62 #D7DB90
Accessibility & contrast
On white
2.19
#AFB63B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.58
#AFB63B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB63B
9.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB63B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB63B | 1.00 | 2.19 | 9.58 | 9.58 |
| #FFFFFF | 2.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3AE29
Deuteranopia (green-blind)
#C4B044
Tritanopia (blue-blind)
#BBAB9D
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #afb63b; /* rgb */ color: rgb(175, 182, 59); /* oklch */ color: oklch(74.8% 0.143 112.6);
Tailwind
colors: {
custom: {
50: '#cacb78',
500: '#afb63b',
950: '#000000',
},
}SCSS
$custom: #afb63b; $custom-light: #cacb78; $custom-dark: #000000;
JSON
{
"hex": "#afb63b",
"rgb": {
"r": 175,
"g": 182,
"b": 59
},
"hsl": {
"h": 63.415,
"s": 51.037,
"l": 47.255
},
"oklch": {
"l": 0.74793,
"c": 0.14319,
"h": 112.6
},
"luminance": 0.42886
}Semantic roles & 50–950 ramp
primary
#AFB63B
secondary
#8A87C6
accent
#4DDB55
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#141309
muted
#82827B