#C4C855#C4C855

#C4C855 is a light, vivid yellow. Relative luminance 0.537; OKLCH L 80.7% C 0.138 H 111.0°. Best body text is #000000 at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#C4C855
RGBrgb(196, 200, 85)
HSLhsl(62, 51%, 56%)
HSVhsv(62, 58%, 78%)
CMYKcmyk(2%, 0%, 57.5%, 21.6%)
CIE-LABlab(78.29, -16.54, 55.75)
CIE-LCHlch(78.29, 58.16, 106.52°)
OKLaboklab(80.71% -0.0493 0.1287)
OKLCHoklch(80.71% 0.138 111)
XYZxyz(45.0601, 53.7012, 16.5843)
Luminance0.5370 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4C855 #5955C8
analogous
#C89255 #C4C855 #8AC855
triadic
#C4C855 #55C4C8 #C855C4
tetradic
#C4C855 #55C892 #5955C8 #C8558A
square
#C4C855 #55C892 #5955C8 #C8558A
split-complementary
#C4C855 #558AC8 #9255C8
monochromatic
#787B28 #A5A937 #C4C855 #D4D783 #E4E6B1

Accessibility & contrast

On white

1.79
#C4C855 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.74
#C4C855 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4C855
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4C855#FFFFFF#000000##000000
##C4C8551.001.7911.7411.74
#FFFFFF1.791.0021.0021.00
#00000011.7421.001.001.00
##00000011.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C048
Deuteranopia (green-blind)
#D7C35C
Tritanopia (blue-blind)
#D0BDAF
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c4c855;
/* rgb */ color: rgb(196, 200, 85);
/* oklch */ color: oklch(80.7% 0.138 111.0);
Tailwind
colors: {
  custom: {
    50: '#d8d889',
    500: '#c4c855',
    950: '#000000',
  },
}
SCSS
$custom: #c4c855;
$custom-light: #d8d889;
$custom-dark: #000000;
JSON
{
  "hex": "#c4c855",
  "rgb": {
    "r": 196,
    "g": 200,
    "b": 85
  },
  "hsl": {
    "h": 62.087,
    "s": 51.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.8071,
    "c": 0.13784,
    "h": 111
  },
  "luminance": 0.537
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C4C855

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

Preview Lab → · Contrast checker → · Palette generator →

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