#C7C855#C7C855

#C7C855 is a light, vivid yellow. Relative luminance 0.541; OKLCH L 81.0% C 0.137 H 109.6°. Best body text is #000000 at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#C7C855
RGBrgb(199, 200, 85)
HSLhsl(61, 51%, 56%)
HSVhsv(61, 58%, 78%)
CMYKcmyk(0.5%, 0%, 57.5%, 21.6%)
CIE-LABlab(78.52, -15.30, 56.08)
CIE-LCHlch(78.52, 58.13, 105.26°)
OKLaboklab(80.96% -0.046 0.1294)
OKLCHoklch(80.96% 0.137 109.6)
XYZxyz(45.8484, 54.1077, 16.6212)
Luminance0.5411 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C855 #5655C8
analogous
#C88F55 #C7C855 #8DC855
triadic
#C7C855 #55C7C8 #C855C7
tetradic
#C7C855 #55C88F #5655C8 #C8558D
square
#C7C855 #55C88F #5655C8 #C8558D
split-complementary
#C7C855 #558DC8 #8F55C8
monochromatic
#7A7B28 #A8A937 #C7C855 #D6D783 #E5E6B1

Accessibility & contrast

On white

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

On black

11.82
#C7C855 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C855
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C855#FFFFFF#000000##000000
##C7C8551.001.7811.8211.82
#FFFFFF1.781.0021.0021.00
#00000011.8221.001.001.00
##00000011.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C048
Deuteranopia (green-blind)
#D8C45C
Tritanopia (blue-blind)
#D4BDAF
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c7c855;
/* rgb */ color: rgb(199, 200, 85);
/* oklch */ color: oklch(81.0% 0.137 109.6);
Tailwind
colors: {
  custom: {
    50: '#dbd889',
    500: '#c7c855',
    950: '#000000',
  },
}
SCSS
$custom: #c7c855;
$custom-light: #dbd889;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c855",
  "rgb": {
    "r": 199,
    "g": 200,
    "b": 85
  },
  "hsl": {
    "h": 60.522,
    "s": 51.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.80957,
    "c": 0.13729,
    "h": 109.6
  },
  "luminance": 0.54107
}

Semantic roles & 50–950 ramp

primary
#C7C855
secondary
#3F3E83
accent
#4DDB4E
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C7C855

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

Preview Lab → · Contrast checker → · Palette generator →

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