#C0D159#C0D159

#C0D159 is a very light, vivid yellow. Relative luminance 0.575; OKLCH L 82.4% C 0.146 H 116.5°. Best body text is #000000 at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#C0D159
RGBrgb(192, 209, 89)
HSLhsl(69, 57%, 58%)
HSVhsv(69, 57%, 82%)
CMYKcmyk(8.1%, 0%, 57.4%, 18%)
CIE-LABlab(80.48, -22.31, 56.34)
CIE-LCHlch(80.48, 60.60, 111.60°)
OKLaboklab(82.4% -0.065 0.1305)
OKLCHoklch(82.4% 0.146 116.5)
XYZxyz(46.3427, 57.5292, 18.1122)
Luminance0.5753 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0D159 #6A59D1
analogous
#D1A659 #C0D159 #84D159
triadic
#C0D159 #59C0D1 #D159C0
tetradic
#C0D159 #59D1A6 #6A59D1 #D15984
square
#C0D159 #59D1A6 #6A59D1 #D15984
split-complementary
#C0D159 #5984D1 #A659D1
monochromatic
#7B8926 #A6B933 #C0D159 #D2DE89 #E4ECB9

Accessibility & contrast

On white

1.68
#C0D159 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.51
#C0D159 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0D159
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0D159#FFFFFF#000000##000000
##C0D1591.001.6812.5112.51
#FFFFFF1.681.0021.0021.00
#00000012.5121.001.001.00
##00000012.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC74C
Deuteranopia (green-blind)
#DDC960
Tritanopia (blue-blind)
#CBC6B7
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #c0d159;
/* rgb */ color: rgb(192, 209, 89);
/* oklch */ color: oklch(82.4% 0.146 116.5);
Tailwind
colors: {
  custom: {
    50: '#d5df8c',
    500: '#c0d159',
    950: '#000000',
  },
}
SCSS
$custom: #c0d159;
$custom-light: #d5df8c;
$custom-dark: #000000;
JSON
{
  "hex": "#c0d159",
  "rgb": {
    "r": 192,
    "g": 209,
    "b": 89
  },
  "hsl": {
    "h": 68.5,
    "s": 56.604,
    "l": 58.431
  },
  "oklch": {
    "l": 0.82398,
    "c": 0.14579,
    "h": 116.5
  },
  "luminance": 0.57529
}

Semantic roles & 50–950 ramp

primary
#C0D159
secondary
#4A3E90
accent
#48E05D
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C0D159

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

Preview Lab → · Contrast checker → · Palette generator →

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