#C0D451#C0D451

#C0D451 is a very light, vivid yellow. Relative luminance 0.589; OKLCH L 83.0% C 0.156 H 117.3°. Best body text is #000000 at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#C0D451
RGBrgb(192, 212, 81)
HSLhsl(69, 60%, 57%)
HSVhsv(69, 62%, 83%)
CMYKcmyk(9.4%, 0%, 61.8%, 16.9%)
CIE-LABlab(81.23, -24.36, 60.61)
CIE-LCHlch(81.23, 65.32, 111.89°)
OKLaboklab(82.98% -0.0715 0.1386)
OKLCHoklch(82.98% 0.156 117.3)
XYZxyz(46.7678, 58.8880, 16.6858)
Luminance0.5889 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0D451 #6551D4
analogous
#D4A651 #C0D451 #7FD451
triadic
#C0D451 #51C0D4 #D451C0
tetradic
#C0D451 #51D4A6 #6551D4 #D4517F
square
#C0D451 #51D4A6 #6551D4 #D4517F
split-complementary
#C0D451 #517FD4 #A651D4
monochromatic
#798922 #A5BA2E #C0D451 #D2E082 #E4ECB3

Accessibility & contrast

On white

1.64
#C0D451 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.78
#C0D451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0D451
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0D451#FFFFFF#000000##000000
##C0D4511.001.6412.7812.78
#FFFFFF1.641.0021.0021.00
#00000012.7821.001.001.00
##00000012.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C941
Deuteranopia (green-blind)
#DFCB5A
Tritanopia (blue-blind)
#CBC9B9
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #c0d451;
/* rgb */ color: rgb(192, 212, 81);
/* oklch */ color: oklch(83.0% 0.156 117.3);
Tailwind
colors: {
  custom: {
    50: '#d6e187',
    500: '#c0d451',
    950: '#000000',
  },
}
SCSS
$custom: #c0d451;
$custom-light: #d6e187;
$custom-dark: #000000;
JSON
{
  "hex": "#c0d451",
  "rgb": {
    "r": 192,
    "g": 212,
    "b": 81
  },
  "hsl": {
    "h": 69.16,
    "s": 60.369,
    "l": 57.451
  },
  "oklch": {
    "l": 0.8298,
    "c": 0.15596,
    "h": 117.3
  },
  "luminance": 0.58888
}

Semantic roles & 50–950 ramp

primary
#C0D451
secondary
#473A8F
accent
#44E45D
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C0D451

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

Preview Lab → · Contrast checker → · Palette generator →

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