#A8BF2F#A8BF2F
#A8BF2F is a light, vivid yellow. Relative luminance 0.458; OKLCH L 76.2% C 0.163 H 118.6°. Best body text is #000000 at 10.16:1 contrast (WCAG AA passes).
Color values
| HEX | #A8BF2F |
|---|---|
| RGB | rgb(168, 191, 47) |
| HSL | hsl(70, 61%, 47%) |
| HSV | hsv(70, 75%, 75%) |
| CMYK | cmyk(12%, 0%, 75.4%, 25.1%) |
| CIE-LAB | lab(73.41, -26.01, 64.93) |
| CIE-LCH | lch(73.41, 69.95, 111.83°) |
| OKLab | oklab(76.19% -0.0778 0.1431) |
| OKLCH | oklch(76.19% 0.163 118.6) |
| XYZ | xyz(35.2931, 45.7920, 9.6683) |
| Luminance | 0.4579 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 1.11
Gross Green
#A0BF16
ΔE00 1.85
Sick Green
#9DB92C
ΔE00 2.23
Bright Olive
#9CBB04
ΔE00 2.50
Snot Green
#9DC100
ΔE00 2.76
Snot
#ACBB0D
ΔE00 2.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8BF2F #462FBF
analogous
#BF8E2F #A8BF2F #60BF2F
triadic
#A8BF2F #2FA8BF #BF2FA8
tetradic
#A8BF2F #2FBF8E #462FBF #BF2F60
square
#A8BF2F #2FBF8E #462FBF #BF2F60
split-complementary
#A8BF2F #2F60BF #8E2FBF
monochromatic
#525D17 #7D8E23 #A8BF2F #C1D556 #D3E187
Accessibility & contrast
On white
2.07
#A8BF2F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.16
#A8BF2F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8BF2F
10.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8BF2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8BF2F | 1.00 | 2.07 | 10.16 | 10.16 |
| #FFFFFF | 2.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CCB40B
Deuteranopia (green-blind)
#C9B53C
Tritanopia (blue-blind)
#B2B4A4
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #a8bf2f; /* rgb */ color: rgb(168, 191, 47); /* oklch */ color: oklch(76.2% 0.163 118.6);
Tailwind
colors: {
custom: {
50: '#c5d273',
500: '#a8bf2f',
950: '#000000',
},
}SCSS
$custom: #a8bf2f; $custom-light: #c5d273; $custom-dark: #000000;
JSON
{
"hex": "#a8bf2f",
"rgb": {
"r": 168,
"g": 191,
"b": 47
},
"hsl": {
"h": 69.583,
"s": 60.504,
"l": 46.667
},
"oklch": {
"l": 0.76189,
"c": 0.16289,
"h": 118.6
},
"luminance": 0.45792
}Semantic roles & 50–950 ramp
primary
#A8BF2F
secondary
#8B7FCB
accent
#44E45E
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131409
muted
#82827B