#C2CF39#C2CF39

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

Color values

HEX#C2CF39
RGBrgb(194, 207, 57)
HSLhsl(65, 61%, 52%)
HSVhsv(65, 72%, 81%)
CMYKcmyk(6.3%, 0%, 72.5%, 18.8%)
CIE-LABlab(79.84, -22.52, 68.37)
CIE-LCHlch(79.84, 71.99, 108.23°)
OKLaboklab(81.85% -0.0688 0.1512)
OKLCHoklch(81.85% 0.166 114.4)
XYZxyz(45.3008, 56.3912, 12.3683)
Luminance0.5639 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CF39 #4639CF
analogous
#CF9139 #C2CF39 #77CF39
triadic
#C2CF39 #39C2CF #CF39C2
tetradic
#C2CF39 #39CF91 #4639CF #CF3977
square
#C2CF39 #39CF91 #4639CF #CF3977
split-complementary
#C2CF39 #3977CF #9139CF
monochromatic
#6A721C #99A328 #C2CF39 #D1DB6A #E0E79C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2CF39#FFFFFF#000000##000000
##C2CF391.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)
#DEC51B
Deuteranopia (green-blind)
#DDC745
Tritanopia (blue-blind)
#CFC3B2
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c2cf39;
/* rgb */ color: rgb(194, 207, 57);
/* oklch */ color: oklch(81.8% 0.166 114.4);
Tailwind
colors: {
  custom: {
    50: '#d8dd7a',
    500: '#c2cf39',
    950: '#000000',
  },
}
SCSS
$custom: #c2cf39;
$custom-light: #d8dd7a;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cf39",
  "rgb": {
    "r": 194,
    "g": 207,
    "b": 57
  },
  "hsl": {
    "h": 65.2,
    "s": 60.976,
    "l": 51.765
  },
  "oklch": {
    "l": 0.81845,
    "c": 0.16614,
    "h": 114.4
  },
  "luminance": 0.5639
}

Semantic roles & 50–950 ramp

primary
#C2CF39
secondary
#38317B
accent
#44E452
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C2CF39

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

Preview Lab → · Contrast checker → · Palette generator →

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