#AFBE30#AFBE30
#AFBE30 is a light, vivid yellow. Relative luminance 0.462; OKLCH L 76.5% C 0.159 H 115.6°. Best body text is #000000 at 10.23:1 contrast (WCAG AA passes).
Color values
| HEX | #AFBE30 |
|---|---|
| RGB | rgb(175, 190, 48) |
| HSL | hsl(66, 60%, 47%) |
| HSV | hsv(66, 75%, 75%) |
| CMYK | cmyk(7.9%, 0%, 74.7%, 25.5%) |
| CIE-LAB | lab(73.65, -22.55, 65.01) |
| CIE-LCH | lch(73.65, 68.81, 109.13°) |
| OKLab | oklab(76.51% -0.0686 0.1432) |
| OKLCH | oklch(76.51% 0.159 115.6) |
| XYZ | xyz(36.6272, 46.1549, 9.7750) |
| Luminance | 0.4615 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 1.99
Pea
#A4BF20
ΔE00 2.46
Bile
#B5C306
ΔE00 2.90
Mustard Green
#A8B504
ΔE00 3.04
Baby Puke Green
#B6C406
ΔE00 3.08
Gross Green
#A0BF16
ΔE00 3.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBE30 #3F30BE
analogous
#BE8630 #AFBE30 #68BE30
triadic
#AFBE30 #30AFBE #BE30AF
tetradic
#AFBE30 #30BE86 #3F30BE #BE3068
square
#AFBE30 #30BE86 #3F30BE #BE3068
split-complementary
#AFBE30 #3068BE #8630BE
monochromatic
#555C17 #828D24 #AFBE30 #C7D457 #D7E188
Accessibility & contrast
On white
2.05
#AFBE30 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.23
#AFBE30 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBE30
10.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBE30 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBE30 | 1.00 | 2.05 | 10.23 | 10.23 |
| #FFFFFF | 2.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CCB40F
Deuteranopia (green-blind)
#CAB63C
Tritanopia (blue-blind)
#BAB3A3
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #afbe30; /* rgb */ color: rgb(175, 190, 48); /* oklch */ color: oklch(76.5% 0.159 115.6);
Tailwind
colors: {
custom: {
50: '#cad173',
500: '#afbe30',
950: '#000000',
},
}SCSS
$custom: #afbe30; $custom-light: #cad173; $custom-dark: #000000;
JSON
{
"hex": "#afbe30",
"rgb": {
"r": 175,
"g": 190,
"b": 48
},
"hsl": {
"h": 66.338,
"s": 59.664,
"l": 46.667
},
"oklch": {
"l": 0.76509,
"c": 0.15877,
"h": 115.6
},
"luminance": 0.46154
}Semantic roles & 50–950 ramp
primary
#AFBE30
secondary
#877FCB
accent
#45E356
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141409
muted
#82827B