#AEB731#AEB731
#AEB731 is a light, vivid yellow. Relative luminance 0.431; OKLCH L 74.9% C 0.151 H 113.4°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).
Color values
| HEX | #AEB731 |
|---|---|
| RGB | rgb(174, 183, 49) |
| HSL | hsl(64, 58%, 45%) |
| HSV | hsv(64, 73%, 72%) |
| CMYK | cmyk(4.9%, 0%, 73.2%, 28.2%) |
| CIE-LAB | lab(71.61, -19.46, 62.73) |
| CIE-LCH | lch(71.61, 65.67, 107.23°) |
| OKLab | oklab(74.86% -0.0599 0.1386) |
| OKLCH | oklch(74.86% 0.151 113.4) |
| XYZ | xyz(34.9445, 43.0881, 9.3812) |
| Luminance | 0.4309 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.36
Snot
#ACBB0D
ΔE00 2.53
Pea
#A4BF20
ΔE00 3.99
Puke Green
#9AAE07
ΔE00 4.08
Sick Green
#9DB92C
ΔE00 4.13
Bile
#B5C306
ΔE00 4.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AEB731 #3A31B7
analogous
#B77D31 #AEB731 #6BB731
triadic
#AEB731 #31AEB7 #B731AE
tetradic
#AEB731 #31B77D #3A31B7 #B7316B
square
#AEB731 #31B77D #3A31B7 #B7316B
split-complementary
#AEB731 #316BB7 #7D31B7
monochromatic
#525617 #808724 #AEB731 #C9D154 #D8DE84
Accessibility & contrast
On white
2.18
#AEB731 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.62
#AEB731 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AEB731
9.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AEB731 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AEB731 | 1.00 | 2.18 | 9.62 | 9.62 |
| #FFFFFF | 2.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5AE16
Deuteranopia (green-blind)
#C5B13C
Tritanopia (blue-blind)
#BAAC9D
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #aeb731; /* rgb */ color: rgb(174, 183, 49); /* oklch */ color: oklch(74.9% 0.151 113.4);
Tailwind
colors: {
custom: {
50: '#cacc73',
500: '#aeb731',
950: '#000000',
},
}SCSS
$custom: #aeb731; $custom-light: #cacc73; $custom-dark: #000000;
JSON
{
"hex": "#aeb731",
"rgb": {
"r": 174,
"g": 183,
"b": 49
},
"hsl": {
"h": 64.03,
"s": 57.759,
"l": 45.49
},
"oklch": {
"l": 0.74863,
"c": 0.15095,
"h": 113.4
},
"luminance": 0.43087
}Semantic roles & 50–950 ramp
primary
#AEB731
secondary
#817CC8
accent
#47E151
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B