#C8B158#C8B158

#C8B158 is a light, moderate yellow. Relative luminance 0.444; OKLCH L 76.2% C 0.113 H 95.1°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#C8B158
RGBrgb(200, 177, 88)
HSLhsl(48, 50%, 56%)
HSVhsv(48, 56%, 78%)
CMYKcmyk(0%, 11.5%, 56%, 21.6%)
CIE-LABlab(72.52, -2.81, 47.89)
CIE-LCHlch(72.52, 47.97, 93.35°)
OKLaboklab(76.21% -0.01 0.1121)
OKLCHoklch(76.21% 0.113 95.1)
XYZxyz(41.3046, 44.4301, 15.6308)
Luminance0.4443 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B158 #586FC8
analogous
#C87958 #C8B158 #A7C858
triadic
#C8B158 #58C8B1 #B158C8
tetradic
#C8B158 #58C879 #586FC8 #C858A7
square
#C8B158 #58C879 #586FC8 #C858A7
split-complementary
#C8B158 #58A7C8 #7958C8
monochromatic
#7D6B29 #AB9338 #C8B158 #D7C786 #E6DCB4

Accessibility & contrast

On white

2.12
#C8B158 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.89
#C8B158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B158
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B158#FFFFFF#000000##000000
##C8B1581.002.129.899.89
#FFFFFF2.121.0021.0021.00
#0000009.8921.001.001.00
##0000009.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AE50
Deuteranopia (green-blind)
#C7B55C
Tritanopia (blue-blind)
#D6A59D
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c8b158;
/* rgb */ color: rgb(200, 177, 88);
/* oklch */ color: oklch(76.2% 0.113 95.1);
Tailwind
colors: {
  custom: {
    50: '#dbc88a',
    500: '#c8b158',
    950: '#000000',
  },
}
SCSS
$custom: #c8b158;
$custom-light: #dbc88a;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b158",
  "rgb": {
    "r": 200,
    "g": 177,
    "b": 88
  },
  "hsl": {
    "h": 47.679,
    "s": 50.45,
    "l": 56.471
  },
  "oklch": {
    "l": 0.76214,
    "c": 0.11253,
    "h": 95.1
  },
  "luminance": 0.44428
}

Semantic roles & 50–950 ramp

primary
#C8B158
secondary
#A7B0D5
accent
#6BDA4E
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #C8B158

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

Preview Lab → · Contrast checker → · Palette generator →

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