#C8C657#C8C657

#C8C657 is a light, vivid yellow. Relative luminance 0.534; OKLCH L 80.6% C 0.133 H 108.1°. Best body text is #000000 at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#C8C657
RGBrgb(200, 198, 87)
HSLhsl(59, 51%, 56%)
HSVhsv(59, 57%, 78%)
CMYKcmyk(0%, 1%, 56.5%, 21.6%)
CIE-LABlab(78.09, -13.73, 54.72)
CIE-LCHlch(78.09, 56.42, 104.09°)
OKLaboklab(80.63% -0.0414 0.1267)
OKLCHoklch(80.63% 0.133 108.1)
XYZxyz(45.7351, 53.3569, 16.9047)
Luminance0.5336 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C657 #5759C8
analogous
#C88E57 #C8C657 #92C857
triadic
#C8C657 #57C8C6 #C657C8
tetradic
#C8C657 #57C88E #5759C8 #C85792
square
#C8C657 #57C88E #5759C8 #C85792
split-complementary
#C8C657 #5792C8 #8E57C8
monochromatic
#7C7B29 #AAA838 #C8C657 #D7D685 #E6E5B3

Accessibility & contrast

On white

1.80
#C8C657 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.67
#C8C657 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C657
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C657#FFFFFF#000000##000000
##C8C6571.001.8011.6711.67
#FFFFFF1.801.0021.0021.00
#00000011.6721.001.001.00
##00000011.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF4B
Deuteranopia (green-blind)
#D7C35D
Tritanopia (blue-blind)
#D5BBAE
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c8c657;
/* rgb */ color: rgb(200, 198, 87);
/* oklch */ color: oklch(80.6% 0.133 108.1);
Tailwind
colors: {
  custom: {
    50: '#dbd78a',
    500: '#c8c657',
    950: '#000000',
  },
}
SCSS
$custom: #c8c657;
$custom-light: #dbd78a;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c657",
  "rgb": {
    "r": 200,
    "g": 198,
    "b": 87
  },
  "hsl": {
    "h": 58.938,
    "s": 50.673,
    "l": 56.275
  },
  "oklch": {
    "l": 0.80633,
    "c": 0.13326,
    "h": 108.1
  },
  "luminance": 0.53356
}

Semantic roles & 50–950 ramp

primary
#C8C657
secondary
#3F4084
accent
#50DA4E
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C8C657

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

Preview Lab → · Contrast checker → · Palette generator →

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