#C0CF45#C0CF45

#C0CF45 is a light, vivid yellow. Relative luminance 0.563; OKLCH L 81.8% C 0.159 H 115.3°. Best body text is #000000 at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#C0CF45
RGBrgb(192, 207, 69)
HSLhsl(67, 59%, 54%)
HSVhsv(67, 67%, 81%)
CMYKcmyk(7.2%, 0%, 66.7%, 18.8%)
CIE-LABlab(79.76, -22.71, 63.90)
CIE-LCHlch(79.76, 67.81, 109.57°)
OKLaboklab(81.77% -0.0681 0.1438)
OKLCHoklch(81.77% 0.159 115.3)
XYZxyz(45.1263, 56.2625, 14.1116)
Luminance0.5626 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0CF45 #5445CF
analogous
#CF9945 #C0CF45 #7BCF45
triadic
#C0CF45 #45C0CF #CF45C0
tetradic
#C0CF45 #45CF99 #5445CF #CF457B
square
#C0CF45 #45CF99 #5445CF #CF457B
split-complementary
#C0CF45 #457BCF #9945CF
monochromatic
#707A20 #9DAB2C #C0CF45 #D0DC76 #E1E8A6

Accessibility & contrast

On white

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

On black

12.25
#C0CF45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0CF45
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0CF45#FFFFFF#000000##000000
##C0CF451.001.7112.2512.25
#FFFFFF1.711.0021.0021.00
#00000012.2521.001.001.00
##00000012.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC531
Deuteranopia (green-blind)
#DCC74F
Tritanopia (blue-blind)
#CCC3B3
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c0cf45;
/* rgb */ color: rgb(192, 207, 69);
/* oklch */ color: oklch(81.8% 0.159 115.3);
Tailwind
colors: {
  custom: {
    50: '#d6dd80',
    500: '#c0cf45',
    950: '#000000',
  },
}
SCSS
$custom: #c0cf45;
$custom-light: #d6dd80;
$custom-dark: #000000;
JSON
{
  "hex": "#c0cf45",
  "rgb": {
    "r": 192,
    "g": 207,
    "b": 69
  },
  "hsl": {
    "h": 66.522,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.81774,
    "c": 0.1591,
    "h": 115.3
  },
  "luminance": 0.56262
}

Semantic roles & 50–950 ramp

primary
#C0CF45
secondary
#3E3682
accent
#46E257
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C0CF45

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

Preview Lab → · Contrast checker → · Palette generator →

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