#C5CE3B#C5CE3B

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

Color values

HEX#C5CE3B
RGBrgb(197, 206, 59)
HSLhsl(64, 60%, 52%)
HSVhsv(64, 71%, 81%)
CMYKcmyk(4.4%, 0%, 71.4%, 19.2%)
CIE-LABlab(79.80, -20.69, 67.73)
CIE-LCHlch(79.80, 70.82, 106.99°)
OKLaboklab(81.88% -0.0636 0.1501)
OKLCHoklch(81.88% 0.163 113)
XYZxyz(45.8881, 56.3297, 12.5923)
Luminance0.5633 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CE3B #443BCE
analogous
#CE8D3B #C5CE3B #7CCE3B
triadic
#C5CE3B #3BC5CE #CE3BC5
tetradic
#C5CE3B #3BCE8D #443BCE #CE3B7C
square
#C5CE3B #3BCE8D #443BCE #CE3B7C
split-complementary
#C5CE3B #3B7CCE #8D3BCE
monochromatic
#6D721D #9CA329 #C5CE3B #D3DA6C #E2E69D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5CE3B#FFFFFF#000000##000000
##C5CE3B1.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)
#DDC420
Deuteranopia (green-blind)
#DDC747
Tritanopia (blue-blind)
#D2C2B2
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c5ce3b;
/* rgb */ color: rgb(197, 206, 59);
/* oklch */ color: oklch(81.9% 0.163 113.0);
Tailwind
colors: {
  custom: {
    50: '#dadc7b',
    500: '#c5ce3b',
    950: '#000000',
  },
}
SCSS
$custom: #c5ce3b;
$custom-light: #dadc7b;
$custom-dark: #000000;
JSON
{
  "hex": "#c5ce3b",
  "rgb": {
    "r": 197,
    "g": 206,
    "b": 59
  },
  "hsl": {
    "h": 63.673,
    "s": 60,
    "l": 51.961
  },
  "oklch": {
    "l": 0.81877,
    "c": 0.16307,
    "h": 113
  },
  "luminance": 0.56329
}

Semantic roles & 50–950 ramp

primary
#C5CE3B
secondary
#37327B
accent
#45E34E
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C5CE3B

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

Preview Lab → · Contrast checker → · Palette generator →

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