#C2CF3A#C2CF3A

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

Color values

HEX#C2CF3A
RGBrgb(194, 207, 58)
HSLhsl(65, 61%, 52%)
HSVhsv(65, 72%, 81%)
CMYKcmyk(6.3%, 0%, 72%, 18.8%)
CIE-LABlab(79.84, -22.47, 68.04)
CIE-LCHlch(79.84, 71.65, 108.28°)
OKLaboklab(81.85% -0.0685 0.1507)
OKLCHoklch(81.85% 0.166 114.5)
XYZxyz(45.3260, 56.4013, 12.5010)
Luminance0.5640 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CF3A #473ACF
analogous
#CF923A #C2CF3A #78CF3A
triadic
#C2CF3A #3AC2CF #CF3AC2
tetradic
#C2CF3A #3ACF92 #473ACF #CF3A78
square
#C2CF3A #3ACF92 #473ACF #CF3A78
split-complementary
#C2CF3A #3A78CF #923ACF
monochromatic
#6B731C #99A428 #C2CF3A #D1DB6B #E0E79C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2CF3A#FFFFFF#000000##000000
##C2CF3A1.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)
#DEC51D
Deuteranopia (green-blind)
#DDC746
Tritanopia (blue-blind)
#CFC3B2
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c2cf3a;
/* rgb */ color: rgb(194, 207, 58);
/* oklch */ color: oklch(81.9% 0.166 114.5);
Tailwind
colors: {
  custom: {
    50: '#d8dd7a',
    500: '#c2cf3a',
    950: '#000000',
  },
}
SCSS
$custom: #c2cf3a;
$custom-light: #d8dd7a;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cf3a",
  "rgb": {
    "r": 194,
    "g": 207,
    "b": 58
  },
  "hsl": {
    "h": 65.235,
    "s": 60.816,
    "l": 51.961
  },
  "oklch": {
    "l": 0.81851,
    "c": 0.16555,
    "h": 114.5
  },
  "luminance": 0.564
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C2CF3A

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

Preview Lab → · Contrast checker → · Palette generator →

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