#C4D159#C4D159

#C4D159 is a very light, vivid yellow. Relative luminance 0.581; OKLCH L 82.7% C 0.145 H 114.8°. Best body text is #000000 at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#C4D159
RGBrgb(196, 209, 89)
HSLhsl(67, 57%, 58%)
HSVhsv(67, 57%, 82%)
CMYKcmyk(6.2%, 0%, 57.4%, 18%)
CIE-LABlab(80.77, -20.70, 56.76)
CIE-LCHlch(80.77, 60.41, 110.03°)
OKLaboklab(82.71% -0.0606 0.1313)
OKLCHoklch(82.71% 0.145 114.8)
XYZxyz(47.3696, 58.0587, 18.1603)
Luminance0.5806 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4D159 #6659D1
analogous
#D1A259 #C4D159 #88D159
triadic
#C4D159 #59C4D1 #D159C4
tetradic
#C4D159 #59D1A2 #6659D1 #D15988
square
#C4D159 #59D1A2 #6659D1 #D15988
split-complementary
#C4D159 #5988D1 #A259D1
monochromatic
#7F8926 #ABB933 #C4D159 #D5DE89 #E6ECB9

Accessibility & contrast

On white

1.67
#C4D159 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.61
#C4D159 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4D159
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4D159#FFFFFF#000000##000000
##C4D1591.001.6712.6112.61
#FFFFFF1.671.0021.0021.00
#00000012.6121.001.001.00
##00000012.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC84C
Deuteranopia (green-blind)
#DECA60
Tritanopia (blue-blind)
#CFC6B7
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #c4d159;
/* rgb */ color: rgb(196, 209, 89);
/* oklch */ color: oklch(82.7% 0.145 114.8);
Tailwind
colors: {
  custom: {
    50: '#d8df8c',
    500: '#c4d159',
    950: '#000000',
  },
}
SCSS
$custom: #c4d159;
$custom-light: #d8df8c;
$custom-dark: #000000;
JSON
{
  "hex": "#c4d159",
  "rgb": {
    "r": 196,
    "g": 209,
    "b": 89
  },
  "hsl": {
    "h": 66.5,
    "s": 56.604,
    "l": 58.431
  },
  "oklch": {
    "l": 0.82708,
    "c": 0.14466,
    "h": 114.8
  },
  "luminance": 0.58058
}

Semantic roles & 50–950 ramp

primary
#C4D159
secondary
#473E90
accent
#48E058
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C4D159

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

Preview Lab → · Contrast checker → · Palette generator →

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