#C8C357#C8C357

#C8C357 is a light, vivid yellow. Relative luminance 0.520; OKLCH L 80.0% C 0.130 H 106.5°. Best body text is #000000 at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#C8C357
RGBrgb(200, 195, 87)
HSLhsl(57, 51%, 56%)
HSVhsv(57, 57%, 78%)
CMYKcmyk(0%, 2.5%, 56.5%, 21.6%)
CIE-LABlab(77.28, -12.21, 53.82)
CIE-LCHlch(77.28, 55.19, 102.78°)
OKLaboklab(79.99% -0.037 0.1247)
OKLCHoklch(79.99% 0.13 106.5)
XYZxyz(45.0562, 51.9991, 16.6784)
Luminance0.5200 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C357 #575CC8
analogous
#C88B57 #C8C357 #95C857
triadic
#C8C357 #57C8C3 #C357C8
tetradic
#C8C357 #57C88B #575CC8 #C85795
square
#C8C357 #57C88B #575CC8 #C85795
split-complementary
#C8C357 #5795C8 #8B57C8
monochromatic
#7C7829 #AAA538 #C8C357 #D7D385 #E6E4B3

Accessibility & contrast

On white

1.84
#C8C357 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.40
#C8C357 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C357
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C357#FFFFFF#000000##000000
##C8C3571.001.8411.4011.40
#FFFFFF1.841.0021.0021.00
#00000011.4021.001.001.00
##00000011.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC4C
Deuteranopia (green-blind)
#D4C15D
Tritanopia (blue-blind)
#D5B8AB
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #c8c357;
/* rgb */ color: rgb(200, 195, 87);
/* oklch */ color: oklch(80.0% 0.130 106.5);
Tailwind
colors: {
  custom: {
    50: '#dbd48a',
    500: '#c8c357',
    950: '#000000',
  },
}
SCSS
$custom: #c8c357;
$custom-light: #dbd48a;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c357",
  "rgb": {
    "r": 200,
    "g": 195,
    "b": 87
  },
  "hsl": {
    "h": 57.345,
    "s": 50.673,
    "l": 56.275
  },
  "oklch": {
    "l": 0.79992,
    "c": 0.13012,
    "h": 106.5
  },
  "luminance": 0.51998
}

Semantic roles & 50–950 ramp

primary
#C8C357
secondary
#3F4284
accent
#54DA4E
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C8C357

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

Preview Lab → · Contrast checker → · Palette generator →

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