#A8BF30#A8BF30
#A8BF30 is a light, vivid yellow. Relative luminance 0.458; OKLCH L 76.2% C 0.162 H 118.6°. Best body text is #000000 at 10.16:1 contrast (WCAG AA passes).
Color values
| HEX | #A8BF30 |
|---|---|
| RGB | rgb(168, 191, 48) |
| HSL | hsl(70, 60%, 47%) |
| HSV | hsv(70, 75%, 75%) |
| CMYK | cmyk(12%, 0%, 74.9%, 25.1%) |
| CIE-LAB | lab(73.42, -25.96, 64.61) |
| CIE-LCH | lch(73.42, 69.63, 111.89°) |
| OKLab | oklab(76.2% -0.0776 0.1426) |
| OKLCH | oklch(76.2% 0.162 118.6) |
| XYZ | xyz(35.3135, 45.8001, 9.7757) |
| Luminance | 0.4580 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 1.17
Gross Green
#A0BF16
ΔE00 1.89
Sick Green
#9DB92C
ΔE00 2.20
Bright Olive
#9CBB04
ΔE00 2.55
Snot Green
#9DC100
ΔE00 2.81
Snot
#ACBB0D
ΔE00 2.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8BF30 #4730BF
analogous
#BF8F30 #A8BF30 #61BF30
triadic
#A8BF30 #30A8BF #BF30A8
tetradic
#A8BF30 #30BF8F #4730BF #BF3061
square
#A8BF30 #30BF8F #4730BF #BF3061
split-complementary
#A8BF30 #3061BF #8F30BF
monochromatic
#525D17 #7D8E24 #A8BF30 #C1D557 #D3E188
Accessibility & contrast
On white
2.07
#A8BF30 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.16
#A8BF30 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8BF30
10.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8BF30 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8BF30 | 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)
#CCB40E
Deuteranopia (green-blind)
#C9B53D
Tritanopia (blue-blind)
#B2B4A4
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #a8bf30; /* rgb */ color: rgb(168, 191, 48); /* oklch */ color: oklch(76.2% 0.162 118.6);
Tailwind
colors: {
custom: {
50: '#c5d273',
500: '#a8bf30',
950: '#000000',
},
}SCSS
$custom: #a8bf30; $custom-light: #c5d273; $custom-dark: #000000;
JSON
{
"hex": "#a8bf30",
"rgb": {
"r": 168,
"g": 191,
"b": 48
},
"hsl": {
"h": 69.65,
"s": 59.833,
"l": 46.863
},
"oklch": {
"l": 0.76195,
"c": 0.16234,
"h": 118.6
},
"luminance": 0.458
}Semantic roles & 50–950 ramp
primary
#A8BF30
secondary
#8C80CB
accent
#45E35E
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131409
muted
#82827B