#C2CE40#C2CE40

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

Color values

HEX#C2CE40
RGBrgb(194, 206, 64)
HSLhsl(65, 59%, 53%)
HSVhsv(65, 69%, 81%)
CMYKcmyk(5.8%, 0%, 68.9%, 19.2%)
CIE-LABlab(79.60, -21.68, 65.67)
CIE-LCHlch(79.60, 69.16, 108.27°)
OKLaboklab(81.67% -0.0658 0.1467)
OKLCHoklch(81.67% 0.161 114.2)
XYZxyz(45.2461, 55.9830, 13.2718)
Luminance0.5598 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CE40 #4C40CE
analogous
#CE9340 #C2CE40 #7BCE40
triadic
#C2CE40 #40C2CE #CE40C2
tetradic
#C2CE40 #40CE93 #4C40CE #CE407B
square
#C2CE40 #40CE93 #4C40CE #CE407B
split-complementary
#C2CE40 #407BCE #9340CE
monochromatic
#6E751E #9CA62B #C2CE40 #D2DA71 #E1E7A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2CE40#FFFFFF#000000##000000
##C2CE401.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)
#DDC429
Deuteranopia (green-blind)
#DCC74B
Tritanopia (blue-blind)
#CFC2B2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c2ce40;
/* rgb */ color: rgb(194, 206, 64);
/* oklch */ color: oklch(81.7% 0.161 114.2);
Tailwind
colors: {
  custom: {
    50: '#d8dc7d',
    500: '#c2ce40',
    950: '#000000',
  },
}
SCSS
$custom: #c2ce40;
$custom-light: #d8dc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ce40",
  "rgb": {
    "r": 194,
    "g": 206,
    "b": 64
  },
  "hsl": {
    "h": 65.07,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.81673,
    "c": 0.16077,
    "h": 114.2
  },
  "luminance": 0.55982
}

Semantic roles & 50–950 ramp

primary
#C2CE40
secondary
#3A347E
accent
#45E253
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C2CE40

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

Preview Lab → · Contrast checker → · Palette generator →

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