#AFBC3A#AFBC3A
#AFBC3A is a light, vivid yellow. Relative luminance 0.454; OKLCH L 76.1% C 0.150 H 115.0°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).
Color values
| HEX | #AFBC3A |
|---|---|
| RGB | rgb(175, 188, 58) |
| HSL | hsl(66, 53%, 48%) |
| HSV | hsv(66, 69%, 74%) |
| CMYK | cmyk(6.9%, 0%, 69.1%, 26.3%) |
| CIE-LAB | lab(73.15, -21.06, 60.99) |
| CIE-LCH | lch(73.15, 64.53, 109.05°) |
| OKLab | oklab(76.13% -0.0635 0.1364) |
| OKLCH | oklch(76.13% 0.151 115) |
| XYZ | xyz(36.4271, 45.3865, 10.8437) |
| Luminance | 0.4539 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.82
Pea
#A4BF20
ΔE00 3.14
Mustard Green
#A8B504
ΔE00 3.39
Sick Green
#9DB92C
ΔE00 3.50
Gross Green
#A0BF16
ΔE00 3.90
Bile
#B5C306
ΔE00 3.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBC3A #473ABC
analogous
#BC883A #AFBC3A #6EBC3A
triadic
#AFBC3A #3AAFBC #BC3AAF
tetradic
#AFBC3A #3ABC88 #473ABC #BC3A6E
square
#AFBC3A #3ABC88 #473ABC #BC3A6E
split-complementary
#AFBC3A #3A6EBC #883ABC
monochromatic
#585E1D #838D2C #AFBC3A #C4CF64 #D6DE93
Accessibility & contrast
On white
2.08
#AFBC3A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.08
#AFBC3A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBC3A
10.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBC3A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBC3A | 1.00 | 2.08 | 10.08 | 10.08 |
| #FFFFFF | 2.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C9B325
Deuteranopia (green-blind)
#C8B544
Tritanopia (blue-blind)
#BAB1A2
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #afbc3a; /* rgb */ color: rgb(175, 188, 58); /* oklch */ color: oklch(76.1% 0.150 115.0);
Tailwind
colors: {
custom: {
50: '#cad078',
500: '#afbc3a',
950: '#000000',
},
}SCSS
$custom: #afbc3a; $custom-light: #cad078; $custom-dark: #000000;
JSON
{
"hex": "#afbc3a",
"rgb": {
"r": 175,
"g": 188,
"b": 58
},
"hsl": {
"h": 66,
"s": 52.846,
"l": 48.235
},
"oklch": {
"l": 0.76127,
"c": 0.1505,
"h": 115
},
"luminance": 0.45386
}Semantic roles & 50–950 ramp
primary
#AFBC3A
secondary
#8F89C9
accent
#4CDC5A
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#141309
muted
#82827B