#ACC162#ACC162

#ACC162 is a light, vivid yellow-green. Relative luminance 0.478; OKLCH L 77.4% C 0.123 H 119.7°. Best body text is #000000 at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#ACC162
RGBrgb(172, 193, 98)
HSLhsl(73, 43%, 57%)
HSVhsv(73, 49%, 76%)
CMYKcmyk(10.9%, 0%, 49.2%, 24.3%)
CIE-LABlab(74.69, -21.65, 45.08)
CIE-LCHlch(74.69, 50.01, 115.66°)
OKLaboklab(77.43% -0.0611 0.1073)
OKLCHoklch(77.43% 0.124 119.7)
XYZxyz(38.2881, 47.7926, 18.7607)
Luminance0.4779 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACC162 #7762C1
analogous
#C1A762 #ACC162 #7DC162
triadic
#ACC162 #62ACC1 #C162AC
tetradic
#ACC162 #62C1A7 #7762C1 #C1627D
square
#ACC162 #62C1A7 #7762C1 #C1627D
split-complementary
#ACC162 #627DC1 #A762C1
monochromatic
#697930 #8FA541 #ACC162 #C3D28E #DAE4BA

Accessibility & contrast

On white

1.99
#ACC162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.56
#ACC162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACC162
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACC162#FFFFFF#000000##000000
##ACC1621.001.9910.5610.56
#FFFFFF1.991.0021.0021.00
#00000010.5621.001.001.00
##00000010.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB85A
Deuteranopia (green-blind)
#C9B867
Tritanopia (blue-blind)
#B4B8AB
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #acc162;
/* rgb */ color: rgb(172, 193, 98);
/* oklch */ color: oklch(77.4% 0.123 119.7);
Tailwind
colors: {
  custom: {
    50: '#c6d391',
    500: '#acc162',
    950: '#000000',
  },
}
SCSS
$custom: #acc162;
$custom-light: #c6d391;
$custom-dark: #000000;
JSON
{
  "hex": "#acc162",
  "rgb": {
    "r": 172,
    "g": 193,
    "b": 98
  },
  "hsl": {
    "h": 73.263,
    "s": 43.379,
    "l": 57.059
  },
  "oklch": {
    "l": 0.77432,
    "c": 0.1235,
    "h": 119.7
  },
  "luminance": 0.47792
}

Semantic roles & 50–950 ramp

primary
#ACC162
secondary
#B5ACD3
accent
#55D371
background
#FCFCF9
surface
#F8F9F1
border
#D1D2CB
text
#13140D
muted
#82827E

Preview Lab

Preview with #ACC162

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

Preview Lab → · Contrast checker → · Palette generator →

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