#C0CF51#C0CF51

#C0CF51 is a light, vivid yellow. Relative luminance 0.564; OKLCH L 81.9% C 0.150 H 115.5°. Best body text is #000000 at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#C0CF51
RGBrgb(192, 207, 81)
HSLhsl(67, 57%, 56%)
HSVhsv(67, 61%, 81%)
CMYKcmyk(7.2%, 0%, 60.9%, 18.8%)
CIE-LABlab(79.86, -21.93, 59.13)
CIE-LCHlch(79.86, 63.06, 110.35°)
OKLaboklab(81.88% -0.0647 0.1354)
OKLCHoklch(81.88% 0.15 115.5)
XYZxyz(45.5372, 56.4269, 16.2756)
Luminance0.5643 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0CF51 #6051CF
analogous
#CF9F51 #C0CF51 #81CF51
triadic
#C0CF51 #51C0CF #CF51C0
tetradic
#C0CF51 #51CF9F #6051CF #CF5181
square
#C0CF51 #51CF9F #6051CF #CF5181
split-complementary
#C0CF51 #5181CF #9F51CF
monochromatic
#778224 #A2B231 #C0CF51 #D1DC81 #E3E9B1

Accessibility & contrast

On white

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

On black

12.29
#C0CF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0CF51
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0CF51#FFFFFF#000000##000000
##C0CF511.001.7112.2912.29
#FFFFFF1.711.0021.0021.00
#00000012.2921.001.001.00
##00000012.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC542
Deuteranopia (green-blind)
#DBC759
Tritanopia (blue-blind)
#CBC4B4
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c0cf51;
/* rgb */ color: rgb(192, 207, 81);
/* oklch */ color: oklch(81.9% 0.150 115.5);
Tailwind
colors: {
  custom: {
    50: '#d6dd87',
    500: '#c0cf51',
    950: '#000000',
  },
}
SCSS
$custom: #c0cf51;
$custom-light: #d6dd87;
$custom-dark: #000000;
JSON
{
  "hex": "#c0cf51",
  "rgb": {
    "r": 192,
    "g": 207,
    "b": 81
  },
  "hsl": {
    "h": 67.143,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.81878,
    "c": 0.1501,
    "h": 115.5
  },
  "luminance": 0.56426
}

Semantic roles & 50–950 ramp

primary
#C0CF51
secondary
#443B89
accent
#48E05A
background
#FEFEFC
surface
#FCFCF3
border
#D5D5CD
text
#15150C
muted
#84847F

Preview Lab

Preview with #C0CF51

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

Preview Lab → · Contrast checker → · Palette generator →

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