#C8B254#C8B254

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

Color values

HEX#C8B254
RGBrgb(200, 178, 84)
HSLhsl(49, 51%, 56%)
HSVhsv(49, 58%, 78%)
CMYKcmyk(0%, 11%, 58%, 21.6%)
CIE-LABlab(72.73, -3.64, 50.05)
CIE-LCHlch(72.73, 50.18, 94.16°)
OKLaboklab(76.38% -0.0128 0.1163)
OKLCHoklch(76.38% 0.117 96.3)
XYZxyz(41.3417, 44.7621, 14.8481)
Luminance0.4476 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B254 #546AC8
analogous
#C87854 #C8B254 #A4C854
triadic
#C8B254 #54C8B2 #B254C8
tetradic
#C8B254 #54C878 #546AC8 #C854A4
square
#C8B254 #54C878 #546AC8 #C854A4
split-complementary
#C8B254 #54A4C8 #7854C8
monochromatic
#7A6B27 #A99336 #C8B254 #D7C782 #E6DCB1

Accessibility & contrast

On white

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

On black

9.95
#C8B254 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B254
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B254#FFFFFF#000000##000000
##C8B2541.002.119.959.95
#FFFFFF2.111.0021.0021.00
#0000009.9521.001.001.00
##0000009.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AE4B
Deuteranopia (green-blind)
#C8B658
Tritanopia (blue-blind)
#D6A69D
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c8b254;
/* rgb */ color: rgb(200, 178, 84);
/* oklch */ color: oklch(76.4% 0.117 96.3);
Tailwind
colors: {
  custom: {
    50: '#dbc887',
    500: '#c8b254',
    950: '#000000',
  },
}
SCSS
$custom: #c8b254;
$custom-light: #dbc887;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b254",
  "rgb": {
    "r": 200,
    "g": 178,
    "b": 84
  },
  "hsl": {
    "h": 48.621,
    "s": 51.327,
    "l": 55.686
  },
  "oklch": {
    "l": 0.76375,
    "c": 0.117,
    "h": 96.3
  },
  "luminance": 0.4476
}

Semantic roles & 50–950 ramp

primary
#C8B254
secondary
#A4ADD4
accent
#68DB4D
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130B
muted
#83827C

Preview Lab

Preview with #C8B254

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

Preview Lab → · Contrast checker → · Palette generator →

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