#C8B552#C8B552

#C8B552 is a light, vivid yellow. Relative luminance 0.459; OKLCH L 77.0% C 0.121 H 98.6°. Best body text is #000000 at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#C8B552
RGBrgb(200, 181, 82)
HSLhsl(50, 52%, 55%)
HSVhsv(50, 59%, 78%)
CMYKcmyk(0%, 9.5%, 59%, 21.6%)
CIE-LABlab(73.51, -5.36, 51.85)
CIE-LCHlch(73.51, 52.13, 95.90°)
OKLaboklab(76.98% -0.018 0.1199)
OKLCHoklch(76.98% 0.121 98.6)
XYZxyz(41.8679, 45.9381, 14.6426)
Luminance0.4594 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B552 #5265C8
analogous
#C87A52 #C8B552 #A0C852
triadic
#C8B552 #52C8B5 #B552C8
tetradic
#C8B552 #52C87A #5265C8 #C852A0
square
#C8B552 #52C87A #5265C8 #C852A0
split-complementary
#C8B552 #52A0C8 #7A52C8
monochromatic
#796C27 #A89535 #C8B552 #D7C980 #E6DDAF

Accessibility & contrast

On white

2.06
#C8B552 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.19
#C8B552 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B552
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B552#FFFFFF#000000##000000
##C8B5521.002.0610.1910.19
#FFFFFF2.061.0021.0021.00
#00000010.1921.001.001.00
##00000010.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B148
Deuteranopia (green-blind)
#CAB857
Tritanopia (blue-blind)
#D6A99F
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #c8b552;
/* rgb */ color: rgb(200, 181, 82);
/* oklch */ color: oklch(77.0% 0.121 98.6);
Tailwind
colors: {
  custom: {
    50: '#dbca86',
    500: '#c8b552',
    950: '#000000',
  },
}
SCSS
$custom: #c8b552;
$custom-light: #dbca86;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b552",
  "rgb": {
    "r": 200,
    "g": 181,
    "b": 82
  },
  "hsl": {
    "h": 50.339,
    "s": 51.754,
    "l": 55.294
  },
  "oklch": {
    "l": 0.76978,
    "c": 0.12127,
    "h": 98.6
  },
  "luminance": 0.45936
}

Semantic roles & 50–950 ramp

primary
#C8B552
secondary
#A2AAD4
accent
#64DB4D
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130B
muted
#83827C

Preview Lab

Preview with #C8B552

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

Preview Lab → · Contrast checker → · Palette generator →

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