#C8B531#C8B531

#C8B531 is a light, vivid yellow. Relative luminance 0.455; OKLCH L 76.7% C 0.145 H 100.7°. Best body text is #000000 at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#C8B531
RGBrgb(200, 181, 49)
HSLhsl(52, 61%, 49%)
HSVhsv(52, 76%, 78%)
CMYKcmyk(0%, 9.5%, 75.5%, 21.6%)
CIE-LABlab(73.25, -7.23, 65.05)
CIE-LCHlch(73.25, 65.45, 96.34°)
OKLaboklab(76.7% -0.027 0.1425)
OKLCHoklch(76.7% 0.145 100.7)
XYZxyz(40.8996, 45.5508, 9.5430)
Luminance0.4555 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B531 #3144C8
analogous
#C86A31 #C8B531 #90C831
triadic
#C8B531 #31C8B5 #B531C8
tetradic
#C8B531 #31C86A #3144C8 #C83190
square
#C8B531 #31C86A #3144C8 #C83190
split-complementary
#C8B531 #3190C8 #6A31C8
monochromatic
#665C19 #978925 #C8B531 #D8C85F #E4D990

Accessibility & contrast

On white

2.08
#C8B531 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.11
#C8B531 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B531
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B531#FFFFFF#000000##000000
##C8B5311.002.0810.1110.11
#FFFFFF2.081.0021.0021.00
#00000010.1121.001.001.00
##00000010.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B016
Deuteranopia (green-blind)
#CCB73A
Tritanopia (blue-blind)
#D8A89C
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #c8b531;
/* rgb */ color: rgb(200, 181, 49);
/* oklch */ color: oklch(76.7% 0.145 100.7);
Tailwind
colors: {
  custom: {
    50: '#ddca73',
    500: '#c8b531',
    950: '#000000',
  },
}
SCSS
$custom: #c8b531;
$custom-light: #ddca73;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b531",
  "rgb": {
    "r": 200,
    "g": 181,
    "b": 49
  },
  "hsl": {
    "h": 52.45,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.76697,
    "c": 0.14506,
    "h": 100.7
  },
  "luminance": 0.45549
}

Semantic roles & 50–950 ramp

primary
#C8B531
secondary
#8690CE
accent
#58E444
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #C8B531

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

Preview Lab → · Contrast checker → · Palette generator →

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