#C2CF3C#C2CF3C

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

Color values

HEX#C2CF3C
RGBrgb(194, 207, 60)
HSLhsl(65, 60%, 52%)
HSVhsv(65, 71%, 81%)
CMYKcmyk(6.3%, 0%, 71%, 18.8%)
CIE-LABlab(79.85, -22.38, 67.36)
CIE-LCHlch(79.85, 70.98, 108.38°)
OKLaboklab(81.86% -0.0681 0.1496)
OKLCHoklch(81.86% 0.164 114.5)
XYZxyz(45.3778, 56.4221, 12.7742)
Luminance0.5642 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CF3C #493CCF
analogous
#CF923C #C2CF3C #79CF3C
triadic
#C2CF3C #3CC2CF #CF3CC2
tetradic
#C2CF3C #3CCF92 #493CCF #CF3C79
square
#C2CF3C #3CCF92 #493CCF #CF3C79
split-complementary
#C2CF3C #3C79CF #923CCF
monochromatic
#6C741D #9AA529 #C2CF3C #D1DB6D #E1E79E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2CF3C#FFFFFF#000000##000000
##C2CF3C1.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)
#DEC521
Deuteranopia (green-blind)
#DDC748
Tritanopia (blue-blind)
#CFC3B2
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c2cf3c;
/* rgb */ color: rgb(194, 207, 60);
/* oklch */ color: oklch(81.9% 0.164 114.5);
Tailwind
colors: {
  custom: {
    50: '#d8dd7b',
    500: '#c2cf3c',
    950: '#000000',
  },
}
SCSS
$custom: #c2cf3c;
$custom-light: #d8dd7b;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cf3c",
  "rgb": {
    "r": 194,
    "g": 207,
    "b": 60
  },
  "hsl": {
    "h": 65.306,
    "s": 60.494,
    "l": 52.353
  },
  "oklch": {
    "l": 0.81865,
    "c": 0.16436,
    "h": 114.5
  },
  "luminance": 0.56421
}

Semantic roles & 50–950 ramp

primary
#C2CF3C
secondary
#39337D
accent
#44E452
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C2CF3C

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

Preview Lab → · Contrast checker → · Palette generator →

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