#C0CF4E#C0CF4E

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

Color values

HEX#C0CF4E
RGBrgb(192, 207, 78)
HSLhsl(67, 57%, 56%)
HSVhsv(67, 62%, 81%)
CMYKcmyk(7.2%, 0%, 62.3%, 18.8%)
CIE-LABlab(79.83, -22.14, 60.36)
CIE-LCHlch(79.83, 64.29, 110.14°)
OKLaboklab(81.85% -0.0656 0.1377)
OKLCHoklch(81.85% 0.152 115.5)
XYZxyz(45.4272, 56.3828, 15.6962)
Luminance0.5638 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0CF4E #5D4ECF
analogous
#CF9D4E #C0CF4E #7FCF4E
triadic
#C0CF4E #4EC0CF #CF4EC0
tetradic
#C0CF4E #4ECF9D #5D4ECF #CF4E7F
square
#C0CF4E #4ECF9D #5D4ECF #CF4E7F
split-complementary
#C0CF4E #4E7FCF #9D4ECF
monochromatic
#758023 #A1B030 #C0CF4E #D1DC7E #E2E9AE

Accessibility & contrast

On white

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

On black

12.28
#C0CF4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0CF4E
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0CF4E#FFFFFF#000000##000000
##C0CF4E1.001.7112.2812.28
#FFFFFF1.711.0021.0021.00
#00000012.2821.001.001.00
##00000012.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c0cf4e;
/* rgb */ color: rgb(192, 207, 78);
/* oklch */ color: oklch(81.8% 0.152 115.5);
Tailwind
colors: {
  custom: {
    50: '#d6dd85',
    500: '#c0cf4e',
    950: '#000000',
  },
}
SCSS
$custom: #c0cf4e;
$custom-light: #d6dd85;
$custom-dark: #000000;
JSON
{
  "hex": "#c0cf4e",
  "rgb": {
    "r": 192,
    "g": 207,
    "b": 78
  },
  "hsl": {
    "h": 66.977,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.8185,
    "c": 0.15248,
    "h": 115.5
  },
  "luminance": 0.56382
}

Semantic roles & 50–950 ramp

primary
#C0CF4E
secondary
#433A87
accent
#47E159
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C0CF4E

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

Preview Lab → · Contrast checker → · Palette generator →

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