#C5D256#C5D256

#C5D256 is a very light, vivid yellow. Relative luminance 0.586; OKLCH L 83.0% C 0.148 H 114.7°. Best body text is #000000 at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#C5D256
RGBrgb(197, 210, 86)
HSLhsl(66, 58%, 58%)
HSVhsv(66, 59%, 82%)
CMYKcmyk(6.2%, 0%, 59%, 17.6%)
CIE-LABlab(81.09, -21.01, 58.44)
CIE-LCHlch(81.09, 62.10, 109.77°)
OKLaboklab(82.97% -0.0619 0.1345)
OKLCHoklch(82.97% 0.148 114.7)
XYZxyz(47.7533, 58.6361, 17.6046)
Luminance0.5864 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5D256 #6356D2
analogous
#D2A156 #C5D256 #87D256
triadic
#C5D256 #56C5D2 #D256C5
tetradic
#C5D256 #56D2A1 #6356D2 #D25687
square
#C5D256 #56D2A1 #6356D2 #D25687
split-complementary
#C5D256 #5687D2 #A156D2
monochromatic
#7F8925 #ABB931 #C5D256 #D6DF86 #E6ECB7

Accessibility & contrast

On white

1.65
#C5D256 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.73
#C5D256 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5D256
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5D256#FFFFFF#000000##000000
##C5D2561.001.6512.7312.73
#FFFFFF1.651.0021.0021.00
#00000012.7321.001.001.00
##00000012.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C848
Deuteranopia (green-blind)
#DFCB5E
Tritanopia (blue-blind)
#D1C7B8
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #c5d256;
/* rgb */ color: rgb(197, 210, 86);
/* oklch */ color: oklch(83.0% 0.148 114.7);
Tailwind
colors: {
  custom: {
    50: '#d9df8a',
    500: '#c5d256',
    950: '#000000',
  },
}
SCSS
$custom: #c5d256;
$custom-light: #d9df8a;
$custom-dark: #000000;
JSON
{
  "hex": "#c5d256",
  "rgb": {
    "r": 197,
    "g": 210,
    "b": 86
  },
  "hsl": {
    "h": 66.29,
    "s": 57.944,
    "l": 58.039
  },
  "oklch": {
    "l": 0.82974,
    "c": 0.14809,
    "h": 114.7
  },
  "luminance": 0.58635
}

Semantic roles & 50–950 ramp

primary
#C5D256
secondary
#453D90
accent
#47E157
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C5D256

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

Preview Lab → · Contrast checker → · Palette generator →

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