#C0D151#C0D151

#C0D151 is a very light, vivid yellow. Relative luminance 0.574; OKLCH L 82.3% C 0.152 H 116.3°. Best body text is #000000 at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#C0D151
RGBrgb(192, 209, 81)
HSLhsl(68, 58%, 57%)
HSVhsv(68, 61%, 82%)
CMYKcmyk(8.1%, 0%, 61.2%, 18%)
CIE-LABlab(80.41, -22.91, 59.72)
CIE-LCHlch(80.41, 63.96, 110.98°)
OKLaboklab(82.32% -0.0674 0.1367)
OKLCHoklch(82.32% 0.152 116.3)
XYZxyz(46.0248, 57.4021, 16.4381)
Luminance0.5740 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0D151 #6251D1
analogous
#D1A251 #C0D151 #80D151
triadic
#C0D151 #51C0D1 #D151C0
tetradic
#C0D151 #51D1A2 #6251D1 #D15180
square
#C0D151 #51D1A2 #6251D1 #D15180
split-complementary
#C0D151 #5180D1 #A251D1
monochromatic
#788523 #A3B530 #C0D151 #D2DE81 #E3EBB2

Accessibility & contrast

On white

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

On black

12.48
#C0D151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0D151
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0D151#FFFFFF#000000##000000
##C0D1511.001.6812.4812.48
#FFFFFF1.681.0021.0021.00
#00000012.4821.001.001.00
##00000012.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC742
Deuteranopia (green-blind)
#DDC859
Tritanopia (blue-blind)
#CBC6B6
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #c0d151;
/* rgb */ color: rgb(192, 209, 81);
/* oklch */ color: oklch(82.3% 0.152 116.3);
Tailwind
colors: {
  custom: {
    50: '#d6df87',
    500: '#c0d151',
    950: '#000000',
  },
}
SCSS
$custom: #c0d151;
$custom-light: #d6df87;
$custom-dark: #000000;
JSON
{
  "hex": "#c0d151",
  "rgb": {
    "r": 192,
    "g": 209,
    "b": 81
  },
  "hsl": {
    "h": 67.969,
    "s": 58.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.82318,
    "c": 0.15243,
    "h": 116.3
  },
  "luminance": 0.57401
}

Semantic roles & 50–950 ramp

primary
#C0D151
secondary
#453B8B
accent
#46E15B
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C0D151

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

Preview Lab → · Contrast checker → · Palette generator →

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