#AFBF2D#AFBF2D
#AFBF2D is a light, vivid yellow. Relative luminance 0.466; OKLCH L 76.7% C 0.161 H 115.9°. Best body text is #000000 at 10.31:1 contrast (WCAG AA passes).
Color values
| HEX | #AFBF2D |
|---|---|
| RGB | rgb(175, 191, 45) |
| HSL | hsl(67, 62%, 46%) |
| HSV | hsv(67, 76%, 75%) |
| CMYK | cmyk(8.4%, 0%, 76.4%, 25.1%) |
| CIE-LAB | lab(73.91, -23.17, 66.21) |
| CIE-LCH | lch(73.91, 70.15, 109.29°) |
| OKLab | oklab(76.72% -0.0706 0.1452) |
| OKLCH | oklch(76.72% 0.161 115.9) |
| XYZ | xyz(36.7847, 46.5656, 9.5324) |
| Luminance | 0.4657 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 1.89
Pea
#A4BF20
ΔE00 2.26
Bile
#B5C306
ΔE00 2.61
Baby Puke Green
#B6C406
ΔE00 2.78
Gross Green
#A0BF16
ΔE00 3.03
Mustard Green
#A8B504
ΔE00 3.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBF2D #3D2DBF
analogous
#BF862D #AFBF2D #66BF2D
triadic
#AFBF2D #2DAFBF #BF2DAF
tetradic
#AFBF2D #2DBF86 #3D2DBF #BF2D66
square
#AFBF2D #2DBF86 #3D2DBF #BF2D66
split-complementary
#AFBF2D #2D66BF #862DBF
monochromatic
#545C16 #828D21 #AFBF2D #C8D653 #D8E284
Accessibility & contrast
On white
2.04
#AFBF2D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.31
#AFBF2D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBF2D
10.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBF2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBF2D | 1.00 | 2.04 | 10.31 | 10.31 |
| #FFFFFF | 2.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDB503
Deuteranopia (green-blind)
#CBB73A
Tritanopia (blue-blind)
#BAB4A4
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #afbf2d; /* rgb */ color: rgb(175, 191, 45); /* oklch */ color: oklch(76.7% 0.161 115.9);
Tailwind
colors: {
custom: {
50: '#cbd272',
500: '#afbf2d',
950: '#000000',
},
}SCSS
$custom: #afbf2d; $custom-light: #cbd272; $custom-dark: #000000;
JSON
{
"hex": "#afbf2d",
"rgb": {
"r": 175,
"g": 191,
"b": 45
},
"hsl": {
"h": 66.575,
"s": 61.864,
"l": 46.275
},
"oklch": {
"l": 0.76717,
"c": 0.16146,
"h": 115.9
},
"luminance": 0.46565
}Semantic roles & 50–950 ramp
primary
#AFBF2D
secondary
#857CCB
accent
#43E555
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141409
muted
#82827B