#C0CF5B#C0CF5B

#C0CF5B is a light, vivid yellow. Relative luminance 0.566; OKLCH L 82.0% C 0.142 H 115.8°. Best body text is #000000 at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#C0CF5B
RGBrgb(192, 207, 91)
HSLhsl(68, 55%, 58%)
HSVhsv(68, 56%, 81%)
CMYKcmyk(7.2%, 0%, 56%, 18.8%)
CIE-LABlab(79.95, -21.17, 54.86)
CIE-LCHlch(79.95, 58.80, 111.10°)
OKLaboklab(81.98% -0.0615 0.1276)
OKLCHoklch(81.98% 0.142 115.8)
XYZxyz(45.9402, 56.5880, 18.3980)
Luminance0.5659 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0CF5B #6A5BCF
analogous
#CFA45B #C0CF5B #86CF5B
triadic
#C0CF5B #5BC0CF #CF5BC0
tetradic
#C0CF5B #5BCFA4 #6A5BCF #CF5B86
square
#C0CF5B #5BCFA4 #6A5BCF #CF5B86
split-complementary
#C0CF5B #5B86CF #A45BCF
monochromatic
#7B8828 #A6B736 #C0CF5B #D2DD8A #E4EBBA

Accessibility & contrast

On white

1.70
#C0CF5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.32
#C0CF5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0CF5B
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0CF5B#FFFFFF#000000##000000
##C0CF5B1.001.7012.3212.32
#FFFFFF1.701.0021.0021.00
#00000012.3221.001.001.00
##00000012.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC54F
Deuteranopia (green-blind)
#DBC762
Tritanopia (blue-blind)
#CBC4B6
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c0cf5b;
/* rgb */ color: rgb(192, 207, 91);
/* oklch */ color: oklch(82.0% 0.142 115.8);
Tailwind
colors: {
  custom: {
    50: '#d5dd8d',
    500: '#c0cf5b',
    950: '#000000',
  },
}
SCSS
$custom: #c0cf5b;
$custom-light: #d5dd8d;
$custom-dark: #000000;
JSON
{
  "hex": "#c0cf5b",
  "rgb": {
    "r": 192,
    "g": 207,
    "b": 91
  },
  "hsl": {
    "h": 67.759,
    "s": 54.717,
    "l": 58.431
  },
  "oklch": {
    "l": 0.81981,
    "c": 0.14164,
    "h": 115.8
  },
  "luminance": 0.56587
}

Semantic roles & 50–950 ramp

primary
#C0CF5B
secondary
#4A408F
accent
#4ADE5D
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C0CF5B

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

Preview Lab → · Contrast checker → · Palette generator →

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