#C7C355#C7C355

#C7C355 is a light, vivid yellow. Relative luminance 0.518; OKLCH L 79.9% C 0.132 H 107.1°. Best body text is #000000 at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#C7C355
RGBrgb(199, 195, 85)
HSLhsl(58, 50%, 56%)
HSVhsv(58, 57%, 78%)
CMYKcmyk(0%, 2%, 57.3%, 22%)
CIE-LABlab(77.18, -12.78, 54.58)
CIE-LCHlch(77.18, 56.06, 103.17°)
OKLaboklab(79.88% -0.0388 0.1262)
OKLCHoklch(79.88% 0.132 107.1)
XYZxyz(44.7093, 51.8295, 16.2415)
Luminance0.5183 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C355 #5559C7
analogous
#C78A55 #C7C355 #92C755
triadic
#C7C355 #55C7C3 #C355C7
tetradic
#C7C355 #55C78A #5559C7 #C75592
square
#C7C355 #55C78A #5559C7 #C75592
split-complementary
#C7C355 #5592C7 #8A55C7
monochromatic
#7A7728 #A8A437 #C7C355 #D6D383 #E5E3B1

Accessibility & contrast

On white

1.85
#C7C355 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.37
#C7C355 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C355
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C355#FFFFFF#000000##000000
##C7C3551.001.8511.3711.37
#FFFFFF1.851.0021.0021.00
#00000011.3721.001.001.00
##00000011.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC49
Deuteranopia (green-blind)
#D4C15B
Tritanopia (blue-blind)
#D4B8AB
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #c7c355;
/* rgb */ color: rgb(199, 195, 85);
/* oklch */ color: oklch(79.9% 0.132 107.1);
Tailwind
colors: {
  custom: {
    50: '#dad489',
    500: '#c7c355',
    950: '#000000',
  },
}
SCSS
$custom: #c7c355;
$custom-light: #dad489;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c355",
  "rgb": {
    "r": 199,
    "g": 195,
    "b": 85
  },
  "hsl": {
    "h": 57.895,
    "s": 50.442,
    "l": 55.686
  },
  "oklch": {
    "l": 0.79885,
    "c": 0.132,
    "h": 107.1
  },
  "luminance": 0.51828
}

Semantic roles & 50–950 ramp

primary
#C7C355
secondary
#3E4182
accent
#53DA4E
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C7C355

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

Preview Lab → · Contrast checker → · Palette generator →

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