#C0CF39#C0CF39

#C0CF39 is a light, vivid yellow. Relative luminance 0.561; OKLCH L 81.7% C 0.167 H 115.2°. Best body text is #000000 at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#C0CF39
RGBrgb(192, 207, 57)
HSLhsl(66, 61%, 52%)
HSVhsv(66, 72%, 81%)
CMYKcmyk(7.2%, 0%, 72.5%, 18.8%)
CIE-LABlab(79.69, -23.35, 68.18)
CIE-LCHlch(79.69, 72.07, 108.91°)
OKLaboklab(81.69% -0.0709 0.1509)
OKLCHoklch(81.69% 0.167 115.2)
XYZxyz(44.7908, 56.1283, 12.3444)
Luminance0.5613 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0CF39 #4839CF
analogous
#CF9339 #C0CF39 #75CF39
triadic
#C0CF39 #39C0CF #CF39C0
tetradic
#C0CF39 #39CF93 #4839CF #CF3975
square
#C0CF39 #39CF93 #4839CF #CF3975
split-complementary
#C0CF39 #3975CF #9339CF
monochromatic
#69721C #97A328 #C0CF39 #D0DB6A #DFE79C

Accessibility & contrast

On white

1.72
#C0CF39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.23
#C0CF39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0CF39
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0CF39#FFFFFF#000000##000000
##C0CF391.001.7212.2312.23
#FFFFFF1.721.0021.0021.00
#00000012.2321.001.001.00
##00000012.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC41B
Deuteranopia (green-blind)
#DDC745
Tritanopia (blue-blind)
#CCC3B2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c0cf39;
/* rgb */ color: rgb(192, 207, 57);
/* oklch */ color: oklch(81.7% 0.167 115.2);
Tailwind
colors: {
  custom: {
    50: '#d7dd7a',
    500: '#c0cf39',
    950: '#000000',
  },
}
SCSS
$custom: #c0cf39;
$custom-light: #d7dd7a;
$custom-dark: #000000;
JSON
{
  "hex": "#c0cf39",
  "rgb": {
    "r": 192,
    "g": 207,
    "b": 57
  },
  "hsl": {
    "h": 66,
    "s": 60.976,
    "l": 51.765
  },
  "oklch": {
    "l": 0.81688,
    "c": 0.16674,
    "h": 115.2
  },
  "luminance": 0.56128
}

Semantic roles & 50–950 ramp

primary
#C0CF39
secondary
#39317B
accent
#44E454
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C0CF39

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

Preview Lab → · Contrast checker → · Palette generator →

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