#ACC238#ACC238
#ACC238 is a light, vivid yellow. Relative luminance 0.476; OKLCH L 77.2% C 0.160 H 118.2°. Best body text is #000000 at 10.53:1 contrast (WCAG AA passes).
Color values
| HEX | #ACC238 |
|---|---|
| RGB | rgb(172, 194, 56) |
| HSL | hsl(70, 55%, 49%) |
| HSV | hsv(70, 71%, 76%) |
| CMYK | cmyk(11.3%, 0%, 71.1%, 23.9%) |
| CIE-LAB | lab(74.60, -25.36, 63.09) |
| CIE-LCH | lch(74.60, 68.00, 111.90°) |
| OKLab | oklab(77.23% -0.0755 0.1406) |
| OKLCH | oklch(77.23% 0.16 118.2) |
| XYZ | xyz(37.0196, 47.6401, 10.9859) |
| Luminance | 0.4764 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 1.91
Gross Green
#A0BF16
ΔE00 2.58
Sick Green
#9DB92C
ΔE00 2.99
Snot Green
#9DC100
ΔE00 3.34
Bright Olive
#9CBB04
ΔE00 3.42
Snot
#ACBB0D
ΔE00 3.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ACC238 #4E38C2
analogous
#C29338 #ACC238 #67C238
triadic
#ACC238 #38ACC2 #C238AC
tetradic
#ACC238 #38C293 #4E38C2 #C23867
square
#ACC238 #38C293 #4E38C2 #C23867
split-complementary
#ACC238 #3867C2 #9338C2
monochromatic
#58631D #82932A #ACC238 #C1D265 #D4E094
Accessibility & contrast
On white
1.99
#ACC238 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.53
#ACC238 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ACC238
10.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ACC238 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ACC238 | 1.00 | 1.99 | 10.53 | 10.53 |
| #FFFFFF | 1.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CFB71F
Deuteranopia (green-blind)
#CCB843
Tritanopia (blue-blind)
#B6B7A7
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #acc238; /* rgb */ color: rgb(172, 194, 56); /* oklch */ color: oklch(77.2% 0.160 118.2);
Tailwind
colors: {
custom: {
50: '#c8d478',
500: '#acc238',
950: '#000000',
},
}SCSS
$custom: #acc238; $custom-light: #c8d478; $custom-dark: #000000;
JSON
{
"hex": "#acc238",
"rgb": {
"r": 172,
"g": 194,
"b": 56
},
"hsl": {
"h": 69.565,
"s": 55.2,
"l": 49.02
},
"oklch": {
"l": 0.77233,
"c": 0.15958,
"h": 118.2
},
"luminance": 0.4764
}Semantic roles & 50–950 ramp
primary
#ACC238
secondary
#958ACB
accent
#49DF61
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#141409
muted
#82827B