#C5CE3F#C5CE3F

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

Color values

HEX#C5CE3F
RGBrgb(197, 206, 63)
HSLhsl(64, 59%, 53%)
HSVhsv(64, 69%, 81%)
CMYKcmyk(4.4%, 0%, 69.4%, 19.2%)
CIE-LABlab(79.83, -20.49, 66.33)
CIE-LCHlch(79.83, 69.42, 107.17°)
OKLaboklab(81.9% -0.0627 0.1479)
OKLCHoklch(81.9% 0.161 113)
XYZxyz(45.9958, 56.3728, 13.1597)
Luminance0.5637 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CE3F #483FCE
analogous
#CE8F3F #C5CE3F #7ECE3F
triadic
#C5CE3F #3FC5CE #CE3FC5
tetradic
#C5CE3F #3FCE8F #483FCE #CE3F7E
square
#C5CE3F #3FCE8F #483FCE #CE3F7E
split-complementary
#C5CE3F #3F7ECE #8F3FCE
monochromatic
#6F751E #9EA62A #C5CE3F #D4DA70 #E2E7A1

Accessibility & contrast

On white

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

On black

12.27
#C5CE3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CE3F
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CE3F#FFFFFF#000000##000000
##C5CE3F1.001.7112.2712.27
#FFFFFF1.711.0021.0021.00
#00000012.2721.001.001.00
##00000012.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5ce3f;
/* rgb */ color: rgb(197, 206, 63);
/* oklch */ color: oklch(81.9% 0.161 113.0);
Tailwind
colors: {
  custom: {
    50: '#dadc7d',
    500: '#c5ce3f',
    950: '#000000',
  },
}
SCSS
$custom: #c5ce3f;
$custom-light: #dadc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c5ce3f",
  "rgb": {
    "r": 197,
    "g": 206,
    "b": 63
  },
  "hsl": {
    "h": 63.776,
    "s": 59.336,
    "l": 52.745
  },
  "oklch": {
    "l": 0.81904,
    "c": 0.1606,
    "h": 113
  },
  "luminance": 0.56372
}

Semantic roles & 50–950 ramp

primary
#C5CE3F
secondary
#38347D
accent
#45E34F
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C5CE3F

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

Preview Lab → · Contrast checker → · Palette generator →

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