#C0CF4F#C0CF4F

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

Color values

HEX#C0CF4F
RGBrgb(192, 207, 79)
HSLhsl(67, 57%, 56%)
HSVhsv(67, 62%, 81%)
CMYKcmyk(7.2%, 0%, 61.8%, 18.8%)
CIE-LABlab(79.84, -22.07, 59.95)
CIE-LCHlch(79.84, 63.88, 110.21°)
OKLaboklab(81.86% -0.0653 0.1369)
OKLCHoklch(81.86% 0.152 115.5)
XYZxyz(45.4633, 56.3973, 15.8864)
Luminance0.5640 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0CF4F #5E4FCF
analogous
#CF9E4F #C0CF4F #80CF4F
triadic
#C0CF4F #4FC0CF #CF4FC0
tetradic
#C0CF4F #4FCF9E #5E4FCF #CF4F80
square
#C0CF4F #4FCF9E #5E4FCF #CF4F80
split-complementary
#C0CF4F #4F80CF #9E4FCF
monochromatic
#768123 #A2B130 #C0CF4F #D1DC7F #E2E9AF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C0CF4F#FFFFFF#000000##000000
##C0CF4F1.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)
#DDC53F
Deuteranopia (green-blind)
#DCC757
Tritanopia (blue-blind)
#CBC4B4
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c0cf4f;
/* rgb */ color: rgb(192, 207, 79);
/* oklch */ color: oklch(81.9% 0.152 115.5);
Tailwind
colors: {
  custom: {
    50: '#d6dd86',
    500: '#c0cf4f',
    950: '#000000',
  },
}
SCSS
$custom: #c0cf4f;
$custom-light: #d6dd86;
$custom-dark: #000000;
JSON
{
  "hex": "#c0cf4f",
  "rgb": {
    "r": 192,
    "g": 207,
    "b": 79
  },
  "hsl": {
    "h": 67.031,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.8186,
    "c": 0.1517,
    "h": 115.5
  },
  "luminance": 0.56397
}

Semantic roles & 50–950 ramp

primary
#C0CF4F
secondary
#433A88
accent
#47E059
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C0CF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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