#C8B352#C8B352

#C8B352 is a light, moderate yellow. Relative luminance 0.451; OKLCH L 76.6% C 0.120 H 97.2°. Best body text is #000000 at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#C8B352
RGBrgb(200, 179, 82)
HSLhsl(49, 52%, 55%)
HSVhsv(49, 59%, 78%)
CMYKcmyk(0%, 10.5%, 59%, 21.6%)
CIE-LABlab(72.98, -4.31, 51.26)
CIE-LCHlch(72.98, 51.44, 94.81°)
OKLaboklab(76.56% -0.015 0.1187)
OKLCHoklch(76.56% 0.12 97.2)
XYZxyz(41.4642, 45.1306, 14.5080)
Luminance0.4513 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B352 #5267C8
analogous
#C87852 #C8B352 #A2C852
triadic
#C8B352 #52C8B3 #B352C8
tetradic
#C8B352 #52C878 #5267C8 #C852A2
square
#C8B352 #52C878 #5267C8 #C852A2
split-complementary
#C8B352 #52A2C8 #7852C8
monochromatic
#796A27 #A89335 #C8B352 #D7C780 #E6DCAF

Accessibility & contrast

On white

2.09
#C8B352 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.03
#C8B352 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B352
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B352#FFFFFF#000000##000000
##C8B3521.002.0910.0310.03
#FFFFFF2.091.0021.0021.00
#00000010.0321.001.001.00
##00000010.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AF48
Deuteranopia (green-blind)
#C9B657
Tritanopia (blue-blind)
#D6A79E
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c8b352;
/* rgb */ color: rgb(200, 179, 82);
/* oklch */ color: oklch(76.6% 0.120 97.2);
Tailwind
colors: {
  custom: {
    50: '#dbc986',
    500: '#c8b352',
    950: '#000000',
  },
}
SCSS
$custom: #c8b352;
$custom-light: #dbc986;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b352",
  "rgb": {
    "r": 200,
    "g": 179,
    "b": 82
  },
  "hsl": {
    "h": 49.322,
    "s": 51.754,
    "l": 55.294
  },
  "oklch": {
    "l": 0.7656,
    "c": 0.1196,
    "h": 97.2
  },
  "luminance": 0.45129
}

Semantic roles & 50–950 ramp

primary
#C8B352
secondary
#A2ABD4
accent
#66DB4D
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130B
muted
#83827C

Preview Lab

Preview with #C8B352

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

Preview Lab → · Contrast checker → · Palette generator →

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