#C8B939#C8B939

#C8B939 is a light, vivid yellow. Relative luminance 0.473; OKLCH L 77.6% C 0.144 H 102.5°. Best body text is #000000 at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#C8B939
RGBrgb(200, 185, 57)
HSLhsl(54, 57%, 50%)
HSVhsv(54, 72%, 78%)
CMYKcmyk(0%, 7.5%, 71.5%, 21.6%)
CIE-LABlab(74.36, -8.94, 63.26)
CIE-LCHlch(74.36, 63.89, 98.05°)
OKLaboklab(77.6% -0.031 0.1402)
OKLCHoklch(77.6% 0.144 102.5)
XYZxyz(41.9087, 47.2745, 10.7875)
Luminance0.4727 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B939 #3948C8
analogous
#C87139 #C8B939 #90C839
triadic
#C8B939 #39C8B9 #B939C8
tetradic
#C8B939 #39C871 #3948C8 #C83990
square
#C8B939 #39C871 #3948C8 #C83990
split-complementary
#C8B939 #3990C8 #7139C8
monochromatic
#69611D #998E2B #C8B939 #D5CA69 #E3DB99

Accessibility & contrast

On white

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

On black

10.45
#C8B939 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B939
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B939#FFFFFF#000000##000000
##C8B9391.002.0110.4510.45
#FFFFFF2.011.0021.0021.00
#00000010.4521.001.001.00
##00000010.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB324
Deuteranopia (green-blind)
#CEBA41
Tritanopia (blue-blind)
#D7ACA0
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c8b939;
/* rgb */ color: rgb(200, 185, 57);
/* oklch */ color: oklch(77.6% 0.144 102.5);
Tailwind
colors: {
  custom: {
    50: '#dccd78',
    500: '#c8b939',
    950: '#000000',
  },
}
SCSS
$custom: #c8b939;
$custom-light: #dccd78;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b939",
  "rgb": {
    "r": 200,
    "g": 185,
    "b": 57
  },
  "hsl": {
    "h": 53.706,
    "s": 56.522,
    "l": 50.392
  },
  "oklch": {
    "l": 0.77595,
    "c": 0.14363,
    "h": 102.5
  },
  "luminance": 0.47273
}

Semantic roles & 50–950 ramp

primary
#C8B939
secondary
#8F95CE
accent
#58E048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #C8B939

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

Preview Lab → · Contrast checker → · Palette generator →

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