#C8B258#C8B258

#C8B258 is a light, moderate yellow. Relative luminance 0.448; OKLCH L 76.4% C 0.113 H 95.8°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#C8B258
RGBrgb(200, 178, 88)
HSLhsl(48, 50%, 56%)
HSVhsv(48, 56%, 78%)
CMYKcmyk(0%, 11%, 56%, 21.6%)
CIE-LABlab(72.78, -3.33, 48.20)
CIE-LCHlch(72.78, 48.31, 93.96°)
OKLaboklab(76.42% -0.0115 0.1128)
OKLCHoklch(76.42% 0.113 95.8)
XYZxyz(41.5028, 44.8266, 15.6969)
Luminance0.4482 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B258 #586EC8
analogous
#C87A58 #C8B258 #A6C858
triadic
#C8B258 #58C8B2 #B258C8
tetradic
#C8B258 #58C87A #586EC8 #C858A6
square
#C8B258 #58C87A #586EC8 #C858A6
split-complementary
#C8B258 #58A6C8 #7A58C8
monochromatic
#7D6C29 #AB9438 #C8B258 #D7C786 #E6DCB4

Accessibility & contrast

On white

2.11
#C8B258 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.96
#C8B258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B258
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B258#FFFFFF#000000##000000
##C8B2581.002.119.969.96
#FFFFFF2.111.0021.0021.00
#0000009.9621.001.001.00
##0000009.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AE4F
Deuteranopia (green-blind)
#C7B65C
Tritanopia (blue-blind)
#D6A69E
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c8b258;
/* rgb */ color: rgb(200, 178, 88);
/* oklch */ color: oklch(76.4% 0.113 95.8);
Tailwind
colors: {
  custom: {
    50: '#dbc88a',
    500: '#c8b258',
    950: '#000000',
  },
}
SCSS
$custom: #c8b258;
$custom-light: #dbc88a;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b258",
  "rgb": {
    "r": 200,
    "g": 178,
    "b": 88
  },
  "hsl": {
    "h": 48.214,
    "s": 50.45,
    "l": 56.471
  },
  "oklch": {
    "l": 0.76422,
    "c": 0.11333,
    "h": 95.8
  },
  "luminance": 0.44825
}

Semantic roles & 50–950 ramp

primary
#C8B258
secondary
#A7B0D5
accent
#69DA4E
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #C8B258

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

Preview Lab → · Contrast checker → · Palette generator →

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