#C8B340#C8B340

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

Color values

HEX#C8B340
RGBrgb(200, 179, 64)
HSLhsl(51, 55%, 52%)
HSVhsv(51, 68%, 78%)
CMYKcmyk(0%, 10.5%, 68%, 21.6%)
CIE-LABlab(72.82, -5.47, 58.98)
CIE-LCHlch(72.82, 59.23, 95.29°)
OKLaboklab(76.39% -0.0204 0.1324)
OKLCHoklch(76.39% 0.134 98.8)
XYZxyz(40.8668, 44.8917, 11.3619)
Luminance0.4489 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B340 #4055C8
analogous
#C86F40 #C8B340 #99C840
triadic
#C8B340 #40C8B3 #B340C8
tetradic
#C8B340 #40C86F #4055C8 #C84099
square
#C8B340 #40C86F #4055C8 #C84099
split-complementary
#C8B340 #4099C8 #6F40C8
monochromatic
#6E6220 #9D8C2D #C8B340 #D6C670 #E3D99F

Accessibility & contrast

On white

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

On black

9.98
#C8B340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B340
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B340#FFFFFF#000000##000000
##C8B3401.002.109.989.98
#FFFFFF2.101.0021.0021.00
#0000009.9821.001.001.00
##0000009.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE30
Deuteranopia (green-blind)
#CAB647
Tritanopia (blue-blind)
#D7A69B
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c8b340;
/* rgb */ color: rgb(200, 179, 64);
/* oklch */ color: oklch(76.4% 0.134 98.8);
Tailwind
colors: {
  custom: {
    50: '#dcc97b',
    500: '#c8b340',
    950: '#000000',
  },
}
SCSS
$custom: #c8b340;
$custom-light: #dcc97b;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b340",
  "rgb": {
    "r": 200,
    "g": 179,
    "b": 64
  },
  "hsl": {
    "h": 50.735,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.76385,
    "c": 0.13398,
    "h": 98.8
  },
  "luminance": 0.4489
}

Semantic roles & 50–950 ramp

primary
#C8B340
secondary
#949DD0
accent
#60DF49
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#15130A
muted
#84827C

Preview Lab

Preview with #C8B340

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

Preview Lab → · Contrast checker → · Palette generator →

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