#C5CF56#C5CF56

#C5CF56 is a very light, vivid yellow. Relative luminance 0.572; OKLCH L 82.3% C 0.145 H 113.5°. Best body text is #000000 at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#C5CF56
RGBrgb(197, 207, 86)
HSLhsl(65, 56%, 57%)
HSVhsv(65, 58%, 81%)
CMYKcmyk(4.8%, 0%, 58.5%, 18.8%)
CIE-LABlab(80.27, -19.53, 57.54)
CIE-LCHlch(80.27, 60.77, 108.75°)
OKLaboklab(82.32% -0.0577 0.1326)
OKLCHoklch(82.32% 0.145 113.5)
XYZxyz(47.0196, 57.1687, 17.3600)
Luminance0.5717 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CF56 #6056CF
analogous
#CF9D56 #C5CF56 #88CF56
triadic
#C5CF56 #56C5CF #CF56C5
tetradic
#C5CF56 #56CF9D #6056CF #CF5688
square
#C5CF56 #56CF9D #6056CF #CF5688
split-complementary
#C5CF56 #5688CF #9D56CF
monochromatic
#7D8526 #AAB533 #C5CF56 #D5DD86 #E6EAB5

Accessibility & contrast

On white

1.69
#C5CF56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.43
#C5CF56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CF56
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CF56#FFFFFF#000000##000000
##C5CF561.001.6912.4312.43
#FFFFFF1.691.0021.0021.00
#00000012.4321.001.001.00
##00000012.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC648
Deuteranopia (green-blind)
#DDC85D
Tritanopia (blue-blind)
#D1C4B5
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #c5cf56;
/* rgb */ color: rgb(197, 207, 86);
/* oklch */ color: oklch(82.3% 0.145 113.5);
Tailwind
colors: {
  custom: {
    50: '#d9dd8a',
    500: '#c5cf56',
    950: '#000000',
  },
}
SCSS
$custom: #c5cf56;
$custom-light: #d9dd8a;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cf56",
  "rgb": {
    "r": 197,
    "g": 207,
    "b": 86
  },
  "hsl": {
    "h": 64.959,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.8232,
    "c": 0.14464,
    "h": 113.5
  },
  "luminance": 0.57168
}

Semantic roles & 50–950 ramp

primary
#C5CF56
secondary
#443D8C
accent
#49DF55
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C5CF56

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

Preview Lab → · Contrast checker → · Palette generator →

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