#C0CF46#C0CF46

#C0CF46 is a light, vivid yellow. Relative luminance 0.563; OKLCH L 81.8% C 0.158 H 115.3°. Best body text is #000000 at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#C0CF46
RGBrgb(192, 207, 70)
HSLhsl(67, 59%, 54%)
HSVhsv(67, 66%, 81%)
CMYKcmyk(7.2%, 0%, 66.2%, 18.8%)
CIE-LABlab(79.77, -22.65, 63.52)
CIE-LCHlch(79.77, 67.43, 109.63°)
OKLaboklab(81.78% -0.0678 0.1432)
OKLCHoklch(81.78% 0.158 115.3)
XYZxyz(45.1576, 56.2750, 14.2765)
Luminance0.5627 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0CF46 #5546CF
analogous
#CF9946 #C0CF46 #7CCF46
triadic
#C0CF46 #46C0CF #CF46C0
tetradic
#C0CF46 #46CF99 #5546CF #CF467C
square
#C0CF46 #46CF99 #5546CF #CF467C
split-complementary
#C0CF46 #467CCF #9946CF
monochromatic
#717B20 #9DAB2C #C0CF46 #D1DC77 #E1E8A7

Accessibility & contrast

On white

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

On black

12.25
#C0CF46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0CF46
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0CF46#FFFFFF#000000##000000
##C0CF461.001.7112.2512.25
#FFFFFF1.711.0021.0021.00
#00000012.2521.001.001.00
##00000012.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC532
Deuteranopia (green-blind)
#DCC750
Tritanopia (blue-blind)
#CCC3B3
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c0cf46;
/* rgb */ color: rgb(192, 207, 70);
/* oklch */ color: oklch(81.8% 0.158 115.3);
Tailwind
colors: {
  custom: {
    50: '#d6dd81',
    500: '#c0cf46',
    950: '#000000',
  },
}
SCSS
$custom: #c0cf46;
$custom-light: #d6dd81;
$custom-dark: #000000;
JSON
{
  "hex": "#c0cf46",
  "rgb": {
    "r": 192,
    "g": 207,
    "b": 70
  },
  "hsl": {
    "h": 66.569,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.81782,
    "c": 0.1584,
    "h": 115.3
  },
  "luminance": 0.56274
}

Semantic roles & 50–950 ramp

primary
#C0CF46
secondary
#3F3683
accent
#46E257
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C0CF46

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

Preview Lab → · Contrast checker → · Palette generator →

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