#C2CF45#C2CF45

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

Color values

HEX#C2CF45
RGBrgb(194, 207, 69)
HSLhsl(66, 59%, 54%)
HSVhsv(66, 67%, 81%)
CMYKcmyk(6.3%, 0%, 66.7%, 18.8%)
CIE-LABlab(79.91, -21.89, 64.10)
CIE-LCHlch(79.91, 67.73, 108.85°)
OKLaboklab(81.93% -0.0659 0.1442)
OKLCHoklch(81.93% 0.159 114.6)
XYZxyz(45.6363, 56.5255, 14.1355)
Luminance0.5653 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CF45 #5245CF
analogous
#CF9745 #C2CF45 #7DCF45
triadic
#C2CF45 #45C2CF #CF45C2
tetradic
#C2CF45 #45CF97 #5245CF #CF457D
square
#C2CF45 #45CF97 #5245CF #CF457D
split-complementary
#C2CF45 #457DCF #9745CF
monochromatic
#727A20 #9FAB2C #C2CF45 #D2DC76 #E2E8A6

Accessibility & contrast

On white

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

On black

12.31
#C2CF45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CF45
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CF45#FFFFFF#000000##000000
##C2CF451.001.7112.3112.31
#FFFFFF1.711.0021.0021.00
#00000012.3121.001.001.00
##00000012.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2cf45;
/* rgb */ color: rgb(194, 207, 69);
/* oklch */ color: oklch(81.9% 0.159 114.6);
Tailwind
colors: {
  custom: {
    50: '#d8dd80',
    500: '#c2cf45',
    950: '#000000',
  },
}
SCSS
$custom: #c2cf45;
$custom-light: #d8dd80;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cf45",
  "rgb": {
    "r": 194,
    "g": 207,
    "b": 69
  },
  "hsl": {
    "h": 65.652,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.8193,
    "c": 0.15852,
    "h": 114.6
  },
  "luminance": 0.56525
}

Semantic roles & 50–950 ramp

primary
#C2CF45
secondary
#3D3682
accent
#46E254
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C2CF45

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

Preview Lab → · Contrast checker → · Palette generator →

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