#C8B548#C8B548

#C8B548 is a light, vivid yellow. Relative luminance 0.458; OKLCH L 76.9% C 0.130 H 99.4°. Best body text is #000000 at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#C8B548
RGBrgb(200, 181, 72)
HSLhsl(51, 54%, 53%)
HSVhsv(51, 64%, 78%)
CMYKcmyk(0%, 9.5%, 64%, 21.6%)
CIE-LABlab(73.41, -6.04, 56.23)
CIE-LCHlch(73.41, 56.55, 96.13°)
OKLaboklab(76.88% -0.0211 0.1279)
OKLCHoklch(76.88% 0.13 99.4)
XYZxyz(41.5147, 45.7968, 12.7826)
Luminance0.4580 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B548 #485BC8
analogous
#C87548 #C8B548 #9BC848
triadic
#C8B548 #48C8B5 #B548C8
tetradic
#C8B548 #48C875 #485BC8 #C8489B
square
#C8B548 #48C875 #485BC8 #C8489B
split-complementary
#C8B548 #489BC8 #7548C8
monochromatic
#736723 #A29131 #C8B548 #D6C877 #E4DBA6

Accessibility & contrast

On white

2.07
#C8B548 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.16
#C8B548 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B548
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B548#FFFFFF#000000##000000
##C8B5481.002.0710.1610.16
#FFFFFF2.071.0021.0021.00
#00000010.1621.001.001.00
##00000010.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B03B
Deuteranopia (green-blind)
#CBB74E
Tritanopia (blue-blind)
#D7A99E
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #c8b548;
/* rgb */ color: rgb(200, 181, 72);
/* oklch */ color: oklch(76.9% 0.130 99.4);
Tailwind
colors: {
  custom: {
    50: '#dcca80',
    500: '#c8b548',
    950: '#000000',
  },
}
SCSS
$custom: #c8b548;
$custom-light: #dcca80;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b548",
  "rgb": {
    "r": 200,
    "g": 181,
    "b": 72
  },
  "hsl": {
    "h": 51.094,
    "s": 53.782,
    "l": 53.333
  },
  "oklch": {
    "l": 0.76876,
    "c": 0.12961,
    "h": 99.4
  },
  "luminance": 0.45795
}

Semantic roles & 50–950 ramp

primary
#C8B548
secondary
#9AA3D1
accent
#60DD4B
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130A
muted
#83827C

Preview Lab

Preview with #C8B548

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

Preview Lab → · Contrast checker → · Palette generator →

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