#C4D162#C4D162

#C4D162 is a very light, vivid yellow. Relative luminance 0.582; OKLCH L 82.8% C 0.137 H 115.0°. Best body text is #000000 at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#C4D162
RGBrgb(196, 209, 98)
HSLhsl(67, 55%, 60%)
HSVhsv(67, 53%, 82%)
CMYKcmyk(6.2%, 0%, 53.1%, 18%)
CIE-LABlab(80.86, -19.96, 52.80)
CIE-LCHlch(80.86, 56.44, 110.71°)
OKLaboklab(82.81% -0.0577 0.1238)
OKLCHoklch(82.81% 0.137 115)
XYZxyz(47.7708, 58.2192, 20.2738)
Luminance0.5822 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4D162 #6F62D1
analogous
#D1A662 #C4D162 #8CD162
triadic
#C4D162 #62C4D1 #D162C4
tetradic
#C4D162 #62D1A6 #6F62D1 #D1628C
square
#C4D162 #62D1A6 #6F62D1 #D1628C
split-complementary
#C4D162 #628CD1 #A662D1
monochromatic
#838F2A #AEBE38 #C4D162 #D6DF91 #E8EDC1

Accessibility & contrast

On white

1.66
#C4D162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.64
#C4D162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4D162
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4D162#FFFFFF#000000##000000
##C4D1621.001.6612.6412.64
#FFFFFF1.661.0021.0021.00
#00000012.6421.001.001.00
##00000012.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC857
Deuteranopia (green-blind)
#DDCA68
Tritanopia (blue-blind)
#CFC7B8
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #c4d162;
/* rgb */ color: rgb(196, 209, 98);
/* oklch */ color: oklch(82.8% 0.137 115.0);
Tailwind
colors: {
  custom: {
    50: '#d8df92',
    500: '#c4d162',
    950: '#000000',
  },
}
SCSS
$custom: #c4d162;
$custom-light: #d8df92;
$custom-dark: #000000;
JSON
{
  "hex": "#c4d162",
  "rgb": {
    "r": 196,
    "g": 209,
    "b": 98
  },
  "hsl": {
    "h": 67.027,
    "s": 54.68,
    "l": 60.196
  },
  "oklch": {
    "l": 0.82808,
    "c": 0.13658,
    "h": 115
  },
  "luminance": 0.58219
}

Semantic roles & 50–950 ramp

primary
#C4D162
secondary
#4C4295
accent
#23C236
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #C4D162

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

Preview Lab → · Contrast checker → · Palette generator →

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