#AFBE3C#AFBE3C
#AFBE3C is a light, vivid yellow. Relative luminance 0.463; OKLCH L 76.6% C 0.151 H 115.8°. Best body text is #000000 at 10.25:1 contrast (WCAG AA passes).
Color values
| HEX | #AFBE3C |
|---|---|
| RGB | rgb(175, 190, 60) |
| HSL | hsl(67, 52%, 49%) |
| HSV | hsv(67, 68%, 75%) |
| CMYK | cmyk(7.9%, 0%, 68.4%, 25.5%) |
| CIE-LAB | lab(73.72, -21.94, 60.81) |
| CIE-LCH | lch(73.72, 64.65, 109.84°) |
| OKLab | oklab(76.59% -0.0658 0.1364) |
| OKLCH | oklch(76.59% 0.151 115.8) |
| XYZ | xyz(36.9092, 46.2677, 11.2603) |
| Luminance | 0.4627 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 2.86
Snot
#ACBB0D
ΔE00 3.06
Sick Green
#9DB92C
ΔE00 3.36
Gross Green
#A0BF16
ΔE00 3.62
Mustard Green
#A8B504
ΔE00 3.83
Bile
#B5C306
ΔE00 3.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBE3C #4B3CBE
analogous
#BE8C3C #AFBE3C #6EBE3C
triadic
#AFBE3C #3CAFBE #BE3CAF
tetradic
#AFBE3C #3CBE8C #4B3CBE #BE3C6E
square
#AFBE3C #3CBE8C #4B3CBE #BE3C6E
split-complementary
#AFBE3C #3C6EBE #8C3CBE
monochromatic
#59611F #848F2D #AFBE3C #C3CF68 #D6DE96
Accessibility & contrast
On white
2.05
#AFBE3C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.25
#AFBE3C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBE3C
10.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBE3C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBE3C | 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)
#CBB428
Deuteranopia (green-blind)
#CAB646
Tritanopia (blue-blind)
#BAB3A4
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #afbe3c; /* rgb */ color: rgb(175, 190, 60); /* oklch */ color: oklch(76.6% 0.151 115.8);
Tailwind
colors: {
custom: {
50: '#cad179',
500: '#afbe3c',
950: '#000000',
},
}SCSS
$custom: #afbe3c; $custom-light: #cad179; $custom-dark: #000000;
JSON
{
"hex": "#afbe3c",
"rgb": {
"r": 175,
"g": 190,
"b": 60
},
"hsl": {
"h": 66.923,
"s": 52,
"l": 49.02
},
"oklch": {
"l": 0.76591,
"c": 0.1514,
"h": 115.8
},
"luminance": 0.46267
}Semantic roles & 50–950 ramp
primary
#AFBE3C
secondary
#938CCA
accent
#4CDB5D
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C