#AFBE33#AFBE33
#AFBE33 is a light, vivid yellow. Relative luminance 0.462; OKLCH L 76.5% C 0.157 H 115.6°. Best body text is #000000 at 10.24:1 contrast (WCAG AA passes).
Color values
| HEX | #AFBE33 |
|---|---|
| RGB | rgb(175, 190, 51) |
| HSL | hsl(66, 58%, 47%) |
| HSV | hsv(66, 73%, 75%) |
| CMYK | cmyk(7.9%, 0%, 73.2%, 25.5%) |
| CIE-LAB | lab(73.66, -22.41, 64.02) |
| CIE-LCH | lch(73.66, 67.83, 109.29°) |
| OKLab | oklab(76.53% -0.0679 0.1416) |
| OKLCH | oklch(76.53% 0.157 115.6) |
| XYZ | xyz(36.6912, 46.1805, 10.1122) |
| Luminance | 0.4618 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.23
Pea
#A4BF20
ΔE00 2.51
Bile
#B5C306
ΔE00 3.13
Mustard Green
#A8B504
ΔE00 3.20
Gross Green
#A0BF16
ΔE00 3.29
Baby Puke Green
#B6C406
ΔE00 3.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBE33 #4233BE
analogous
#BE8833 #AFBE33 #69BE33
triadic
#AFBE33 #33AFBE #BE33AF
tetradic
#AFBE33 #33BE88 #4233BE #BE3369
square
#AFBE33 #33BE88 #4233BE #BE3369
split-complementary
#AFBE33 #3369BE #8833BE
monochromatic
#565E19 #838E26 #AFBE33 #C6D35B #D7E08B
Accessibility & contrast
On white
2.05
#AFBE33 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.24
#AFBE33 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBE33
10.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBE33 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBE33 | 1.00 | 2.05 | 10.24 | 10.24 |
| #FFFFFF | 2.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CBB417
Deuteranopia (green-blind)
#CAB63F
Tritanopia (blue-blind)
#BAB3A3
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #afbe33; /* rgb */ color: rgb(175, 190, 51); /* oklch */ color: oklch(76.5% 0.157 115.6);
Tailwind
colors: {
custom: {
50: '#cad175',
500: '#afbe33',
950: '#000000',
},
}SCSS
$custom: #afbe33; $custom-light: #cad175; $custom-dark: #000000;
JSON
{
"hex": "#afbe33",
"rgb": {
"r": 175,
"g": 190,
"b": 51
},
"hsl": {
"h": 66.475,
"s": 57.676,
"l": 47.255
},
"oklch": {
"l": 0.76527,
"c": 0.15708,
"h": 115.6
},
"luminance": 0.4618
}Semantic roles & 50–950 ramp
primary
#AFBE33
secondary
#8A83CA
accent
#47E158
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141409
muted
#82827B