#C2CF40#C2CF40

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

Color values

HEX#C2CF40
RGBrgb(194, 207, 64)
HSLhsl(65, 60%, 53%)
HSVhsv(65, 69%, 81%)
CMYKcmyk(6.3%, 0%, 69.1%, 18.8%)
CIE-LABlab(79.88, -22.17, 65.94)
CIE-LCHlch(79.88, 69.57, 108.58°)
OKLaboklab(81.89% -0.0671 0.1473)
OKLCHoklch(81.89% 0.162 114.5)
XYZxyz(45.4876, 56.4660, 13.3523)
Luminance0.5646 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CF40 #4D40CF
analogous
#CF9540 #C2CF40 #7ACF40
triadic
#C2CF40 #40C2CF #CF40C2
tetradic
#C2CF40 #40CF95 #4D40CF #CF407A
square
#C2CF40 #40CF95 #4D40CF #CF407A
split-complementary
#C2CF40 #407ACF #9540CF
monochromatic
#6F771E #9CA82A #C2CF40 #D2DB71 #E1E8A2

Accessibility & contrast

On white

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

On black

12.29
#C2CF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CF40
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CF40#FFFFFF#000000##000000
##C2CF401.001.7112.2912.29
#FFFFFF1.711.0021.0021.00
#00000012.2921.001.001.00
##00000012.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC529
Deuteranopia (green-blind)
#DDC74B
Tritanopia (blue-blind)
#CEC3B3
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c2cf40;
/* rgb */ color: rgb(194, 207, 64);
/* oklch */ color: oklch(81.9% 0.162 114.5);
Tailwind
colors: {
  custom: {
    50: '#d8dd7d',
    500: '#c2cf40',
    950: '#000000',
  },
}
SCSS
$custom: #c2cf40;
$custom-light: #d8dd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cf40",
  "rgb": {
    "r": 194,
    "g": 207,
    "b": 64
  },
  "hsl": {
    "h": 65.455,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.81892,
    "c": 0.16186,
    "h": 114.5
  },
  "luminance": 0.56465
}

Semantic roles & 50–950 ramp

primary
#C2CF40
secondary
#3B347F
accent
#45E353
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C2CF40

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

Preview Lab → · Contrast checker → · Palette generator →

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