#C5C856#C5C856

#C5C856 is a light, vivid yellow. Relative luminance 0.539; OKLCH L 80.8% C 0.137 H 110.5°. Best body text is #000000 at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#C5C856
RGBrgb(197, 200, 86)
HSLhsl(62, 51%, 56%)
HSVhsv(62, 57%, 78%)
CMYKcmyk(1.5%, 0%, 57%, 21.6%)
CIE-LABlab(78.38, -16.05, 55.43)
CIE-LCHlch(78.38, 57.71, 106.15°)
OKLaboklab(80.8% -0.0479 0.1281)
OKLCHoklch(80.8% 0.137 110.5)
XYZxyz(45.3611, 53.8518, 16.8072)
Luminance0.5385 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C856 #5956C8
analogous
#C89256 #C5C856 #8CC856
triadic
#C5C856 #56C5C8 #C856C5
tetradic
#C5C856 #56C892 #5956C8 #C8568C
square
#C5C856 #56C892 #5956C8 #C8568C
split-complementary
#C5C856 #568CC8 #9256C8
monochromatic
#797B28 #A7AA37 #C5C856 #D5D784 #E5E6B2

Accessibility & contrast

On white

1.78
#C5C856 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.77
#C5C856 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C856
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C856#FFFFFF#000000##000000
##C5C8561.001.7811.7711.77
#FFFFFF1.781.0021.0021.00
#00000011.7721.001.001.00
##00000011.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C04A
Deuteranopia (green-blind)
#D7C45D
Tritanopia (blue-blind)
#D1BDAF
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c5c856;
/* rgb */ color: rgb(197, 200, 86);
/* oklch */ color: oklch(80.8% 0.137 110.5);
Tailwind
colors: {
  custom: {
    50: '#d9d88a',
    500: '#c5c856',
    950: '#000000',
  },
}
SCSS
$custom: #c5c856;
$custom-light: #d9d88a;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c856",
  "rgb": {
    "r": 197,
    "g": 200,
    "b": 86
  },
  "hsl": {
    "h": 61.579,
    "s": 50.893,
    "l": 56.078
  },
  "oklch": {
    "l": 0.80803,
    "c": 0.13678,
    "h": 110.5
  },
  "luminance": 0.53851
}

Semantic roles & 50–950 ramp

primary
#C5C856
secondary
#403F84
accent
#4DDA51
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C5C856

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

Preview Lab → · Contrast checker → · Palette generator →

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