#C5C855#C5C855

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

Color values

HEX#C5C855
RGBrgb(197, 200, 85)
HSLhsl(62, 51%, 56%)
HSVhsv(62, 58%, 78%)
CMYKcmyk(1.5%, 0%, 57.5%, 21.6%)
CIE-LABlab(78.37, -16.13, 55.86)
CIE-LCHlch(78.37, 58.15, 106.10°)
OKLaboklab(80.79% -0.0482 0.1289)
OKLCHoklch(80.79% 0.138 110.5)
XYZxyz(45.3211, 53.8358, 16.5965)
Luminance0.5383 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C855 #5855C8
analogous
#C89155 #C5C855 #8BC855
triadic
#C5C855 #55C5C8 #C855C5
tetradic
#C5C855 #55C891 #5855C8 #C8558B
square
#C5C855 #55C891 #5855C8 #C8558B
split-complementary
#C5C855 #558BC8 #9155C8
monochromatic
#797B28 #A6A937 #C5C855 #D5D783 #E5E6B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5C855#FFFFFF#000000##000000
##C5C8551.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)
#D6C048
Deuteranopia (green-blind)
#D7C45C
Tritanopia (blue-blind)
#D1BDAF
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c5c855;
/* rgb */ color: rgb(197, 200, 85);
/* oklch */ color: oklch(80.8% 0.138 110.5);
Tailwind
colors: {
  custom: {
    50: '#d9d889',
    500: '#c5c855',
    950: '#000000',
  },
}
SCSS
$custom: #c5c855;
$custom-light: #d9d889;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c855",
  "rgb": {
    "r": 197,
    "g": 200,
    "b": 85
  },
  "hsl": {
    "h": 61.565,
    "s": 51.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.80792,
    "c": 0.13765,
    "h": 110.5
  },
  "luminance": 0.53835
}

Semantic roles & 50–950 ramp

primary
#C5C855
secondary
#403E83
accent
#4DDB51
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C5C855

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

Preview Lab → · Contrast checker → · Palette generator →

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