#C8B545#C8B545

#C8B545 is a light, vivid yellow. Relative luminance 0.458; OKLCH L 76.8% C 0.132 H 99.6°. Best body text is #000000 at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#C8B545
RGBrgb(200, 181, 69)
HSLhsl(51, 54%, 53%)
HSVhsv(51, 66%, 78%)
CMYKcmyk(0%, 9.5%, 65.5%, 21.6%)
CIE-LABlab(73.39, -6.22, 57.49)
CIE-LCHlch(73.39, 57.83, 96.18°)
OKLaboklab(76.85% -0.022 0.1301)
OKLCHoklch(76.85% 0.132 99.6)
XYZxyz(41.4192, 45.7586, 12.2797)
Luminance0.4576 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B545 #4558C8
analogous
#C87445 #C8B545 #99C845
triadic
#C8B545 #45C8B5 #B545C8
tetradic
#C8B545 #45C874 #4558C8 #C84599
square
#C8B545 #45C874 #4558C8 #C84599
split-complementary
#C8B545 #4599C8 #7445C8
monochromatic
#716621 #A0902F #C8B545 #D6C874 #E4DBA3

Accessibility & contrast

On white

2.07
#C8B545 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.15
#C8B545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B545
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B545#FFFFFF#000000##000000
##C8B5451.002.0710.1510.15
#FFFFFF2.071.0021.0021.00
#00000010.1521.001.001.00
##00000010.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B037
Deuteranopia (green-blind)
#CBB74B
Tritanopia (blue-blind)
#D7A89E
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #c8b545;
/* rgb */ color: rgb(200, 181, 69);
/* oklch */ color: oklch(76.8% 0.132 99.6);
Tailwind
colors: {
  custom: {
    50: '#dcca7e',
    500: '#c8b545',
    950: '#000000',
  },
}
SCSS
$custom: #c8b545;
$custom-light: #dcca7e;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b545",
  "rgb": {
    "r": 200,
    "g": 181,
    "b": 69
  },
  "hsl": {
    "h": 51.298,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.76848,
    "c": 0.13192,
    "h": 99.6
  },
  "luminance": 0.45757
}

Semantic roles & 50–950 ramp

primary
#C8B545
secondary
#98A0D1
accent
#5FDE4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C8B545

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

Preview Lab → · Contrast checker → · Palette generator →

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