#A7B23E#A7B23E
#A7B23E is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.3% C 0.139 H 114.5°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).
Color values
| HEX | #A7B23E |
|---|---|
| RGB | rgb(167, 178, 62) |
| HSL | hsl(66, 48%, 47%) |
| HSV | hsv(66, 65%, 70%) |
| CMYK | cmyk(6.2%, 0%, 65.2%, 30.2%) |
| CIE-LAB | lab(69.76, -19.19, 55.76) |
| CIE-LCH | lch(69.76, 58.97, 108.99°) |
| OKLab | oklab(73.27% -0.0575 0.1262) |
| OKLCH | oklch(73.27% 0.139 114.5) |
| XYZ | xyz(32.7271, 40.4046, 10.6313) |
| Luminance | 0.4040 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 3.34
Sick Green
#9DB92C
ΔE00 3.94
Puke Green
#9AAE07
ΔE00 3.95
Mustard Green
#A8B504
ΔE00 4.11
Sickly Green
#94B21C
ΔE00 4.44
Barf Green
#94AC02
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7B23E #493EB2
analogous
#B2833E #A7B23E #6DB23E
triadic
#A7B23E #3EA7B2 #B23EA7
tetradic
#A7B23E #3EB283 #493EB2 #B23E6D
square
#A7B23E #3EB283 #493EB2 #B23E6D
split-complementary
#A7B23E #3E6DB2 #833EB2
monochromatic
#52571E #7C852E #A7B23E #BFC964 #D2D992
Accessibility & contrast
On white
2.31
#A7B23E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.08
#A7B23E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7B23E
9.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7B23E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7B23E | 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)
#BEA92E
Deuteranopia (green-blind)
#BEAC46
Tritanopia (blue-blind)
#B1A89A
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a7b23e; /* rgb */ color: rgb(167, 178, 62); /* oklch */ color: oklch(73.3% 0.139 114.5);
Tailwind
colors: {
custom: {
50: '#c4c879',
500: '#a7b23e',
950: '#000000',
},
}SCSS
$custom: #a7b23e; $custom-light: #c4c879; $custom-dark: #000000;
JSON
{
"hex": "#a7b23e",
"rgb": {
"r": 167,
"g": 178,
"b": 62
},
"hsl": {
"h": 65.69,
"s": 48.333,
"l": 47.059
},
"oklch": {
"l": 0.73268,
"c": 0.13871,
"h": 114.5
},
"luminance": 0.40404
}Semantic roles & 50–950 ramp
primary
#A7B23E
secondary
#8D88C4
accent
#50D85D
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#131309
muted
#82827B