#C0CF52#C0CF52

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

Color values

HEX#C0CF52
RGBrgb(192, 207, 82)
HSLhsl(67, 57%, 57%)
HSVhsv(67, 60%, 81%)
CMYKcmyk(7.2%, 0%, 60.4%, 18.8%)
CIE-LABlab(79.86, -21.86, 58.71)
CIE-LCHlch(79.86, 62.65, 110.42°)
OKLaboklab(81.89% -0.0644 0.1347)
OKLCHoklch(81.89% 0.149 115.5)
XYZxyz(45.5750, 56.4420, 16.4745)
Luminance0.5644 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0CF52 #6152CF
analogous
#CFA052 #C0CF52 #82CF52
triadic
#C0CF52 #52C0CF #CF52C0
tetradic
#C0CF52 #52CFA0 #6152CF #CF5282
square
#C0CF52 #52CFA0 #6152CF #CF5282
split-complementary
#C0CF52 #5282CF #A052CF
monochromatic
#778224 #A3B231 #C0CF52 #D1DC82 #E3EAB2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C0CF52#FFFFFF#000000##000000
##C0CF521.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)
#DDC543
Deuteranopia (green-blind)
#DBC75A
Tritanopia (blue-blind)
#CBC4B5
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c0cf52;
/* rgb */ color: rgb(192, 207, 82);
/* oklch */ color: oklch(81.9% 0.149 115.5);
Tailwind
colors: {
  custom: {
    50: '#d6dd88',
    500: '#c0cf52',
    950: '#000000',
  },
}
SCSS
$custom: #c0cf52;
$custom-light: #d6dd88;
$custom-dark: #000000;
JSON
{
  "hex": "#c0cf52",
  "rgb": {
    "r": 192,
    "g": 207,
    "b": 82
  },
  "hsl": {
    "h": 67.2,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.81888,
    "c": 0.1493,
    "h": 115.5
  },
  "luminance": 0.56441
}

Semantic roles & 50–950 ramp

primary
#C0CF52
secondary
#453C8A
accent
#48E05A
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C0CF52

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

Preview Lab → · Contrast checker → · Palette generator →

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