#A8B233#A8B233
#A8B233 is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.3% C 0.146 H 113.9°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).
Color values
| HEX | #A8B233 |
|---|---|
| RGB | rgb(168, 178, 51) |
| HSL | hsl(65, 55%, 45%) |
| HSV | hsv(65, 71%, 70%) |
| CMYK | cmyk(5.6%, 0%, 71.3%, 30.2%) |
| CIE-LAB | lab(69.76, -19.41, 60.07) |
| CIE-LCH | lch(69.76, 63.12, 107.91°) |
| OKLab | oklab(73.26% -0.0592 0.1335) |
| OKLCH | oklch(73.26% 0.146 113.9) |
| XYZ | xyz(32.6673, 40.4053, 9.2095) |
| Luminance | 0.4041 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.91
Puke Green
#9AAE07
ΔE00 3.25
Snot
#ACBB0D
ΔE00 3.68
Sick Green
#9DB92C
ΔE00 3.95
Booger
#9BB53C
ΔE00 3.97
Barf Green
#94AC02
ΔE00 4.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8B233 #3D33B2
analogous
#B27C33 #A8B233 #69B233
triadic
#A8B233 #33A8B2 #B233A8
tetradic
#A8B233 #33B27C #3D33B2 #B23369
square
#A8B233 #33B27C #3D33B2 #B23369
split-complementary
#A8B233 #3369B2 #7C33B2
monochromatic
#4E5318 #7B8225 #A8B233 #C4CE54 #D5DC84
Accessibility & contrast
On white
2.31
#A8B233 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.08
#A8B233 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8B233
9.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8B233 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8B233 | 1.00 | 2.31 | 9.08 | 9.08 |
| #FFFFFF | 2.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFA91C
Deuteranopia (green-blind)
#BFAC3D
Tritanopia (blue-blind)
#B3A799
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a8b233; /* rgb */ color: rgb(168, 178, 51); /* oklch */ color: oklch(73.3% 0.146 113.9);
Tailwind
colors: {
custom: {
50: '#c5c873',
500: '#a8b233',
950: '#000000',
},
}SCSS
$custom: #a8b233; $custom-light: #c5c873; $custom-dark: #000000;
JSON
{
"hex": "#a8b233",
"rgb": {
"r": 168,
"g": 178,
"b": 51
},
"hsl": {
"h": 64.724,
"s": 55.459,
"l": 44.902
},
"oklch": {
"l": 0.73263,
"c": 0.14604,
"h": 113.9
},
"luminance": 0.40405
}Semantic roles & 50–950 ramp
primary
#A8B233
secondary
#817CC5
accent
#49DF55
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B