#AFBE3B#AFBE3B
#AFBE3B is a light, vivid yellow. Relative luminance 0.463; OKLCH L 76.6% C 0.152 H 115.7°. Best body text is #000000 at 10.25:1 contrast (WCAG AA passes).
Color values
| HEX | #AFBE3B |
|---|---|
| RGB | rgb(175, 190, 59) |
| HSL | hsl(67, 53%, 49%) |
| HSV | hsv(67, 69%, 75%) |
| CMYK | cmyk(7.9%, 0%, 68.9%, 25.5%) |
| CIE-LAB | lab(73.71, -21.99, 61.18) |
| CIE-LCH | lch(73.71, 65.02, 109.77°) |
| OKLab | oklab(76.58% -0.066 0.137) |
| OKLCH | oklch(76.58% 0.152 115.7) |
| XYZ | xyz(36.8830, 46.2572, 11.1224) |
| Luminance | 0.4626 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 2.80
Snot
#ACBB0D
ΔE00 2.96
Sick Green
#9DB92C
ΔE00 3.36
Gross Green
#A0BF16
ΔE00 3.58
Mustard Green
#A8B504
ΔE00 3.75
Bile
#B5C306
ΔE00 3.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBE3B #4A3BBE
analogous
#BE8C3B #AFBE3B #6EBE3B
triadic
#AFBE3B #3BAFBE #BE3BAF
tetradic
#AFBE3B #3BBE8C #4A3BBE #BE3B6E
square
#AFBE3B #3BBE8C #4A3BBE #BE3B6E
split-complementary
#AFBE3B #3B6EBE #8C3BBE
monochromatic
#59611E #848F2C #AFBE3B #C4D067 #D6DE95
Accessibility & contrast
On white
2.05
#AFBE3B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.25
#AFBE3B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBE3B
10.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBE3B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBE3B | 1.00 | 2.05 | 10.25 | 10.25 |
| #FFFFFF | 2.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CBB426
Deuteranopia (green-blind)
#CAB645
Tritanopia (blue-blind)
#BAB3A4
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #afbe3b; /* rgb */ color: rgb(175, 190, 59); /* oklch */ color: oklch(76.6% 0.152 115.7);
Tailwind
colors: {
custom: {
50: '#cad179',
500: '#afbe3b',
950: '#000000',
},
}SCSS
$custom: #afbe3b; $custom-light: #cad179; $custom-dark: #000000;
JSON
{
"hex": "#afbe3b",
"rgb": {
"r": 175,
"g": 190,
"b": 59
},
"hsl": {
"h": 66.87,
"s": 52.61,
"l": 48.824
},
"oklch": {
"l": 0.76583,
"c": 0.15207,
"h": 115.7
},
"luminance": 0.46257
}Semantic roles & 50–950 ramp
primary
#AFBE3B
secondary
#928BCA
accent
#4CDC5C
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C