#AFBD34#AFBD34
#AFBD34 is a light, vivid yellow. Relative luminance 0.458; OKLCH L 76.3% C 0.155 H 115.3°. Best body text is #000000 at 10.15:1 contrast (WCAG AA passes).
Color values
| HEX | #AFBD34 |
|---|---|
| RGB | rgb(175, 189, 52) |
| HSL | hsl(66, 57%, 47%) |
| HSV | hsv(66, 72%, 74%) |
| CMYK | cmyk(7.4%, 0%, 72.5%, 25.9%) |
| CIE-LAB | lab(73.39, -21.87, 63.41) |
| CIE-LCH | lch(73.39, 67.08, 109.03°) |
| OKLab | oklab(76.31% -0.0664 0.1405) |
| OKLCH | oklch(76.31% 0.155 115.3) |
| XYZ | xyz(36.4976, 45.7577, 10.1576) |
| Luminance | 0.4576 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.26
Pea
#A4BF20
ΔE00 2.72
Mustard Green
#A8B504
ΔE00 3.09
Bile
#B5C306
ΔE00 3.30
Sick Green
#9DB92C
ΔE00 3.48
Baby Puke Green
#B6C406
ΔE00 3.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBD34 #4234BD
analogous
#BD8634 #AFBD34 #6BBD34
triadic
#AFBD34 #34AFBD #BD34AF
tetradic
#AFBD34 #34BD86 #4234BD #BD346B
square
#AFBD34 #34BD86 #4234BD #BD346B
split-complementary
#AFBD34 #346BBD #8634BD
monochromatic
#565D1A #838D27 #AFBD34 #C6D25C #D7DF8C
Accessibility & contrast
On white
2.07
#AFBD34 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.15
#AFBD34 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBD34
10.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBD34 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBD34 | 1.00 | 2.07 | 10.15 | 10.15 |
| #FFFFFF | 2.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CAB319
Deuteranopia (green-blind)
#CAB53F
Tritanopia (blue-blind)
#BAB2A3
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #afbd34; /* rgb */ color: rgb(175, 189, 52); /* oklch */ color: oklch(76.3% 0.155 115.3);
Tailwind
colors: {
custom: {
50: '#cad075',
500: '#afbd34',
950: '#000000',
},
}SCSS
$custom: #afbd34; $custom-light: #cad075; $custom-dark: #000000;
JSON
{
"hex": "#afbd34",
"rgb": {
"r": 175,
"g": 189,
"b": 52
},
"hsl": {
"h": 66.131,
"s": 56.846,
"l": 47.255
},
"oklch": {
"l": 0.76309,
"c": 0.15538,
"h": 115.3
},
"luminance": 0.45757
}Semantic roles & 50–950 ramp
primary
#AFBD34
secondary
#8A83CA
accent
#48E057
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141409
muted
#82827B