#C5CE42#C5CE42

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

Color values

HEX#C5CE42
RGBrgb(197, 206, 66)
HSLhsl(64, 59%, 53%)
HSVhsv(64, 68%, 81%)
CMYKcmyk(4.4%, 0%, 68%, 19.2%)
CIE-LABlab(79.85, -20.33, 65.24)
CIE-LCHlch(79.85, 68.34, 107.31°)
OKLaboklab(81.93% -0.062 0.146)
OKLCHoklch(81.93% 0.159 113)
XYZxyz(46.0820, 56.4073, 13.6134)
Luminance0.5641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CE42 #4B42CE
analogous
#CE9142 #C5CE42 #7FCE42
triadic
#C5CE42 #42C5CE #CE42C5
tetradic
#C5CE42 #42CE91 #4B42CE #CE427F
square
#C5CE42 #42CE91 #4B42CE #CE427F
split-complementary
#C5CE42 #427FCE #9142CE
monochromatic
#71771F #9FA72B #C5CE42 #D4DB73 #E3E7A3

Accessibility & contrast

On white

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

On black

12.28
#C5CE42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CE42
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CE42#FFFFFF#000000##000000
##C5CE421.001.7112.2812.28
#FFFFFF1.711.0021.0021.00
#00000012.2821.001.001.00
##00000012.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5ce42;
/* rgb */ color: rgb(197, 206, 66);
/* oklch */ color: oklch(81.9% 0.159 113.0);
Tailwind
colors: {
  custom: {
    50: '#dadc7e',
    500: '#c5ce42',
    950: '#000000',
  },
}
SCSS
$custom: #c5ce42;
$custom-light: #dadc7e;
$custom-dark: #000000;
JSON
{
  "hex": "#c5ce42",
  "rgb": {
    "r": 197,
    "g": 206,
    "b": 66
  },
  "hsl": {
    "h": 63.857,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.81926,
    "c": 0.15865,
    "h": 113
  },
  "luminance": 0.56406
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C5CE42

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

Preview Lab → · Contrast checker → · Palette generator →

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