#A7B231#A7B231
#A7B231 is a light, vivid yellow. Relative luminance 0.403; OKLCH L 73.2% C 0.148 H 114.3°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).
Color values
| HEX | #A7B231 |
|---|---|
| RGB | rgb(167, 178, 49) |
| HSL | hsl(65, 57%, 45%) |
| HSV | hsv(65, 72%, 70%) |
| CMYK | cmyk(6.2%, 0%, 72.5%, 30.2%) |
| CIE-LAB | lab(69.67, -19.93, 60.67) |
| CIE-LCH | lch(69.67, 63.86, 108.19°) |
| OKLab | oklab(73.17% -0.0608 0.1345) |
| OKLCH | oklch(73.17% 0.148 114.3) |
| XYZ | xyz(32.4120, 40.2786, 8.9723) |
| Luminance | 0.4028 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.77
Puke Green
#9AAE07
ΔE00 3.01
Snot
#ACBB0D
ΔE00 3.57
Sick Green
#9DB92C
ΔE00 3.74
Booger
#9BB53C
ΔE00 3.83
Barf Green
#94AC02
ΔE00 3.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7B231 #3C31B2
analogous
#B27C31 #A7B231 #67B231
triadic
#A7B231 #31A7B2 #B231A7
tetradic
#A7B231 #31B27C #3C31B2 #B23167
square
#A7B231 #31B27C #3C31B2 #B23167
split-complementary
#A7B231 #3167B2 #7C31B2
monochromatic
#4D5217 #7A8224 #A7B231 #C4CF51 #D5DC81
Accessibility & contrast
On white
2.32
#A7B231 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.06
#A7B231 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7B231
9.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7B231 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7B231 | 1.00 | 2.32 | 9.06 | 9.06 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFA918
Deuteranopia (green-blind)
#BFAB3B
Tritanopia (blue-blind)
#B2A799
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a7b231; /* rgb */ color: rgb(167, 178, 49); /* oklch */ color: oklch(73.2% 0.148 114.3);
Tailwind
colors: {
custom: {
50: '#c4c872',
500: '#a7b231',
950: '#000000',
},
}SCSS
$custom: #a7b231; $custom-light: #c4c872; $custom-dark: #000000;
JSON
{
"hex": "#a7b231",
"rgb": {
"r": 167,
"g": 178,
"b": 49
},
"hsl": {
"h": 65.116,
"s": 56.828,
"l": 44.51
},
"oklch": {
"l": 0.73168,
"c": 0.14757,
"h": 114.3
},
"luminance": 0.40278
}Semantic roles & 50–950 ramp
primary
#A7B231
secondary
#8079C5
accent
#48E055
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B