#C0CF47#C0CF47

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

Color values

HEX#C0CF47
RGBrgb(192, 207, 71)
HSLhsl(67, 59%, 55%)
HSVhsv(67, 66%, 81%)
CMYKcmyk(7.2%, 0%, 65.7%, 18.8%)
CIE-LABlab(79.78, -22.59, 63.13)
CIE-LCHlch(79.78, 67.05, 109.69°)
OKLaboklab(81.79% -0.0675 0.1425)
OKLCHoklch(81.79% 0.158 115.4)
XYZxyz(45.1895, 56.2877, 14.4441)
Luminance0.5629 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0CF47 #5647CF
analogous
#CF9A47 #C0CF47 #7CCF47
triadic
#C0CF47 #47C0CF #CF47C0
tetradic
#C0CF47 #47CF9A #5647CF #CF477C
square
#C0CF47 #47CF9A #5647CF #CF477C
split-complementary
#C0CF47 #477CCF #9A47CF
monochromatic
#717B20 #9EAC2D #C0CF47 #D1DC78 #E1E8A8

Accessibility & contrast

On white

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

On black

12.26
#C0CF47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0CF47
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0CF47#FFFFFF#000000##000000
##C0CF471.001.7112.2612.26
#FFFFFF1.711.0021.0021.00
#00000012.2621.001.001.00
##00000012.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c0cf47;
/* rgb */ color: rgb(192, 207, 71);
/* oklch */ color: oklch(81.8% 0.158 115.4);
Tailwind
colors: {
  custom: {
    50: '#d6dd81',
    500: '#c0cf47',
    950: '#000000',
  },
}
SCSS
$custom: #c0cf47;
$custom-light: #d6dd81;
$custom-dark: #000000;
JSON
{
  "hex": "#c0cf47",
  "rgb": {
    "r": 192,
    "g": 207,
    "b": 71
  },
  "hsl": {
    "h": 66.618,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.8179,
    "c": 0.15769,
    "h": 115.4
  },
  "luminance": 0.56287
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C0CF47

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

Preview Lab → · Contrast checker → · Palette generator →

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