#C8B540#C8B540

#C8B540 is a light, vivid yellow. Relative luminance 0.457; OKLCH L 76.8% C 0.136 H 99.9°. Best body text is #000000 at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#C8B540
RGBrgb(200, 181, 64)
HSLhsl(52, 55%, 52%)
HSVhsv(52, 68%, 78%)
CMYKcmyk(0%, 9.5%, 68%, 21.6%)
CIE-LABlab(73.35, -6.51, 59.52)
CIE-LCHlch(73.35, 59.88, 96.24°)
OKLaboklab(76.81% -0.0234 0.1336)
OKLCHoklch(76.81% 0.136 99.9)
XYZxyz(41.2705, 45.6991, 11.4964)
Luminance0.4570 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B540 #4053C8
analogous
#C87140 #C8B540 #97C840
triadic
#C8B540 #40C8B5 #B540C8
tetradic
#C8B540 #40C871 #4053C8 #C84097
square
#C8B540 #40C871 #4053C8 #C84097
split-complementary
#C8B540 #4097C8 #7140C8
monochromatic
#6E6320 #9D8E2D #C8B540 #D6C770 #E3DA9F

Accessibility & contrast

On white

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

On black

10.14
#C8B540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B540
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B540#FFFFFF#000000##000000
##C8B5401.002.0710.1410.14
#FFFFFF2.071.0021.0021.00
#00000010.1421.001.001.00
##00000010.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B030
Deuteranopia (green-blind)
#CBB747
Tritanopia (blue-blind)
#D7A89D
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #c8b540;
/* rgb */ color: rgb(200, 181, 64);
/* oklch */ color: oklch(76.8% 0.136 99.9);
Tailwind
colors: {
  custom: {
    50: '#dcca7b',
    500: '#c8b540',
    950: '#000000',
  },
}
SCSS
$custom: #c8b540;
$custom-light: #dcca7b;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b540",
  "rgb": {
    "r": 200,
    "g": 181,
    "b": 64
  },
  "hsl": {
    "h": 51.618,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.76805,
    "c": 0.13559,
    "h": 99.9
  },
  "luminance": 0.45697
}

Semantic roles & 50–950 ramp

primary
#C8B540
secondary
#949CD0
accent
#5EDF49
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#15130A
muted
#84827C

Preview Lab

Preview with #C8B540

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

Preview Lab → · Contrast checker → · Palette generator →

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