#A9B227#A9B227
#A9B227 is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.3% C 0.152 H 113.4°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).
Color values
| HEX | #A9B227 |
|---|---|
| RGB | rgb(169, 178, 39) |
| HSL | hsl(64, 64%, 43%) |
| HSV | hsv(64, 78%, 70%) |
| CMYK | cmyk(5.1%, 0%, 78.1%, 30.2%) |
| CIE-LAB | lab(69.77, -19.52, 64.11) |
| CIE-LCH | lch(69.77, 67.01, 106.94°) |
| OKLab | oklab(73.27% -0.0606 0.1399) |
| OKLCH | oklch(73.27% 0.152 113.4) |
| XYZ | xyz(32.6498, 40.4230, 8.0016) |
| Luminance | 0.4042 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.94
Snot
#ACBB0D
ΔE00 2.99
Puke Green
#9AAE07
ΔE00 3.01
Barf Green
#94AC02
ΔE00 4.11
Vomit
#A2A415
ΔE00 4.13
Puke
#A5A502
ΔE00 4.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A9B227 #3027B2
analogous
#B27627 #A9B227 #63B227
triadic
#A9B227 #27A9B2 #B227A9
tetradic
#A9B227 #27B276 #3027B2 #B22763
square
#A9B227 #27B276 #3027B2 #B22763
split-complementary
#A9B227 #2763B2 #7627B2
monochromatic
#4A4E11 #79801C #A9B227 #CCD541 #D9E073
Accessibility & contrast
On white
2.31
#A9B227 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.08
#A9B227 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A9B227
9.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A9B227 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A9B227 | 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)
#C0A900
Deuteranopia (green-blind)
#C0AC34
Tritanopia (blue-blind)
#B5A798
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a9b227; /* rgb */ color: rgb(169, 178, 39); /* oklch */ color: oklch(73.3% 0.152 113.4);
Tailwind
colors: {
custom: {
50: '#c6c86e',
500: '#a9b227',
950: '#000000',
},
}SCSS
$custom: #a9b227; $custom-light: #c6c86e; $custom-dark: #000000;
JSON
{
"hex": "#a9b227",
"rgb": {
"r": 169,
"g": 178,
"b": 39
},
"hsl": {
"h": 63.885,
"s": 64.055,
"l": 42.549
},
"oklch": {
"l": 0.73271,
"c": 0.15247,
"h": 113.4
},
"luminance": 0.40422
}Semantic roles & 50–950 ramp
primary
#A9B227
secondary
#736DC8
accent
#41E74C
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B