#C5CE4F#C5CE4F

#C5CE4F is a very light, vivid yellow. Relative luminance 0.566; OKLCH L 82.0% C 0.149 H 113.1°. Best body text is #000000 at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#C5CE4F
RGBrgb(197, 206, 79)
HSLhsl(64, 56%, 56%)
HSVhsv(64, 62%, 81%)
CMYKcmyk(4.4%, 0%, 61.7%, 19.2%)
CIE-LABlab(79.94, -19.53, 60.17)
CIE-LCHlch(79.94, 63.26, 107.99°)
OKLaboklab(82.04% -0.0585 0.1373)
OKLCHoklch(82.04% 0.149 113.1)
XYZxyz(46.5097, 56.5784, 15.8663)
Luminance0.5658 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CE4F #584FCE
analogous
#CE974F #C5CE4F #85CE4F
triadic
#C5CE4F #4FC5CE #CE4FC5
tetradic
#C5CE4F #4FCE97 #584FCE #CE4F85
square
#C5CE4F #4FCE97 #584FCE #CE4F85
split-complementary
#C5CE4F #4F85CE #974FCE
monochromatic
#797F23 #A6AF31 #C5CE4F #D5DB7F #E5E9AF

Accessibility & contrast

On white

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

On black

12.32
#C5CE4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CE4F
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CE4F#FFFFFF#000000##000000
##C5CE4F1.001.7112.3212.32
#FFFFFF1.711.0021.0021.00
#00000012.3221.001.001.00
##00000012.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC53F
Deuteranopia (green-blind)
#DCC857
Tritanopia (blue-blind)
#D1C2B3
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c5ce4f;
/* rgb */ color: rgb(197, 206, 79);
/* oklch */ color: oklch(82.0% 0.149 113.1);
Tailwind
colors: {
  custom: {
    50: '#d9dc86',
    500: '#c5ce4f',
    950: '#000000',
  },
}
SCSS
$custom: #c5ce4f;
$custom-light: #d9dc86;
$custom-dark: #000000;
JSON
{
  "hex": "#c5ce4f",
  "rgb": {
    "r": 197,
    "g": 206,
    "b": 79
  },
  "hsl": {
    "h": 64.252,
    "s": 56.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.82035,
    "c": 0.14922,
    "h": 113.1
  },
  "luminance": 0.56577
}

Semantic roles & 50–950 ramp

primary
#C5CE4F
secondary
#403A87
accent
#48E053
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C5CE4F

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

Preview Lab → · Contrast checker → · Palette generator →

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