#C8BA52#C8BA52

#C8BA52 is a light, vivid yellow. Relative luminance 0.480; OKLCH L 78.0% C 0.126 H 101.7°. Best body text is #000000 at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#C8BA52
RGBrgb(200, 186, 82)
HSLhsl(53, 52%, 55%)
HSVhsv(53, 59%, 78%)
CMYKcmyk(0%, 7%, 59%, 21.6%)
CIE-LABlab(74.83, -7.96, 53.34)
CIE-LCHlch(74.83, 53.93, 98.49°)
OKLaboklab(78.03% -0.0255 0.1231)
OKLCHoklch(78.03% 0.126 101.7)
XYZxyz(42.9029, 48.0080, 14.9876)
Luminance0.4801 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8BA52 #5260C8
analogous
#C87F52 #C8BA52 #9BC852
triadic
#C8BA52 #52C8BA #BA52C8
tetradic
#C8BA52 #52C87F #5260C8 #C8529B
square
#C8BA52 #52C87F #5260C8 #C8529B
split-complementary
#C8BA52 #529BC8 #7F52C8
monochromatic
#796F27 #A89A35 #C8BA52 #D7CD80 #E6DFAF

Accessibility & contrast

On white

1.98
#C8BA52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.60
#C8BA52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8BA52
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8BA52#FFFFFF#000000##000000
##C8BA521.001.9810.6010.60
#FFFFFF1.981.0021.0021.00
#00000010.6021.001.001.00
##00000010.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB547
Deuteranopia (green-blind)
#CEBB57
Tritanopia (blue-blind)
#D6AEA3
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c8ba52;
/* rgb */ color: rgb(200, 186, 82);
/* oklch */ color: oklch(78.0% 0.126 101.7);
Tailwind
colors: {
  custom: {
    50: '#dbce86',
    500: '#c8ba52',
    950: '#000000',
  },
}
SCSS
$custom: #c8ba52;
$custom-light: #dbce86;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ba52",
  "rgb": {
    "r": 200,
    "g": 186,
    "b": 82
  },
  "hsl": {
    "h": 52.881,
    "s": 51.754,
    "l": 55.294
  },
  "oklch": {
    "l": 0.78028,
    "c": 0.12571,
    "h": 101.7
  },
  "luminance": 0.48006
}

Semantic roles & 50–950 ramp

primary
#C8BA52
secondary
#A2A8D4
accent
#5EDB4D
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130B
muted
#83827C

Preview Lab

Preview with #C8BA52

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

Preview Lab → · Contrast checker → · Palette generator →

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