#C2CE31#C2CE31

#C2CE31 is a light, vivid yellow. Relative luminance 0.558; OKLCH L 81.6% C 0.169 H 114.1°. Best body text is #000000 at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#C2CE31
RGBrgb(194, 206, 49)
HSLhsl(65, 62%, 50%)
HSVhsv(65, 76%, 81%)
CMYKcmyk(5.8%, 0%, 76.2%, 19.2%)
CIE-LABlab(79.52, -22.39, 70.65)
CIE-LCHlch(79.52, 74.11, 107.58°)
OKLaboklab(81.58% -0.069 0.1547)
OKLCHoklch(81.58% 0.169 114.1)
XYZxyz(44.8752, 55.8346, 11.3183)
Luminance0.5583 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CE31 #3D31CE
analogous
#CE8C31 #C2CE31 #73CE31
triadic
#C2CE31 #31C2CE #CE31C2
tetradic
#C2CE31 #31CE8C #3D31CE #CE3173
square
#C2CE31 #31CE8C #3D31CE #CE3173
split-complementary
#C2CE31 #3173CE #8C31CE
monochromatic
#656B19 #939D25 #C2CE31 #D1DA62 #DFE694

Accessibility & contrast

On white

1.73
#C2CE31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.17
#C2CE31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CE31
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CE31#FFFFFF#000000##000000
##C2CE311.001.7312.1712.17
#FFFFFF1.731.0021.0021.00
#00000012.1721.001.001.00
##00000012.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC402
Deuteranopia (green-blind)
#DDC63F
Tritanopia (blue-blind)
#CFC2B1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c2ce31;
/* rgb */ color: rgb(194, 206, 49);
/* oklch */ color: oklch(81.6% 0.169 114.1);
Tailwind
colors: {
  custom: {
    50: '#d8dc76',
    500: '#c2ce31',
    950: '#000000',
  },
}
SCSS
$custom: #c2ce31;
$custom-light: #d8dc76;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ce31",
  "rgb": {
    "r": 194,
    "g": 206,
    "b": 49
  },
  "hsl": {
    "h": 64.586,
    "s": 61.569,
    "l": 50
  },
  "oklch": {
    "l": 0.81578,
    "c": 0.16939,
    "h": 114.1
  },
  "luminance": 0.55834
}

Semantic roles & 50–950 ramp

primary
#C2CE31
secondary
#342E75
accent
#43E54F
background
#FEFEFB
surface
#FCFCF1
border
#D5D5CB
text
#151509
muted
#84847D

Preview Lab

Preview with #C2CE31

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

Preview Lab → · Contrast checker → · Palette generator →

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