#C2CE3A#C2CE3A

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

Color values

HEX#C2CE3A
RGBrgb(194, 206, 58)
HSLhsl(65, 60%, 52%)
HSVhsv(65, 72%, 81%)
CMYKcmyk(5.8%, 0%, 71.8%, 19.2%)
CIE-LABlab(79.57, -21.99, 67.77)
CIE-LCHlch(79.57, 71.25, 107.97°)
OKLaboklab(81.63% -0.0672 0.1501)
OKLCHoklch(81.63% 0.164 114.1)
XYZxyz(45.0845, 55.9183, 12.4205)
Luminance0.5592 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CE3A #463ACE
analogous
#CE903A #C2CE3A #78CE3A
triadic
#C2CE3A #3AC2CE #CE3AC2
tetradic
#C2CE3A #3ACE90 #463ACE #CE3A78
square
#C2CE3A #3ACE90 #463ACE #CE3A78
split-complementary
#C2CE3A #3A78CE #903ACE
monochromatic
#6A711C #99A228 #C2CE3A #D1DA6B #E0E69C

Accessibility & contrast

On white

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

On black

12.18
#C2CE3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CE3A
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CE3A#FFFFFF#000000##000000
##C2CE3A1.001.7212.1812.18
#FFFFFF1.721.0021.0021.00
#00000012.1821.001.001.00
##00000012.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2ce3a;
/* rgb */ color: rgb(194, 206, 58);
/* oklch */ color: oklch(81.6% 0.164 114.1);
Tailwind
colors: {
  custom: {
    50: '#d8dc7a',
    500: '#c2ce3a',
    950: '#000000',
  },
}
SCSS
$custom: #c2ce3a;
$custom-light: #d8dc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ce3a",
  "rgb": {
    "r": 194,
    "g": 206,
    "b": 58
  },
  "hsl": {
    "h": 64.865,
    "s": 60.163,
    "l": 51.765
  },
  "oklch": {
    "l": 0.81631,
    "c": 0.16448,
    "h": 114.1
  },
  "luminance": 0.55917
}

Semantic roles & 50–950 ramp

primary
#C2CE3A
secondary
#38327A
accent
#44E351
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C2CE3A

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

Preview Lab → · Contrast checker → · Palette generator →

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