#C2CF3B#C2CF3B

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

Color values

HEX#C2CF3B
RGBrgb(194, 207, 59)
HSLhsl(65, 61%, 52%)
HSVhsv(65, 71%, 81%)
CMYKcmyk(6.3%, 0%, 71.5%, 18.8%)
CIE-LABlab(79.85, -22.43, 67.70)
CIE-LCHlch(79.85, 71.32, 108.33°)
OKLaboklab(81.86% -0.0683 0.1502)
OKLCHoklch(81.86% 0.165 114.5)
XYZxyz(45.3517, 56.4116, 12.6363)
Luminance0.5641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CF3B #483BCF
analogous
#CF923B #C2CF3B #78CF3B
triadic
#C2CF3B #3BC2CF #CF3BC2
tetradic
#C2CF3B #3BCF92 #483BCF #CF3B78
square
#C2CF3B #3BCF92 #483BCF #CF3B78
split-complementary
#C2CF3B #3B78CF #923BCF
monochromatic
#6C731C #9AA528 #C2CF3B #D1DB6C #E1E79D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2CF3B#FFFFFF#000000##000000
##C2CF3B1.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)
#DEC51F
Deuteranopia (green-blind)
#DDC747
Tritanopia (blue-blind)
#CFC3B2
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c2cf3b;
/* rgb */ color: rgb(194, 207, 59);
/* oklch */ color: oklch(81.9% 0.165 114.5);
Tailwind
colors: {
  custom: {
    50: '#d8dd7b',
    500: '#c2cf3b',
    950: '#000000',
  },
}
SCSS
$custom: #c2cf3b;
$custom-light: #d8dd7b;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cf3b",
  "rgb": {
    "r": 194,
    "g": 207,
    "b": 59
  },
  "hsl": {
    "h": 65.27,
    "s": 60.656,
    "l": 52.157
  },
  "oklch": {
    "l": 0.81858,
    "c": 0.16496,
    "h": 114.5
  },
  "luminance": 0.56411
}

Semantic roles & 50–950 ramp

primary
#C2CF3B
secondary
#39327C
accent
#44E452
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C2CF3B

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

Preview Lab → · Contrast checker → · Palette generator →

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