#C8C245#C8C245

#C8C245 is a light, vivid yellow. Relative luminance 0.513; OKLCH L 79.6% C 0.144 H 106.6°. Best body text is #000000 at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#C8C245
RGBrgb(200, 194, 69)
HSLhsl(57, 54%, 53%)
HSVhsv(57, 66%, 78%)
CMYKcmyk(0%, 3%, 65.5%, 21.6%)
CIE-LABlab(76.86, -12.91, 61.11)
CIE-LCHlch(76.86, 62.46, 101.93°)
OKLaboklab(79.61% -0.041 0.1377)
OKLCHoklch(79.61% 0.144 106.6)
XYZxyz(44.1870, 51.2941, 13.2022)
Luminance0.5129 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C245 #454BC8
analogous
#C88045 #C8C245 #8CC845
triadic
#C8C245 #45C8C2 #C245C8
tetradic
#C8C245 #45C880 #454BC8 #C8458C
square
#C8C245 #45C880 #454BC8 #C8458C
split-complementary
#C8C245 #458CC8 #8045C8
monochromatic
#716D21 #A09B2F #C8C245 #D6D174 #E4E1A3

Accessibility & contrast

On white

1.87
#C8C245 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.26
#C8C245 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C245
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C245#FFFFFF#000000##000000
##C8C2451.001.8711.2611.26
#FFFFFF1.871.0021.0021.00
#00000011.2621.001.001.00
##00000011.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB34
Deuteranopia (green-blind)
#D5C04D
Tritanopia (blue-blind)
#D6B6A8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c8c245;
/* rgb */ color: rgb(200, 194, 69);
/* oklch */ color: oklch(79.6% 0.144 106.6);
Tailwind
colors: {
  custom: {
    50: '#dcd47f',
    500: '#c8c245',
    950: '#000000',
  },
}
SCSS
$custom: #c8c245;
$custom-light: #dcd47f;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c245",
  "rgb": {
    "r": 200,
    "g": 194,
    "b": 69
  },
  "hsl": {
    "h": 57.252,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.79605,
    "c": 0.14369,
    "h": 106.6
  },
  "luminance": 0.51293
}

Semantic roles & 50–950 ramp

primary
#C8C245
secondary
#373A7A
accent
#51DE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C8C245

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

Preview Lab → · Contrast checker → · Palette generator →

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