#C7C357#C7C357

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

Color values

HEX#C7C357
RGBrgb(199, 195, 87)
HSLhsl(58, 50%, 56%)
HSVhsv(58, 56%, 78%)
CMYKcmyk(0%, 2%, 56.3%, 22%)
CIE-LABlab(77.20, -12.63, 53.70)
CIE-LCHlch(77.20, 55.17, 103.23°)
OKLaboklab(79.91% -0.0382 0.1245)
OKLCHoklch(79.91% 0.13 107)
XYZxyz(44.7899, 51.8618, 16.6659)
Luminance0.5186 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C357 #575BC7
analogous
#C78B57 #C7C357 #93C757
triadic
#C7C357 #57C7C3 #C357C7
tetradic
#C7C357 #57C78B #575BC7 #C75793
square
#C7C357 #57C78B #575BC7 #C75793
split-complementary
#C7C357 #5793C7 #8B57C7
monochromatic
#7B7829 #A9A538 #C7C357 #D6D385 #E6E4B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7C357#FFFFFF#000000##000000
##C7C3571.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)
#D2BC4C
Deuteranopia (green-blind)
#D4C15D
Tritanopia (blue-blind)
#D4B8AB
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #c7c357;
/* rgb */ color: rgb(199, 195, 87);
/* oklch */ color: oklch(79.9% 0.130 107.0);
Tailwind
colors: {
  custom: {
    50: '#dad48a',
    500: '#c7c357',
    950: '#000000',
  },
}
SCSS
$custom: #c7c357;
$custom-light: #dad48a;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c357",
  "rgb": {
    "r": 199,
    "g": 195,
    "b": 87
  },
  "hsl": {
    "h": 57.857,
    "s": 50,
    "l": 56.078
  },
  "oklch": {
    "l": 0.79906,
    "c": 0.13023,
    "h": 107
  },
  "luminance": 0.5186
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C7C357

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

Preview Lab → · Contrast checker → · Palette generator →

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