#AFB62E#AFB62E
#AFB62E is a light, vivid yellow. Relative luminance 0.428; OKLCH L 74.7% C 0.151 H 112.5°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB62E |
|---|---|
| RGB | rgb(175, 182, 46) |
| HSL | hsl(63, 60%, 45%) |
| HSV | hsv(63, 75%, 71%) |
| CMYK | cmyk(3.8%, 0%, 74.7%, 28.6%) |
| CIE-LAB | lab(71.40, -18.67, 63.56) |
| CIE-LCH | lch(71.40, 66.25, 106.37°) |
| OKLab | oklab(74.7% -0.058 0.1398) |
| OKLCH | oklch(74.7% 0.151 112.5) |
| XYZ | xyz(34.9014, 42.7679, 9.0008) |
| Luminance | 0.4277 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.25
Snot
#ACBB0D
ΔE00 2.62
Puke Green
#9AAE07
ΔE00 4.18
Bile
#B5C306
ΔE00 4.24
Pea
#A4BF20
ΔE00 4.45
Baby Puke Green
#B6C406
ΔE00 4.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB62E #352EB6
analogous
#B6792E #AFB62E #6BB62E
triadic
#AFB62E #2EAFB6 #B62EAF
tetradic
#AFB62E #2EB679 #352EB6 #B62E6B
square
#AFB62E #2EB679 #352EB6 #B62E6B
split-complementary
#AFB62E #2E6BB6 #792EB6
monochromatic
#515415 #808522 #AFB62E #CCD24F #DADF80
Accessibility & contrast
On white
2.20
#AFB62E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.55
#AFB62E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB62E
9.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB62E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB62E | 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)
#C4AD0E
Deuteranopia (green-blind)
#C4B039
Tritanopia (blue-blind)
#BBAB9C
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #afb62e; /* rgb */ color: rgb(175, 182, 46); /* oklch */ color: oklch(74.7% 0.151 112.5);
Tailwind
colors: {
custom: {
50: '#cacb71',
500: '#afb62e',
950: '#000000',
},
}SCSS
$custom: #afb62e; $custom-light: #cacb71; $custom-dark: #000000;
JSON
{
"hex": "#afb62e",
"rgb": {
"r": 175,
"g": 182,
"b": 46
},
"hsl": {
"h": 63.088,
"s": 59.649,
"l": 44.706
},
"oklch": {
"l": 0.74702,
"c": 0.15133,
"h": 112.5
},
"luminance": 0.42767
}Semantic roles & 50–950 ramp
primary
#AFB62E
secondary
#7C78C8
accent
#45E34D
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B