#C2CE5A#C2CE5A

#C2CE5A is a light, vivid yellow. Relative luminance 0.564; OKLCH L 81.9% C 0.141 H 114.5°. Best body text is #000000 at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#C2CE5A
RGBrgb(194, 206, 90)
HSLhsl(66, 54%, 58%)
HSVhsv(66, 56%, 81%)
CMYKcmyk(5.8%, 0%, 56.3%, 19.2%)
CIE-LABlab(79.81, -19.95, 55.19)
CIE-LCHlch(79.81, 58.69, 109.88°)
OKLaboklab(81.91% -0.0583 0.1281)
OKLCHoklch(81.91% 0.141 114.5)
XYZxyz(46.1658, 56.3509, 18.1157)
Luminance0.5635 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CE5A #665ACE
analogous
#CEA05A #C2CE5A #88CE5A
triadic
#C2CE5A #5AC2CE #CE5AC2
tetradic
#C2CE5A #5ACEA0 #665ACE #CE5A88
square
#C2CE5A #5ACEA0 #665ACE #CE5A88
split-complementary
#C2CE5A #5A88CE #A05ACE
monochromatic
#7C8628 #A8B536 #C2CE5A #D3DC89 #E5EAB8

Accessibility & contrast

On white

1.71
#C2CE5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.27
#C2CE5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CE5A
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CE5A#FFFFFF#000000##000000
##C2CE5A1.001.7112.2712.27
#FFFFFF1.711.0021.0021.00
#00000012.2721.001.001.00
##00000012.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC54E
Deuteranopia (green-blind)
#DBC761
Tritanopia (blue-blind)
#CDC3B5
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c2ce5a;
/* rgb */ color: rgb(194, 206, 90);
/* oklch */ color: oklch(81.9% 0.141 114.5);
Tailwind
colors: {
  custom: {
    50: '#d7dc8d',
    500: '#c2ce5a',
    950: '#000000',
  },
}
SCSS
$custom: #c2ce5a;
$custom-light: #d7dc8d;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ce5a",
  "rgb": {
    "r": 194,
    "g": 206,
    "b": 90
  },
  "hsl": {
    "h": 66.207,
    "s": 54.206,
    "l": 58.039
  },
  "oklch": {
    "l": 0.81907,
    "c": 0.14079,
    "h": 114.5
  },
  "luminance": 0.5635
}

Semantic roles & 50–950 ramp

primary
#C2CE5A
secondary
#473F8D
accent
#4ADE59
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C2CE5A

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

Preview Lab → · Contrast checker → · Palette generator →

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