#ABA238#ABA238
#ABA238 is a light, vivid yellow. Relative luminance 0.348; OKLCH L 70.0% C 0.125 H 104.5°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).
Color values
| HEX | #ABA238 |
|---|---|
| RGB | rgb(171, 162, 56) |
| HSL | hsl(55, 51%, 45%) |
| HSV | hsv(55, 67%, 67%) |
| CMYK | cmyk(0%, 5.3%, 67.3%, 32.9%) |
| CIE-LAB | lab(65.58, -9.59, 54.02) |
| CIE-LCH | lch(65.58, 54.86, 100.07°) |
| OKLab | oklab(70% -0.0313 0.1215) |
| OKLCH | oklch(70% 0.125 104.5) |
| XYZ | xyz(30.4299, 34.7853, 8.8519) |
| Luminance | 0.3478 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 3.97
Puke
#A5A502
ΔE00 4.29
Pea Soup
#929901
ΔE00 6.18
Muddy Yellow
#BFAC05
ΔE00 6.23
Khaki (survey)
#AAA662
ΔE00 6.33
Brown Yellow
#B29705
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABA238 #3841AB
analogous
#AB6838 #ABA238 #7BAB38
triadic
#ABA238 #38ABA2 #A238AB
tetradic
#ABA238 #38AB68 #3841AB #AB387B
square
#ABA238 #38AB68 #3841AB #AB387B
split-complementary
#ABA238 #387BAB #6838AB
monochromatic
#4F4B1A #7D7629 #ABA238 #C8BF58 #D7D186
Accessibility & contrast
On white
2.64
#ABA238 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.96
#ABA238 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABA238
7.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABA238 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABA238 | 1.00 | 2.64 | 7.96 | 7.96 |
| #FFFFFF | 2.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09C29
Deuteranopia (green-blind)
#B3A23F
Tritanopia (blue-blind)
#B8978C
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #aba238; /* rgb */ color: rgb(171, 162, 56); /* oklch */ color: oklch(70.0% 0.125 104.5);
Tailwind
colors: {
custom: {
50: '#c7bd74',
500: '#aba238',
950: '#000000',
},
}SCSS
$custom: #aba238; $custom-light: #c7bd74; $custom-dark: #000000;
JSON
{
"hex": "#aba238",
"rgb": {
"r": 171,
"g": 162,
"b": 56
},
"hsl": {
"h": 55.304,
"s": 50.661,
"l": 44.51
},
"oklch": {
"l": 0.69999,
"c": 0.12547,
"h": 104.5
},
"luminance": 0.34784
}Semantic roles & 50–950 ramp
primary
#ABA238
secondary
#7D83C1
accent
#59DA4E
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131209
muted
#82817B