#C8B847#C8B847

#C8B847 is a light, vivid yellow. Relative luminance 0.470; OKLCH L 77.5% C 0.133 H 101.2°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#C8B847
RGBrgb(200, 184, 71)
HSLhsl(53, 54%, 53%)
HSVhsv(53, 65%, 78%)
CMYKcmyk(0%, 8%, 64.5%, 21.6%)
CIE-LABlab(74.20, -7.66, 57.50)
CIE-LCHlch(74.20, 58.01, 97.59°)
OKLaboklab(77.5% -0.0259 0.1304)
OKLCHoklch(77.5% 0.133 101.2)
XYZxyz(42.0990, 47.0170, 12.8177)
Luminance0.4702 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B847 #4757C8
analogous
#C87747 #C8B847 #97C847
triadic
#C8B847 #47C8B8 #B847C8
tetradic
#C8B847 #47C877 #4757C8 #C84797
square
#C8B847 #47C877 #4757C8 #C84797
split-complementary
#C8B847 #4797C8 #7747C8
monochromatic
#726822 #A29330 #C8B847 #D6CA76 #E4DCA5

Accessibility & contrast

On white

2.02
#C8B847 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.40
#C8B847 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B847
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B847#FFFFFF#000000##000000
##C8B8471.002.0210.4010.40
#FFFFFF2.021.0021.0021.00
#00000010.4021.001.001.00
##00000010.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B339
Deuteranopia (green-blind)
#CDB94D
Tritanopia (blue-blind)
#D7ACA0
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c8b847;
/* rgb */ color: rgb(200, 184, 71);
/* oklch */ color: oklch(77.5% 0.133 101.2);
Tailwind
colors: {
  custom: {
    50: '#dccd7f',
    500: '#c8b847',
    950: '#000000',
  },
}
SCSS
$custom: #c8b847;
$custom-light: #dccd7f;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b847",
  "rgb": {
    "r": 200,
    "g": 184,
    "b": 71
  },
  "hsl": {
    "h": 52.558,
    "s": 53.975,
    "l": 53.137
  },
  "oklch": {
    "l": 0.77497,
    "c": 0.13294,
    "h": 101.2
  },
  "luminance": 0.47015
}

Semantic roles & 50–950 ramp

primary
#C8B847
secondary
#9AA0D1
accent
#5DDD4A
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130A
muted
#83827C

Preview Lab

Preview with #C8B847

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

Preview Lab → · Contrast checker → · Palette generator →

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