#C8B345#C8B345

#C8B345 is a light, vivid yellow. Relative luminance 0.449; OKLCH L 76.4% C 0.130 H 98.4°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#C8B345
RGBrgb(200, 179, 69)
HSLhsl(50, 54%, 53%)
HSVhsv(50, 66%, 78%)
CMYKcmyk(0%, 10.5%, 65.5%, 21.6%)
CIE-LABlab(72.86, -5.18, 56.93)
CIE-LCHlch(72.86, 57.17, 95.20°)
OKLaboklab(76.43% -0.019 0.1289)
OKLCHoklch(76.43% 0.13 98.4)
XYZxyz(41.0155, 44.9511, 12.1451)
Luminance0.4495 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B345 #455AC8
analogous
#C87245 #C8B345 #9BC845
triadic
#C8B345 #45C8B3 #B345C8
tetradic
#C8B345 #45C872 #455AC8 #C8459B
square
#C8B345 #45C872 #455AC8 #C8459B
split-complementary
#C8B345 #459BC8 #7245C8
monochromatic
#716421 #A08E2F #C8B345 #D6C674 #E4DAA3

Accessibility & contrast

On white

2.10
#C8B345 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.99
#C8B345 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B345
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B345#FFFFFF#000000##000000
##C8B3451.002.109.999.99
#FFFFFF2.101.0021.0021.00
#0000009.9921.001.001.00
##0000009.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF37
Deuteranopia (green-blind)
#C9B64B
Tritanopia (blue-blind)
#D7A69C
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c8b345;
/* rgb */ color: rgb(200, 179, 69);
/* oklch */ color: oklch(76.4% 0.130 98.4);
Tailwind
colors: {
  custom: {
    50: '#dcc97e',
    500: '#c8b345',
    950: '#000000',
  },
}
SCSS
$custom: #c8b345;
$custom-light: #dcc97e;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b345",
  "rgb": {
    "r": 200,
    "g": 179,
    "b": 69
  },
  "hsl": {
    "h": 50.382,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.76429,
    "c": 0.13029,
    "h": 98.4
  },
  "luminance": 0.44949
}

Semantic roles & 50–950 ramp

primary
#C8B345
secondary
#98A1D1
accent
#62DE4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C8B345

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

Preview Lab → · Contrast checker → · Palette generator →

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