#C8B152#C8B152

#C8B152 is a light, moderate yellow. Relative luminance 0.443; OKLCH L 76.1% C 0.118 H 95.8°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#C8B152
RGBrgb(200, 177, 82)
HSLhsl(48, 52%, 55%)
HSVhsv(48, 59%, 78%)
CMYKcmyk(0%, 11.5%, 59%, 21.6%)
CIE-LABlab(72.45, -3.26, 50.66)
CIE-LCHlch(72.45, 50.77, 93.68°)
OKLaboklab(76.14% -0.012 0.1174)
OKLCHoklch(76.14% 0.118 95.8)
XYZxyz(41.0662, 44.3347, 14.3754)
Luminance0.4433 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B152 #5269C8
analogous
#C87652 #C8B152 #A4C852
triadic
#C8B152 #52C8B1 #B152C8
tetradic
#C8B152 #52C876 #5269C8 #C852A4
square
#C8B152 #52C876 #5269C8 #C852A4
split-complementary
#C8B152 #52A4C8 #7652C8
monochromatic
#796927 #A89135 #C8B152 #D7C680 #E6DBAF

Accessibility & contrast

On white

2.13
#C8B152 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.87
#C8B152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B152
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B152#FFFFFF#000000##000000
##C8B1521.002.139.879.87
#FFFFFF2.131.0021.0021.00
#0000009.8721.001.001.00
##0000009.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AD48
Deuteranopia (green-blind)
#C7B556
Tritanopia (blue-blind)
#D7A59C
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c8b152;
/* rgb */ color: rgb(200, 177, 82);
/* oklch */ color: oklch(76.1% 0.118 95.8);
Tailwind
colors: {
  custom: {
    50: '#dbc886',
    500: '#c8b152',
    950: '#000000',
  },
}
SCSS
$custom: #c8b152;
$custom-light: #dbc886;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b152",
  "rgb": {
    "r": 200,
    "g": 177,
    "b": 82
  },
  "hsl": {
    "h": 48.305,
    "s": 51.754,
    "l": 55.294
  },
  "oklch": {
    "l": 0.76144,
    "c": 0.11798,
    "h": 95.8
  },
  "luminance": 0.44333
}

Semantic roles & 50–950 ramp

primary
#C8B152
secondary
#A2ACD4
accent
#68DB4D
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C8B152

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

Preview Lab → · Contrast checker → · Palette generator →

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