#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
RGBrgb(172, 194, 56)
HSLhsl(70, 55%, 49%)
HSVhsv(70, 71%, 76%)
CMYKcmyk(11.3%, 0%, 71.1%, 23.9%)
CIE-LABlab(74.60, -25.36, 63.09)
CIE-LCHlch(74.60, 68.00, 111.90°)
OKLaboklab(77.23% -0.0755 0.1406)
OKLCHoklch(77.23% 0.16 118.2)
XYZxyz(37.0196, 47.6401, 10.9859)
Luminance0.4764 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

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
##ACC2381.001.9910.5310.53
#FFFFFF1.991.0021.0021.00
#00000010.5321.001.001.00
##00000010.5321.001.001.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

Preview Lab

Preview with #ACC238

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#ACC238 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva