#ACC236#ACC236

#ACC236 is a light, vivid yellow. Relative luminance 0.476; OKLCH L 77.2% C 0.161 H 118.2°. Best body text is #000000 at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#ACC236
RGBrgb(172, 194, 54)
HSLhsl(69, 56%, 49%)
HSVhsv(69, 72%, 76%)
CMYKcmyk(11.3%, 0%, 72.2%, 23.9%)
CIE-LABlab(74.59, -25.46, 63.79)
CIE-LCHlch(74.59, 68.69, 111.76°)
OKLaboklab(77.22% -0.076 0.1417)
OKLCHoklch(77.22% 0.161 118.2)
XYZxyz(36.9717, 47.6209, 10.7334)
Luminance0.4762 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACC236 #4C36C2
analogous
#C29236 #ACC236 #66C236
triadic
#ACC236 #36ACC2 #C236AC
tetradic
#ACC236 #36C292 #4C36C2 #C23666
square
#ACC236 #36C292 #4C36C2 #C23666
split-complementary
#ACC236 #3666C2 #9236C2
monochromatic
#57621B #829229 #ACC236 #C1D362 #D4E192

Accessibility & contrast

On white

2.00
#ACC236 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.52
#ACC236 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACC236
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACC236#FFFFFF#000000##000000
##ACC2361.002.0010.5210.52
#FFFFFF2.001.0021.0021.00
#00000010.5221.001.001.00
##00000010.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB71B
Deuteranopia (green-blind)
#CDB842
Tritanopia (blue-blind)
#B6B7A7
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #acc236;
/* rgb */ color: rgb(172, 194, 54);
/* oklch */ color: oklch(77.2% 0.161 118.2);
Tailwind
colors: {
  custom: {
    50: '#c8d477',
    500: '#acc236',
    950: '#000000',
  },
}
SCSS
$custom: #acc236;
$custom-light: #c8d477;
$custom-dark: #000000;
JSON
{
  "hex": "#acc236",
  "rgb": {
    "r": 172,
    "g": 194,
    "b": 54
  },
  "hsl": {
    "h": 69.429,
    "s": 56.452,
    "l": 48.627
  },
  "oklch": {
    "l": 0.77219,
    "c": 0.16081,
    "h": 118.2
  },
  "luminance": 0.47621
}

Semantic roles & 50–950 ramp

primary
#ACC236
secondary
#9388CC
accent
#48E060
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#141409
muted
#82827B

Preview Lab

Preview with #ACC236

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

Preview Lab → · Contrast checker → · Palette generator →

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