#C8B945#C8B945

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

Color values

HEX#C8B945
RGBrgb(200, 185, 69)
HSLhsl(53, 54%, 53%)
HSVhsv(53, 66%, 78%)
CMYKcmyk(0%, 7.5%, 65.5%, 21.6%)
CIE-LABlab(74.45, -8.30, 58.60)
CIE-LCHlch(74.45, 59.19, 98.06°)
OKLaboklab(77.69% -0.0279 0.1324)
OKLCHoklch(77.69% 0.135 101.9)
XYZxyz(42.2443, 47.4087, 12.5547)
Luminance0.4741 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B945 #4554C8
analogous
#C87845 #C8B945 #95C845
triadic
#C8B945 #45C8B9 #B945C8
tetradic
#C8B945 #45C878 #4554C8 #C84595
square
#C8B945 #45C878 #4554C8 #C84595
split-complementary
#C8B945 #4595C8 #7845C8
monochromatic
#716821 #A0932F #C8B945 #D6CB74 #E4DDA3

Accessibility & contrast

On white

2.00
#C8B945 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.48
#C8B945 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B945
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B945#FFFFFF#000000##000000
##C8B9451.002.0010.4810.48
#FFFFFF2.001.0021.0021.00
#00000010.4821.001.001.00
##00000010.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8b945;
/* rgb */ color: rgb(200, 185, 69);
/* oklch */ color: oklch(77.7% 0.135 101.9);
Tailwind
colors: {
  custom: {
    50: '#dccd7e',
    500: '#c8b945',
    950: '#000000',
  },
}
SCSS
$custom: #c8b945;
$custom-light: #dccd7e;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b945",
  "rgb": {
    "r": 200,
    "g": 185,
    "b": 69
  },
  "hsl": {
    "h": 53.13,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.77691,
    "c": 0.13534,
    "h": 101.9
  },
  "luminance": 0.47407
}

Semantic roles & 50–950 ramp

primary
#C8B945
secondary
#989FD1
accent
#5BDE4A
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15130A
muted
#83827C

Preview Lab

Preview with #C8B945

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

Preview Lab → · Contrast checker → · Palette generator →

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