#C0CE4F#C0CE4F

#C0CE4F is a light, vivid yellow. Relative luminance 0.559; OKLCH L 81.6% C 0.151 H 115.1°. Best body text is #000000 at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#C0CE4F
RGBrgb(192, 206, 79)
HSLhsl(67, 56%, 56%)
HSVhsv(67, 62%, 81%)
CMYKcmyk(6.8%, 0%, 61.7%, 19.2%)
CIE-LABlab(79.56, -21.58, 59.66)
CIE-LCHlch(79.56, 63.44, 109.89°)
OKLaboklab(81.64% -0.0639 0.1363)
OKLCHoklch(81.64% 0.151 115.1)
XYZxyz(45.2218, 55.9143, 15.8059)
Luminance0.5591 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0CE4F #5D4FCE
analogous
#CE9C4F #C0CE4F #80CE4F
triadic
#C0CE4F #4FC0CE #CE4FC0
tetradic
#C0CE4F #4FCE9C #5D4FCE #CE4F80
square
#C0CE4F #4FCE9C #5D4FCE #CE4F80
split-complementary
#C0CE4F #4F80CE #9C4FCE
monochromatic
#757F23 #A1AF31 #C0CE4F #D1DB7F #E2E9AF

Accessibility & contrast

On white

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

On black

12.18
#C0CE4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0CE4F
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0CE4F#FFFFFF#000000##000000
##C0CE4F1.001.7212.1812.18
#FFFFFF1.721.0021.0021.00
#00000012.1821.001.001.00
##00000012.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC440
Deuteranopia (green-blind)
#DBC657
Tritanopia (blue-blind)
#CBC3B3
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c0ce4f;
/* rgb */ color: rgb(192, 206, 79);
/* oklch */ color: oklch(81.6% 0.151 115.1);
Tailwind
colors: {
  custom: {
    50: '#d6dc86',
    500: '#c0ce4f',
    950: '#000000',
  },
}
SCSS
$custom: #c0ce4f;
$custom-light: #d6dc86;
$custom-dark: #000000;
JSON
{
  "hex": "#c0ce4f",
  "rgb": {
    "r": 192,
    "g": 206,
    "b": 79
  },
  "hsl": {
    "h": 66.614,
    "s": 56.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.8164,
    "c": 0.15055,
    "h": 115.1
  },
  "luminance": 0.55914
}

Semantic roles & 50–950 ramp

primary
#C0CE4F
secondary
#433A87
accent
#48E059
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C0CE4F

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

Preview Lab → · Contrast checker → · Palette generator →

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