#C2CE42#C2CE42

#C2CE42 is a light, vivid yellow. Relative luminance 0.560; OKLCH L 81.7% C 0.159 H 114.2°. Best body text is #000000 at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#C2CE42
RGBrgb(194, 206, 66)
HSLhsl(65, 59%, 53%)
HSVhsv(65, 68%, 81%)
CMYKcmyk(5.8%, 0%, 68%, 19.2%)
CIE-LABlab(79.62, -21.57, 64.94)
CIE-LCHlch(79.62, 68.43, 108.37°)
OKLaboklab(81.69% -0.0653 0.1455)
OKLCHoklch(81.69% 0.159 114.2)
XYZxyz(45.3040, 56.0061, 13.5769)
Luminance0.5601 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CE42 #4E42CE
analogous
#CE9442 #C2CE42 #7CCE42
triadic
#C2CE42 #42C2CE #CE42C2
tetradic
#C2CE42 #42CE94 #4E42CE #CE427C
square
#C2CE42 #42CE94 #4E42CE #CE427C
split-complementary
#C2CE42 #427CCE #9442CE
monochromatic
#6F771F #9DA72B #C2CE42 #D2DB73 #E1E7A3

Accessibility & contrast

On white

1.72
#C2CE42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.20
#C2CE42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CE42
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CE42#FFFFFF#000000##000000
##C2CE421.001.7212.2012.20
#FFFFFF1.721.0021.0021.00
#00000012.2021.001.001.00
##00000012.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC42C
Deuteranopia (green-blind)
#DCC74C
Tritanopia (blue-blind)
#CEC2B2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c2ce42;
/* rgb */ color: rgb(194, 206, 66);
/* oklch */ color: oklch(81.7% 0.159 114.2);
Tailwind
colors: {
  custom: {
    50: '#d8dc7e',
    500: '#c2ce42',
    950: '#000000',
  },
}
SCSS
$custom: #c2ce42;
$custom-light: #d8dc7e;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ce42",
  "rgb": {
    "r": 194,
    "g": 206,
    "b": 66
  },
  "hsl": {
    "h": 65.143,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.81687,
    "c": 0.15946,
    "h": 114.2
  },
  "luminance": 0.56005
}

Semantic roles & 50–950 ramp

primary
#C2CE42
secondary
#3B357F
accent
#46E253
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C2CE42

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

Preview Lab → · Contrast checker → · Palette generator →

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