#C8C45F#C8C45F

#C8C45F is a light, vivid yellow. Relative luminance 0.526; OKLCH L 80.3% C 0.124 H 106.8°. Best body text is #000000 at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#C8C45F
RGBrgb(200, 196, 95)
HSLhsl(58, 49%, 58%)
HSVhsv(58, 53%, 78%)
CMYKcmyk(0%, 2%, 52.5%, 21.6%)
CIE-LABlab(77.63, -12.08, 50.52)
CIE-LCHlch(77.63, 51.94, 103.45°)
OKLaboklab(80.3% -0.0358 0.1185)
OKLCHoklch(80.3% 0.124 106.8)
XYZxyz(45.6261, 52.5867, 18.5711)
Luminance0.5259 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C45F #5F63C8
analogous
#C88F5F #C8C45F #98C85F
triadic
#C8C45F #5FC8C4 #C45FC8
tetradic
#C8C45F #5FC88F #5F63C8 #C85F98
square
#C8C45F #5FC88F #5F63C8 #C85F98
split-complementary
#C8C45F #5F98C8 #8F5FC8
monochromatic
#807D2C #AEAA3C #C8C45F #D8D58D #E7E6BA

Accessibility & contrast

On white

1.82
#C8C45F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.52
#C8C45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C45F
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C45F#FFFFFF#000000##000000
##C8C45F1.001.8211.5211.52
#FFFFFF1.821.0021.0021.00
#00000011.5221.001.001.00
##00000011.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BD55
Deuteranopia (green-blind)
#D4C264
Tritanopia (blue-blind)
#D5B9AD
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #c8c45f;
/* rgb */ color: rgb(200, 196, 95);
/* oklch */ color: oklch(80.3% 0.124 106.8);
Tailwind
colors: {
  custom: {
    50: '#dbd58f',
    500: '#c8c45f',
    950: '#000000',
  },
}
SCSS
$custom: #c8c45f;
$custom-light: #dbd58f;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c45f",
  "rgb": {
    "r": 200,
    "g": 196,
    "b": 95
  },
  "hsl": {
    "h": 57.714,
    "s": 48.837,
    "l": 57.843
  },
  "oklch": {
    "l": 0.80297,
    "c": 0.12381,
    "h": 106.8
  },
  "luminance": 0.52585
}

Semantic roles & 50–950 ramp

primary
#C8C45F
secondary
#434688
accent
#55D84F
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #C8C45F

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

Preview Lab → · Contrast checker → · Palette generator →

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