#C2CF35#C2CF35

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

Color values

HEX#C2CF35
RGBrgb(194, 207, 53)
HSLhsl(65, 62%, 51%)
HSVhsv(65, 74%, 81%)
CMYKcmyk(6.3%, 0%, 74.4%, 18.8%)
CIE-LABlab(79.81, -22.70, 69.67)
CIE-LCHlch(79.81, 73.28, 108.05°)
OKLaboklab(81.82% -0.0696 0.1533)
OKLCHoklch(81.82% 0.168 114.4)
XYZxyz(45.2049, 56.3529, 11.8633)
Luminance0.5635 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CF35 #4235CF
analogous
#CF8F35 #C2CF35 #75CF35
triadic
#C2CF35 #35C2CF #CF35C2
tetradic
#C2CF35 #35CF8F #4235CF #CF3575
square
#C2CF35 #35CF8F #4235CF #CF3575
split-complementary
#C2CF35 #3575CF #8F35CF
monochromatic
#686F1A #96A126 #C2CF35 #D1DB66 #E0E798

Accessibility & contrast

On white

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

On black

12.27
#C2CF35 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CF35
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CF35#FFFFFF#000000##000000
##C2CF351.001.7112.2712.27
#FFFFFF1.711.0021.0021.00
#00000012.2721.001.001.00
##00000012.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC510
Deuteranopia (green-blind)
#DEC742
Tritanopia (blue-blind)
#CFC3B2
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c2cf35;
/* rgb */ color: rgb(194, 207, 53);
/* oklch */ color: oklch(81.8% 0.168 114.4);
Tailwind
colors: {
  custom: {
    50: '#d8dd78',
    500: '#c2cf35',
    950: '#000000',
  },
}
SCSS
$custom: #c2cf35;
$custom-light: #d8dd78;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cf35",
  "rgb": {
    "r": 194,
    "g": 207,
    "b": 53
  },
  "hsl": {
    "h": 65.065,
    "s": 61.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.81821,
    "c": 0.16836,
    "h": 114.4
  },
  "luminance": 0.56352
}

Semantic roles & 50–950 ramp

primary
#C2CF35
secondary
#363078
accent
#43E551
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C2CF35

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

Preview Lab → · Contrast checker → · Palette generator →

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