#C8BD52#C8BD52

#C8BD52 is a light, vivid yellow. Relative luminance 0.493; OKLCH L 78.7% C 0.129 H 103.5°. Best body text is #000000 at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#C8BD52
RGBrgb(200, 189, 82)
HSLhsl(54, 52%, 55%)
HSVhsv(54, 59%, 78%)
CMYKcmyk(0%, 5.5%, 59%, 21.6%)
CIE-LABlab(75.63, -9.51, 54.23)
CIE-LCHlch(75.63, 55.06, 99.95°)
OKLaboklab(78.66% -0.0299 0.125)
OKLCHoklch(78.66% 0.129 103.5)
XYZxyz(43.5415, 49.2853, 15.2005)
Luminance0.4928 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8BD52 #525DC8
analogous
#C88252 #C8BD52 #98C852
triadic
#C8BD52 #52C8BD #BD52C8
tetradic
#C8BD52 #52C882 #525DC8 #C85298
square
#C8BD52 #52C882 #525DC8 #C85298
split-complementary
#C8BD52 #5298C8 #8252C8
monochromatic
#797127 #A89D35 #C8BD52 #D7CF80 #E6E0AF

Accessibility & contrast

On white

1.93
#C8BD52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.86
#C8BD52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8BD52
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8BD52#FFFFFF#000000##000000
##C8BD521.001.9310.8610.86
#FFFFFF1.931.0021.0021.00
#00000010.8621.001.001.00
##00000010.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB746
Deuteranopia (green-blind)
#D0BD58
Tritanopia (blue-blind)
#D6B1A6
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #c8bd52;
/* rgb */ color: rgb(200, 189, 82);
/* oklch */ color: oklch(78.7% 0.129 103.5);
Tailwind
colors: {
  custom: {
    50: '#dbd087',
    500: '#c8bd52',
    950: '#000000',
  },
}
SCSS
$custom: #c8bd52;
$custom-light: #dbd087;
$custom-dark: #000000;
JSON
{
  "hex": "#c8bd52",
  "rgb": {
    "r": 200,
    "g": 189,
    "b": 82
  },
  "hsl": {
    "h": 54.407,
    "s": 51.754,
    "l": 55.294
  },
  "oklch": {
    "l": 0.78663,
    "c": 0.12853,
    "h": 103.5
  },
  "luminance": 0.49284
}

Semantic roles & 50–950 ramp

primary
#C8BD52
secondary
#A2A7D4
accent
#5ADB4D
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15140B
muted
#83827C

Preview Lab

Preview with #C8BD52

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

Preview Lab → · Contrast checker → · Palette generator →

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