#C0D031#C0D031

#C0D031 is a light, vivid yellow. Relative luminance 0.565; OKLCH L 81.9% C 0.172 H 115.4°. Best body text is #000000 at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#C0D031
RGBrgb(192, 208, 49)
HSLhsl(66, 63%, 50%)
HSVhsv(66, 76%, 82%)
CMYKcmyk(7.7%, 0%, 76.4%, 18.4%)
CIE-LABlab(79.92, -24.19, 70.96)
CIE-LCHlch(79.92, 74.97, 108.82°)
OKLaboklab(81.86% -0.0739 0.1554)
OKLCHoklch(81.86% 0.172 115.4)
XYZxyz(44.8498, 56.5407, 11.4560)
Luminance0.5654 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0D031 #4131D0
analogous
#D09131 #C0D031 #70D031
triadic
#C0D031 #31C0D0 #D031C0
tetradic
#C0D031 #31D091 #4131D0 #D03170
square
#C0D031 #31D091 #4131D0 #D03170
split-complementary
#C0D031 #3170D0 #9131D0
monochromatic
#656E19 #939F24 #C0D031 #CFDB63 #DEE795

Accessibility & contrast

On white

1.71
#C0D031 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.31
#C0D031 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0D031
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0D031#FFFFFF#000000##000000
##C0D0311.001.7112.3112.31
#FFFFFF1.711.0021.0021.00
#00000012.3121.001.001.00
##00000012.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC500
Deuteranopia (green-blind)
#DEC740
Tritanopia (blue-blind)
#CDC4B2
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c0d031;
/* rgb */ color: rgb(192, 208, 49);
/* oklch */ color: oklch(81.9% 0.172 115.4);
Tailwind
colors: {
  custom: {
    50: '#d7de76',
    500: '#c0d031',
    950: '#000000',
  },
}
SCSS
$custom: #c0d031;
$custom-light: #d7de76;
$custom-dark: #000000;
JSON
{
  "hex": "#c0d031",
  "rgb": {
    "r": 192,
    "g": 208,
    "b": 49
  },
  "hsl": {
    "h": 66.038,
    "s": 62.846,
    "l": 50.392
  },
  "oklch": {
    "l": 0.81863,
    "c": 0.1721,
    "h": 115.4
  },
  "luminance": 0.5654
}

Semantic roles & 50–950 ramp

primary
#C0D031
secondary
#362E77
accent
#42E652
background
#FEFEFB
surface
#FCFCF1
border
#D5D5CB
text
#151509
muted
#84847D

Preview Lab

Preview with #C0D031

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

Preview Lab → · Contrast checker → · Palette generator →

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