#A7B233#A7B233
#A7B233 is a light, vivid yellow. Relative luminance 0.403; OKLCH L 73.2% C 0.146 H 114.4°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).
Color values
| HEX | #A7B233 |
|---|---|
| RGB | rgb(167, 178, 51) |
| HSL | hsl(65, 55%, 45%) |
| HSV | hsv(65, 71%, 70%) |
| CMYK | cmyk(6.2%, 0%, 71.3%, 30.2%) |
| CIE-LAB | lab(69.68, -19.83, 59.96) |
| CIE-LCH | lch(69.68, 63.16, 108.30°) |
| OKLab | oklab(73.18% -0.0603 0.1333) |
| OKLCH | oklch(73.18% 0.146 114.4) |
| XYZ | xyz(32.4552, 40.2959, 9.1995) |
| Luminance | 0.4029 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.95
Puke Green
#9AAE07
ΔE00 3.12
Snot
#ACBB0D
ΔE00 3.71
Booger
#9BB53C
ΔE00 3.74
Sick Green
#9DB92C
ΔE00 3.74
Barf Green
#94AC02
ΔE00 4.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7B233 #3E33B2
analogous
#B27E33 #A7B233 #67B233
triadic
#A7B233 #33A7B2 #B233A7
tetradic
#A7B233 #33B27E #3E33B2 #B23367
square
#A7B233 #33B27E #3E33B2 #B23367
split-complementary
#A7B233 #3367B2 #7E33B2
monochromatic
#4E5318 #7A8225 #A7B233 #C3CE54 #D4DC84
Accessibility & contrast
On white
2.32
#A7B233 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.06
#A7B233 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7B233
9.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7B233 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7B233 | 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)
#BFA91C
Deuteranopia (green-blind)
#BEAB3D
Tritanopia (blue-blind)
#B2A799
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a7b233; /* rgb */ color: rgb(167, 178, 51); /* oklch */ color: oklch(73.2% 0.146 114.4);
Tailwind
colors: {
custom: {
50: '#c4c873',
500: '#a7b233',
950: '#000000',
},
}SCSS
$custom: #a7b233; $custom-light: #c4c873; $custom-dark: #000000;
JSON
{
"hex": "#a7b233",
"rgb": {
"r": 167,
"g": 178,
"b": 51
},
"hsl": {
"h": 65.197,
"s": 55.459,
"l": 44.902
},
"oklch": {
"l": 0.73181,
"c": 0.14633,
"h": 114.4
},
"luminance": 0.40295
}Semantic roles & 50–950 ramp
primary
#A7B233
secondary
#827CC5
accent
#49DF56
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B