#C2CF46#C2CF46

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

Color values

HEX#C2CF46
RGBrgb(194, 207, 70)
HSLhsl(66, 59%, 54%)
HSVhsv(66, 66%, 81%)
CMYKcmyk(6.3%, 0%, 66.2%, 18.8%)
CIE-LABlab(79.92, -21.83, 63.72)
CIE-LCHlch(79.92, 67.35, 108.91°)
OKLaboklab(81.94% -0.0656 0.1435)
OKLCHoklch(81.94% 0.158 114.6)
XYZxyz(45.6676, 56.5380, 14.3004)
Luminance0.5654 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CF46 #5346CF
analogous
#CF9746 #C2CF46 #7ECF46
triadic
#C2CF46 #46C2CF #CF46C2
tetradic
#C2CF46 #46CF97 #5346CF #CF467E
square
#C2CF46 #46CF97 #5346CF #CF467E
split-complementary
#C2CF46 #467ECF #9746CF
monochromatic
#727B20 #9FAB2C #C2CF46 #D2DC77 #E2E8A7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2CF46#FFFFFF#000000##000000
##C2CF461.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)
#DDC532
Deuteranopia (green-blind)
#DDC750
Tritanopia (blue-blind)
#CEC3B3
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c2cf46;
/* rgb */ color: rgb(194, 207, 70);
/* oklch */ color: oklch(81.9% 0.158 114.6);
Tailwind
colors: {
  custom: {
    50: '#d8dd81',
    500: '#c2cf46',
    950: '#000000',
  },
}
SCSS
$custom: #c2cf46;
$custom-light: #d8dd81;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cf46",
  "rgb": {
    "r": 194,
    "g": 207,
    "b": 70
  },
  "hsl": {
    "h": 65.693,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.81938,
    "c": 0.15782,
    "h": 114.6
  },
  "luminance": 0.56537
}

Semantic roles & 50–950 ramp

primary
#C2CF46
secondary
#3E3683
accent
#46E255
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C2CF46

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

Preview Lab → · Contrast checker → · Palette generator →

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