#C5CE40#C5CE40

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

Color values

HEX#C5CE40
RGBrgb(197, 206, 64)
HSLhsl(64, 59%, 53%)
HSVhsv(64, 69%, 81%)
CMYKcmyk(4.4%, 0%, 68.9%, 19.2%)
CIE-LABlab(79.83, -20.44, 65.97)
CIE-LCHlch(79.83, 69.07, 107.21°)
OKLaboklab(81.91% -0.0625 0.1473)
OKLCHoklch(81.91% 0.16 113)
XYZxyz(46.0240, 56.3841, 13.3083)
Luminance0.5638 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CE40 #4940CE
analogous
#CE9040 #C5CE40 #7ECE40
triadic
#C5CE40 #40C5CE #CE40C5
tetradic
#C5CE40 #40CE90 #4940CE #CE407E
square
#C5CE40 #40CE90 #4940CE #CE407E
split-complementary
#C5CE40 #407ECE #9040CE
monochromatic
#70751E #9EA62B #C5CE40 #D4DA71 #E3E7A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5CE40#FFFFFF#000000##000000
##C5CE401.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)
#DDC429
Deuteranopia (green-blind)
#DDC74B
Tritanopia (blue-blind)
#D2C2B2
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c5ce40;
/* rgb */ color: rgb(197, 206, 64);
/* oklch */ color: oklch(81.9% 0.160 113.0);
Tailwind
colors: {
  custom: {
    50: '#dadc7d',
    500: '#c5ce40',
    950: '#000000',
  },
}
SCSS
$custom: #c5ce40;
$custom-light: #dadc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c5ce40",
  "rgb": {
    "r": 197,
    "g": 206,
    "b": 64
  },
  "hsl": {
    "h": 63.803,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.81911,
    "c": 0.15996,
    "h": 113
  },
  "luminance": 0.56383
}

Semantic roles & 50–950 ramp

primary
#C5CE40
secondary
#39347E
accent
#45E24F
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C5CE40

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

Preview Lab → · Contrast checker → · Palette generator →

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