#C2CE52#C2CE52

#C2CE52 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#C2CE52
RGBrgb(194, 206, 82)
HSLhsl(66, 56%, 56%)
HSVhsv(66, 60%, 81%)
CMYKcmyk(5.8%, 0%, 60.2%, 19.2%)
CIE-LABlab(79.74, -20.55, 58.62)
CIE-LCHlch(79.74, 62.12, 109.32°)
OKLaboklab(81.83% -0.0608 0.1345)
OKLCHoklch(81.83% 0.148 114.3)
XYZxyz(45.8435, 56.2219, 16.4179)
Luminance0.5622 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CE52 #5E52CE
analogous
#CE9C52 #C2CE52 #84CE52
triadic
#C2CE52 #52C2CE #CE52C2
tetradic
#C2CE52 #52CE9C #5E52CE #CE5284
square
#C2CE52 #52CE9C #5E52CE #CE5284
split-complementary
#C2CE52 #5284CE #9C52CE
monochromatic
#788125 #A4B132 #C2CE52 #D3DC82 #E4E9B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2CE52#FFFFFF#000000##000000
##C2CE521.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)
#DCC544
Deuteranopia (green-blind)
#DBC75A
Tritanopia (blue-blind)
#CEC3B4
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c2ce52;
/* rgb */ color: rgb(194, 206, 82);
/* oklch */ color: oklch(81.8% 0.148 114.3);
Tailwind
colors: {
  custom: {
    50: '#d7dc88',
    500: '#c2ce52',
    950: '#000000',
  },
}
SCSS
$custom: #c2ce52;
$custom-light: #d7dc88;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ce52",
  "rgb": {
    "r": 194,
    "g": 206,
    "b": 82
  },
  "hsl": {
    "h": 65.806,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.81825,
    "c": 0.14758,
    "h": 114.3
  },
  "luminance": 0.56221
}

Semantic roles & 50–950 ramp

primary
#C2CE52
secondary
#433C88
accent
#49DF57
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C2CE52

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

Preview Lab → · Contrast checker → · Palette generator →

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