#C0CF3A#C0CF3A

#C0CF3A is a light, vivid yellow. Relative luminance 0.561; OKLCH L 81.7% C 0.166 H 115.2°. Best body text is #000000 at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#C0CF3A
RGBrgb(192, 207, 58)
HSLhsl(66, 61%, 52%)
HSVhsv(66, 72%, 81%)
CMYKcmyk(7.2%, 0%, 72%, 18.8%)
CIE-LABlab(79.69, -23.30, 67.84)
CIE-LCHlch(79.69, 71.73, 108.96°)
OKLaboklab(81.69% -0.0707 0.1504)
OKLCHoklch(81.69% 0.166 115.2)
XYZxyz(44.8160, 56.1384, 12.4771)
Luminance0.5614 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0CF3A #493ACF
analogous
#CF933A #C0CF3A #76CF3A
triadic
#C0CF3A #3AC0CF #CF3AC0
tetradic
#C0CF3A #3ACF93 #493ACF #CF3A76
square
#C0CF3A #3ACF93 #493ACF #CF3A76
split-complementary
#C0CF3A #3A76CF #933ACF
monochromatic
#6A731C #97A428 #C0CF3A #D0DB6B #DFE79C

Accessibility & contrast

On white

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

On black

12.23
#C0CF3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0CF3A
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0CF3A#FFFFFF#000000##000000
##C0CF3A1.001.7212.2312.23
#FFFFFF1.721.0021.0021.00
#00000012.2321.001.001.00
##00000012.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC41D
Deuteranopia (green-blind)
#DDC746
Tritanopia (blue-blind)
#CCC3B2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c0cf3a;
/* rgb */ color: rgb(192, 207, 58);
/* oklch */ color: oklch(81.7% 0.166 115.2);
Tailwind
colors: {
  custom: {
    50: '#d7dd7a',
    500: '#c0cf3a',
    950: '#000000',
  },
}
SCSS
$custom: #c0cf3a;
$custom-light: #d7dd7a;
$custom-dark: #000000;
JSON
{
  "hex": "#c0cf3a",
  "rgb": {
    "r": 192,
    "g": 207,
    "b": 58
  },
  "hsl": {
    "h": 66.04,
    "s": 60.816,
    "l": 51.961
  },
  "oklch": {
    "l": 0.81695,
    "c": 0.16616,
    "h": 115.2
  },
  "luminance": 0.56138
}

Semantic roles & 50–950 ramp

primary
#C0CF3A
secondary
#39327B
accent
#44E454
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C0CF3A

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

Preview Lab → · Contrast checker → · Palette generator →

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