#A5B239#A5B239
#A5B239 is a light, vivid yellow. Relative luminance 0.401; OKLCH L 73.1% C 0.143 H 115.3°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).
Color values
| HEX | #A5B239 |
|---|---|
| RGB | rgb(165, 178, 57) |
| HSL | hsl(66, 51%, 46%) |
| HSV | hsv(66, 68%, 70%) |
| CMYK | cmyk(7.3%, 0%, 68%, 30.2%) |
| CIE-LAB | lab(69.57, -20.35, 57.53) |
| CIE-LCH | lch(69.57, 61.02, 109.48°) |
| OKLab | oklab(73.07% -0.0611 0.1292) |
| OKLCH | oklch(73.07% 0.143 115.3) |
| XYZ | xyz(32.1768, 40.1360, 9.9221) |
| Luminance | 0.4014 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 3.00
Puke Green
#9AAE07
ΔE00 3.37
Sick Green
#9DB92C
ΔE00 3.43
Mustard Green
#A8B504
ΔE00 3.71
Sickly Green
#94B21C
ΔE00 3.84
Barf Green
#94AC02
ΔE00 4.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5B239 #4639B2
analogous
#B28239 #A5B239 #68B239
triadic
#A5B239 #39A5B2 #B239A5
tetradic
#A5B239 #39B282 #4639B2 #B23968
square
#A5B239 #39B282 #4639B2 #B23968
split-complementary
#A5B239 #3968B2 #8239B2
monochromatic
#4F551B #7A842A #A5B239 #BFCB5D #D2DA8B
Accessibility & contrast
On white
2.33
#A5B239 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.03
#A5B239 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5B239
9.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5B239 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5B239 | 1.00 | 2.33 | 9.03 | 9.03 |
| #FFFFFF | 2.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA927
Deuteranopia (green-blind)
#BEAB42
Tritanopia (blue-blind)
#AFA89A
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a5b239; /* rgb */ color: rgb(165, 178, 57); /* oklch */ color: oklch(73.1% 0.143 115.3);
Tailwind
colors: {
custom: {
50: '#c3c876',
500: '#a5b239',
950: '#000000',
},
}SCSS
$custom: #a5b239; $custom-light: #c3c876; $custom-dark: #000000;
JSON
{
"hex": "#a5b239",
"rgb": {
"r": 165,
"g": 178,
"b": 57
},
"hsl": {
"h": 66.446,
"s": 51.489,
"l": 46.078
},
"oklch": {
"l": 0.73065,
"c": 0.14295,
"h": 115.3
},
"luminance": 0.40136
}Semantic roles & 50–950 ramp
primary
#A5B239
secondary
#8982C4
accent
#4DDB5C
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B