#C5CE2E#C5CE2E

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

Color values

HEX#C5CE2E
RGBrgb(197, 206, 46)
HSLhsl(63, 63%, 49%)
HSVhsv(63, 78%, 81%)
CMYKcmyk(4.4%, 0%, 77.7%, 19.2%)
CIE-LABlab(79.73, -21.25, 71.82)
CIE-LCHlch(79.73, 74.90, 106.48°)
OKLaboklab(81.8% -0.0663 0.1565)
OKLCHoklch(81.8% 0.17 112.9)
XYZxyz(45.5919, 56.2112, 11.0324)
Luminance0.5621 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CE2E #372ECE
analogous
#CE872E #C5CE2E #75CE2E
triadic
#C5CE2E #2EC5CE #CE2EC5
tetradic
#C5CE2E #2ECE87 #372ECE #CE2E75
square
#C5CE2E #2ECE87 #372ECE #CE2E75
split-complementary
#C5CE2E #2E75CE #872ECE
monochromatic
#656A18 #959C23 #C5CE2E #D4DB5E #E1E690

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5CE2E#FFFFFF#000000##000000
##C5CE2E1.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)
#DEC400
Deuteranopia (green-blind)
#DEC73D
Tritanopia (blue-blind)
#D3C1B1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c5ce2e;
/* rgb */ color: rgb(197, 206, 46);
/* oklch */ color: oklch(81.8% 0.170 112.9);
Tailwind
colors: {
  custom: {
    50: '#dbdc75',
    500: '#c5ce2e',
    950: '#000000',
  },
}
SCSS
$custom: #c5ce2e;
$custom-light: #dbdc75;
$custom-dark: #000000;
JSON
{
  "hex": "#c5ce2e",
  "rgb": {
    "r": 197,
    "g": 206,
    "b": 46
  },
  "hsl": {
    "h": 63.375,
    "s": 63.492,
    "l": 49.412
  },
  "oklch": {
    "l": 0.81802,
    "c": 0.16999,
    "h": 112.9
  },
  "luminance": 0.5621
}

Semantic roles & 50–950 ramp

primary
#C5CE2E
secondary
#312D74
accent
#41E74B
background
#FEFEFB
surface
#FCFCF1
border
#D5D5CB
text
#151509
muted
#84847D

Preview Lab

Preview with #C5CE2E

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

Preview Lab → · Contrast checker → · Palette generator →

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