#C8B541#C8B541

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

Color values

HEX#C8B541
RGBrgb(200, 181, 65)
HSLhsl(52, 55%, 52%)
HSVhsv(52, 68%, 78%)
CMYKcmyk(0%, 9.5%, 67.5%, 21.6%)
CIE-LABlab(73.36, -6.45, 59.12)
CIE-LCHlch(73.36, 59.47, 96.23°)
OKLaboklab(76.81% -0.0231 0.1329)
OKLCHoklch(76.81% 0.135 99.9)
XYZxyz(41.2992, 45.7106, 11.6476)
Luminance0.4571 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B541 #4154C8
analogous
#C87241 #C8B541 #97C841
triadic
#C8B541 #41C8B5 #B541C8
tetradic
#C8B541 #41C872 #4154C8 #C84197
square
#C8B541 #41C872 #4154C8 #C84197
split-complementary
#C8B541 #4197C8 #7241C8
monochromatic
#6F6420 #9E8E2E #C8B541 #D6C770 #E3DAA0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8B541#FFFFFF#000000##000000
##C8B5411.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)
#C6B031
Deuteranopia (green-blind)
#CBB748
Tritanopia (blue-blind)
#D7A89D
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #c8b541;
/* rgb */ color: rgb(200, 181, 65);
/* oklch */ color: oklch(76.8% 0.135 99.9);
Tailwind
colors: {
  custom: {
    50: '#dcca7c',
    500: '#c8b541',
    950: '#000000',
  },
}
SCSS
$custom: #c8b541;
$custom-light: #dcca7c;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b541",
  "rgb": {
    "r": 200,
    "g": 181,
    "b": 65
  },
  "hsl": {
    "h": 51.556,
    "s": 55.102,
    "l": 51.961
  },
  "oklch": {
    "l": 0.76813,
    "c": 0.13488,
    "h": 99.9
  },
  "luminance": 0.45709
}

Semantic roles & 50–950 ramp

primary
#C8B541
secondary
#959DD0
accent
#5EDE49
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#15130A
muted
#84827C

Preview Lab

Preview with #C8B541

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

Preview Lab → · Contrast checker → · Palette generator →

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