#AFB62A#AFB62A
#AFB62A is a light, vivid yellow. Relative luminance 0.427; OKLCH L 74.7% C 0.153 H 112.5°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB62A |
|---|---|
| RGB | rgb(175, 182, 42) |
| HSL | hsl(63, 63%, 44%) |
| HSV | hsv(63, 77%, 71%) |
| CMYK | cmyk(3.8%, 0%, 76.9%, 28.6%) |
| CIE-LAB | lab(71.38, -18.84, 64.82) |
| CIE-LCH | lch(71.38, 67.50, 106.20°) |
| OKLab | oklab(74.68% -0.0588 0.1417) |
| OKLCH | oklch(74.68% 0.153 112.5) |
| XYZ | xyz(34.8262, 42.7379, 8.6047) |
| Luminance | 0.4274 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.01
Snot
#ACBB0D
ΔE00 2.41
Bile
#B5C306
ΔE00 4.06
Puke Green
#9AAE07
ΔE00 4.13
Baby Puke Green
#B6C406
ΔE00 4.29
Pea
#A4BF20
ΔE00 4.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB62A #312AB6
analogous
#B6772A #AFB62A #69B62A
triadic
#AFB62A #2AAFB6 #B62AAF
tetradic
#AFB62A #2AB677 #312AB6 #B62A69
square
#AFB62A #2AB677 #312AB6 #B62A69
split-complementary
#AFB62A #2A69B6 #772AB6
monochromatic
#4F5313 #7F841F #AFB62A #CED548 #DBE07A
Accessibility & contrast
On white
2.20
#AFB62A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.55
#AFB62A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB62A
9.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB62A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB62A | 1.00 | 2.20 | 9.55 | 9.55 |
| #FFFFFF | 2.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4AD01
Deuteranopia (green-blind)
#C4B036
Tritanopia (blue-blind)
#BBAB9C
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #afb62a; /* rgb */ color: rgb(175, 182, 42); /* oklch */ color: oklch(74.7% 0.153 112.5);
Tailwind
colors: {
custom: {
50: '#cbcb70',
500: '#afb62a',
950: '#000000',
},
}SCSS
$custom: #afb62a; $custom-light: #cbcb70; $custom-dark: #000000;
JSON
{
"hex": "#afb62a",
"rgb": {
"r": 175,
"g": 182,
"b": 42
},
"hsl": {
"h": 63,
"s": 62.5,
"l": 43.922
},
"oklch": {
"l": 0.74679,
"c": 0.15345,
"h": 112.5
},
"luminance": 0.42737
}Semantic roles & 50–950 ramp
primary
#AFB62A
secondary
#7873C8
accent
#42E64A
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B