#C8B052#C8B052

#C8B052 is a light, moderate yellow. Relative luminance 0.439; OKLCH L 75.9% C 0.117 H 95.1°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#C8B052
RGBrgb(200, 176, 82)
HSLhsl(48, 52%, 55%)
HSVhsv(48, 59%, 78%)
CMYKcmyk(0%, 12%, 59%, 21.6%)
CIE-LABlab(72.19, -2.74, 50.37)
CIE-LCHlch(72.19, 50.44, 93.11°)
OKLaboklab(75.94% -0.0105 0.1167)
OKLCHoklch(75.94% 0.117 95.1)
XYZxyz(40.8694, 43.9411, 14.3098)
Luminance0.4394 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B052 #526AC8
analogous
#C87552 #C8B052 #A5C852
triadic
#C8B052 #52C8B0 #B052C8
tetradic
#C8B052 #52C875 #526AC8 #C852A5
square
#C8B052 #52C875 #526AC8 #C852A5
split-complementary
#C8B052 #52A5C8 #7552C8
monochromatic
#796827 #A89035 #C8B052 #D7C580 #E6DAAF

Accessibility & contrast

On white

2.15
#C8B052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.79
#C8B052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B052
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B052#FFFFFF#000000##000000
##C8B0521.002.159.799.79
#FFFFFF2.151.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AD48
Deuteranopia (green-blind)
#C6B456
Tritanopia (blue-blind)
#D7A49B
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c8b052;
/* rgb */ color: rgb(200, 176, 82);
/* oklch */ color: oklch(75.9% 0.117 95.1);
Tailwind
colors: {
  custom: {
    50: '#dbc786',
    500: '#c8b052',
    950: '#000000',
  },
}
SCSS
$custom: #c8b052;
$custom-light: #dbc786;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b052",
  "rgb": {
    "r": 200,
    "g": 176,
    "b": 82
  },
  "hsl": {
    "h": 47.797,
    "s": 51.754,
    "l": 55.294
  },
  "oklch": {
    "l": 0.75936,
    "c": 0.1172,
    "h": 95.1
  },
  "luminance": 0.43939
}

Semantic roles & 50–950 ramp

primary
#C8B052
secondary
#A2ACD4
accent
#6ADB4D
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C8B052

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

Preview Lab → · Contrast checker → · Palette generator →

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