#A7B239#A7B239
#A7B239 is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.2% C 0.142 H 114.4°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).
Color values
| HEX | #A7B239 |
|---|---|
| RGB | rgb(167, 178, 57) |
| HSL | hsl(65, 51%, 46%) |
| HSV | hsv(65, 68%, 70%) |
| CMYK | cmyk(6.2%, 0%, 68%, 30.2%) |
| CIE-LAB | lab(69.72, -19.50, 57.73) |
| CIE-LCH | lch(69.72, 60.94, 108.66°) |
| OKLab | oklab(73.23% -0.0588 0.1296) |
| OKLCH | oklch(73.23% 0.142 114.4) |
| XYZ | xyz(32.5961, 40.3523, 9.9417) |
| Luminance | 0.4035 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 3.48
Puke Green
#9AAE07
ΔE00 3.53
Mustard Green
#A8B504
ΔE00 3.56
Sick Green
#9DB92C
ΔE00 3.79
Snot
#ACBB0D
ΔE00 4.20
Sickly Green
#94B21C
ΔE00 4.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7B239 #4439B2
analogous
#B28039 #A7B239 #6AB239
triadic
#A7B239 #39A7B2 #B239A7
tetradic
#A7B239 #39B280 #4439B2 #B2396A
square
#A7B239 #39B280 #4439B2 #B2396A
split-complementary
#A7B239 #396AB2 #8039B2
monochromatic
#50551B #7C842A #A7B239 #C1CB5D #D3DA8B
Accessibility & contrast
On white
2.32
#A7B239 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.07
#A7B239 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7B239
9.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7B239 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7B239 | 1.00 | 2.32 | 9.07 | 9.07 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFA927
Deuteranopia (green-blind)
#BEAB42
Tritanopia (blue-blind)
#B2A89A
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a7b239; /* rgb */ color: rgb(167, 178, 57); /* oklch */ color: oklch(73.2% 0.142 114.4);
Tailwind
colors: {
custom: {
50: '#c4c876',
500: '#a7b239',
950: '#000000',
},
}SCSS
$custom: #a7b239; $custom-light: #c4c876; $custom-dark: #000000;
JSON
{
"hex": "#a7b239",
"rgb": {
"r": 167,
"g": 178,
"b": 57
},
"hsl": {
"h": 65.455,
"s": 51.489,
"l": 46.078
},
"oklch": {
"l": 0.73226,
"c": 0.14234,
"h": 114.4
},
"luminance": 0.40352
}Semantic roles & 50–950 ramp
primary
#A7B239
secondary
#8882C4
accent
#4DDB5A
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B