#C8B339#C8B339

#C8B339 is a light, vivid yellow. Relative luminance 0.448; OKLCH L 76.3% C 0.139 H 99.2°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#C8B339
RGBrgb(200, 179, 57)
HSLhsl(51, 57%, 50%)
HSVhsv(51, 72%, 78%)
CMYKcmyk(0%, 10.5%, 71.5%, 21.6%)
CIE-LABlab(72.77, -5.83, 61.70)
CIE-LCHlch(72.77, 61.97, 95.40°)
OKLaboklab(76.33% -0.0222 0.1369)
OKLCHoklch(76.33% 0.139 99.2)
XYZxyz(40.6800, 44.8169, 10.3779)
Luminance0.4481 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B339 #394EC8
analogous
#C86B39 #C8B339 #95C839
triadic
#C8B339 #39C8B3 #B339C8
tetradic
#C8B339 #39C86B #394EC8 #C83995
square
#C8B339 #39C86B #394EC8 #C83995
split-complementary
#C8B339 #3995C8 #6B39C8
monochromatic
#695E1D #99892B #C8B339 #D5C569 #E3D899

Accessibility & contrast

On white

2.11
#C8B339 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.96
#C8B339 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B339
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B339#FFFFFF#000000##000000
##C8B3391.002.119.969.96
#FFFFFF2.111.0021.0021.00
#0000009.9621.001.001.00
##0000009.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE26
Deuteranopia (green-blind)
#CAB641
Tritanopia (blue-blind)
#D8A69B
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c8b339;
/* rgb */ color: rgb(200, 179, 57);
/* oklch */ color: oklch(76.3% 0.139 99.2);
Tailwind
colors: {
  custom: {
    50: '#dcc977',
    500: '#c8b339',
    950: '#000000',
  },
}
SCSS
$custom: #c8b339;
$custom-light: #dcc977;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b339",
  "rgb": {
    "r": 200,
    "g": 179,
    "b": 57
  },
  "hsl": {
    "h": 51.189,
    "s": 56.522,
    "l": 50.392
  },
  "oklch": {
    "l": 0.7633,
    "c": 0.13871,
    "h": 99.2
  },
  "luminance": 0.44815
}

Semantic roles & 50–950 ramp

primary
#C8B339
secondary
#8F98CE
accent
#5EE048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #C8B339

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

Preview Lab → · Contrast checker → · Palette generator →

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