#C8B941#C8B941

#C8B941 is a light, vivid yellow. Relative luminance 0.474; OKLCH L 77.7% C 0.138 H 102.1°. Best body text is #000000 at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#C8B941
RGBrgb(200, 185, 65)
HSLhsl(53, 55%, 52%)
HSVhsv(53, 68%, 78%)
CMYKcmyk(0%, 7.5%, 67.5%, 21.6%)
CIE-LABlab(74.42, -8.53, 60.21)
CIE-LCHlch(74.42, 60.81, 98.06°)
OKLaboklab(77.66% -0.029 0.1352)
OKLCHoklch(77.66% 0.138 102.1)
XYZxyz(42.1243, 47.3607, 11.9227)
Luminance0.4736 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B941 #4150C8
analogous
#C87541 #C8B941 #94C841
triadic
#C8B941 #41C8B9 #B941C8
tetradic
#C8B941 #41C875 #4150C8 #C84194
square
#C8B941 #41C875 #4150C8 #C84194
split-complementary
#C8B941 #4194C8 #7541C8
monochromatic
#6F6620 #9E922E #C8B941 #D6CA70 #E3DCA0

Accessibility & contrast

On white

2.01
#C8B941 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.47
#C8B941 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B941
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B941#FFFFFF#000000##000000
##C8B9411.002.0110.4710.47
#FFFFFF2.011.0021.0021.00
#00000010.4721.001.001.00
##00000010.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB330
Deuteranopia (green-blind)
#CEBA48
Tritanopia (blue-blind)
#D7ACA1
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c8b941;
/* rgb */ color: rgb(200, 185, 65);
/* oklch */ color: oklch(77.7% 0.138 102.1);
Tailwind
colors: {
  custom: {
    50: '#dccd7c',
    500: '#c8b941',
    950: '#000000',
  },
}
SCSS
$custom: #c8b941;
$custom-light: #dccd7c;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b941",
  "rgb": {
    "r": 200,
    "g": 185,
    "b": 65
  },
  "hsl": {
    "h": 53.333,
    "s": 55.102,
    "l": 51.961
  },
  "oklch": {
    "l": 0.77657,
    "c": 0.13826,
    "h": 102.1
  },
  "luminance": 0.47359
}

Semantic roles & 50–950 ramp

primary
#C8B941
secondary
#959BD0
accent
#5ADE49
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C8B941

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

Preview Lab → · Contrast checker → · Palette generator →

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