#C8B331#C8B331

#C8B331 is a light, vivid yellow. Relative luminance 0.447; OKLCH L 76.3% C 0.143 H 99.7°. Best body text is #000000 at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#C8B331
RGBrgb(200, 179, 49)
HSLhsl(52, 61%, 49%)
HSVhsv(52, 76%, 78%)
CMYKcmyk(0%, 10.5%, 75.5%, 21.6%)
CIE-LABlab(72.72, -6.19, 64.55)
CIE-LCHlch(72.72, 64.85, 95.48°)
OKLaboklab(76.28% -0.0241 0.1415)
OKLCHoklch(76.28% 0.144 99.7)
XYZxyz(40.4959, 44.7433, 9.4084)
Luminance0.4474 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B331 #3146C8
analogous
#C86831 #C8B331 #92C831
triadic
#C8B331 #31C8B3 #B331C8
tetradic
#C8B331 #31C868 #3146C8 #C83192
square
#C8B331 #31C868 #3146C8 #C83192
split-complementary
#C8B331 #3192C8 #6831C8
monochromatic
#665B19 #978725 #C8B331 #D8C75F #E4D890

Accessibility & contrast

On white

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

On black

9.95
#C8B331 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B331
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B331#FFFFFF#000000##000000
##C8B3311.002.119.959.95
#FFFFFF2.111.0021.0021.00
#0000009.9521.001.001.00
##0000009.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE17
Deuteranopia (green-blind)
#CAB63A
Tritanopia (blue-blind)
#D8A69A
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c8b331;
/* rgb */ color: rgb(200, 179, 49);
/* oklch */ color: oklch(76.3% 0.143 99.7);
Tailwind
colors: {
  custom: {
    50: '#ddc973',
    500: '#c8b331',
    950: '#000000',
  },
}
SCSS
$custom: #c8b331;
$custom-light: #ddc973;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b331",
  "rgb": {
    "r": 200,
    "g": 179,
    "b": 49
  },
  "hsl": {
    "h": 51.656,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.76276,
    "c": 0.1435,
    "h": 99.7
  },
  "luminance": 0.44741
}

Semantic roles & 50–950 ramp

primary
#C8B331
secondary
#8690CE
accent
#5AE444
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #C8B331

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

Preview Lab → · Contrast checker → · Palette generator →

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