#C5CE45#C5CE45

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

Color values

HEX#C5CE45
RGBrgb(197, 206, 69)
HSLhsl(64, 58%, 54%)
HSVhsv(64, 67%, 81%)
CMYKcmyk(4.4%, 0%, 66.5%, 19.2%)
CIE-LABlab(79.87, -20.16, 64.12)
CIE-LCHlch(79.87, 67.22, 107.45°)
OKLaboklab(81.95% -0.0612 0.1442)
OKLCHoklch(81.95% 0.157 113)
XYZxyz(46.1727, 56.4436, 14.0915)
Luminance0.5644 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CE45 #4E45CE
analogous
#CE9345 #C5CE45 #81CE45
triadic
#C5CE45 #45C5CE #CE45C5
tetradic
#C5CE45 #45CE93 #4E45CE #CE4581
square
#C5CE45 #45CE93 #4E45CE #CE4581
split-complementary
#C5CE45 #4581CE #9345CE
monochromatic
#737920 #A1A92D #C5CE45 #D4DB75 #E3E8A6

Accessibility & contrast

On white

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

On black

12.29
#C5CE45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CE45
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CE45#FFFFFF#000000##000000
##C5CE451.001.7112.2912.29
#FFFFFF1.711.0021.0021.00
#00000012.2921.001.001.00
##00000012.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC431
Deuteranopia (green-blind)
#DDC74F
Tritanopia (blue-blind)
#D2C2B2
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c5ce45;
/* rgb */ color: rgb(197, 206, 69);
/* oklch */ color: oklch(81.9% 0.157 113.0);
Tailwind
colors: {
  custom: {
    50: '#dadc80',
    500: '#c5ce45',
    950: '#000000',
  },
}
SCSS
$custom: #c5ce45;
$custom-light: #dadc80;
$custom-dark: #000000;
JSON
{
  "hex": "#c5ce45",
  "rgb": {
    "r": 197,
    "g": 206,
    "b": 69
  },
  "hsl": {
    "h": 63.942,
    "s": 58.298,
    "l": 53.922
  },
  "oklch": {
    "l": 0.81949,
    "c": 0.15661,
    "h": 113
  },
  "luminance": 0.56443
}

Semantic roles & 50–950 ramp

primary
#C5CE45
secondary
#3B3681
accent
#46E250
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C5CE45

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

Preview Lab → · Contrast checker → · Palette generator →

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