#C2CE51#C2CE51

#C2CE51 is a light, vivid yellow. Relative luminance 0.562; OKLCH L 81.8% C 0.148 H 114.3°. Best body text is #000000 at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#C2CE51
RGBrgb(194, 206, 81)
HSLhsl(66, 56%, 56%)
HSVhsv(66, 61%, 81%)
CMYKcmyk(5.8%, 0%, 60.7%, 19.2%)
CIE-LABlab(79.73, -20.63, 59.03)
CIE-LCHlch(79.73, 62.53, 109.26°)
OKLaboklab(81.82% -0.0611 0.1352)
OKLCHoklch(81.82% 0.148 114.3)
XYZxyz(45.8057, 56.2068, 16.2190)
Luminance0.5621 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CE51 #5D51CE
analogous
#CE9C51 #C2CE51 #84CE51
triadic
#C2CE51 #51C2CE #CE51C2
tetradic
#C2CE51 #51CE9C #5D51CE #CE5184
square
#C2CE51 #51CE9C #5D51CE #CE5184
split-complementary
#C2CE51 #5184CE #9C51CE
monochromatic
#788024 #A4B032 #C2CE51 #D3DB81 #E3E9B1

Accessibility & contrast

On white

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

On black

12.24
#C2CE51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CE51
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CE51#FFFFFF#000000##000000
##C2CE511.001.7212.2412.24
#FFFFFF1.721.0021.0021.00
#00000012.2421.001.001.00
##00000012.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC542
Deuteranopia (green-blind)
#DBC759
Tritanopia (blue-blind)
#CEC3B4
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c2ce51;
/* rgb */ color: rgb(194, 206, 81);
/* oklch */ color: oklch(81.8% 0.148 114.3);
Tailwind
colors: {
  custom: {
    50: '#d7dc87',
    500: '#c2ce51',
    950: '#000000',
  },
}
SCSS
$custom: #c2ce51;
$custom-light: #d7dc87;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ce51",
  "rgb": {
    "r": 194,
    "g": 206,
    "b": 81
  },
  "hsl": {
    "h": 65.76,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.81815,
    "c": 0.1484,
    "h": 114.3
  },
  "luminance": 0.56206
}

Semantic roles & 50–950 ramp

primary
#C2CE51
secondary
#433B88
accent
#48DF57
background
#FEFEFC
surface
#FCFCF3
border
#D5D5CD
text
#15150C
muted
#84847F

Preview Lab

Preview with #C2CE51

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

Preview Lab → · Contrast checker → · Palette generator →

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