#C4D158#C4D158

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

Color values

HEX#C4D158
RGBrgb(196, 209, 88)
HSLhsl(66, 57%, 58%)
HSVhsv(66, 58%, 82%)
CMYKcmyk(6.2%, 0%, 57.9%, 18%)
CIE-LABlab(80.76, -20.77, 57.19)
CIE-LCHlch(80.76, 60.84, 109.96°)
OKLaboklab(82.7% -0.061 0.1321)
OKLCHoklch(82.7% 0.146 114.8)
XYZxyz(47.3278, 58.0420, 17.9407)
Luminance0.5804 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4D158 #6558D1
analogous
#D1A158 #C4D158 #87D158
triadic
#C4D158 #58C4D1 #D158C4
tetradic
#C4D158 #58D1A1 #6558D1 #D15887
square
#C4D158 #58D1A1 #6558D1 #D15887
split-complementary
#C4D158 #5887D1 #A158D1
monochromatic
#7E8926 #AAB933 #C4D158 #D5DE88 #E6EBB8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C4D158#FFFFFF#000000##000000
##C4D1581.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)
#DFC74B
Deuteranopia (green-blind)
#DECA5F
Tritanopia (blue-blind)
#CFC6B7
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #c4d158;
/* rgb */ color: rgb(196, 209, 88);
/* oklch */ color: oklch(82.7% 0.146 114.8);
Tailwind
colors: {
  custom: {
    50: '#d8df8b',
    500: '#c4d158',
    950: '#000000',
  },
}
SCSS
$custom: #c4d158;
$custom-light: #d8df8b;
$custom-dark: #000000;
JSON
{
  "hex": "#c4d158",
  "rgb": {
    "r": 196,
    "g": 209,
    "b": 88
  },
  "hsl": {
    "h": 66.446,
    "s": 56.808,
    "l": 58.235
  },
  "oklch": {
    "l": 0.82698,
    "c": 0.14551,
    "h": 114.8
  },
  "luminance": 0.58041
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C4D158

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

Preview Lab → · Contrast checker → · Palette generator →

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