#C8B451#C8B451

#C8B451 is a light, vivid yellow. Relative luminance 0.455; OKLCH L 76.8% C 0.121 H 98.0°. Best body text is #000000 at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#C8B451
RGBrgb(200, 180, 81)
HSLhsl(50, 52%, 55%)
HSVhsv(50, 60%, 78%)
CMYKcmyk(0%, 10%, 59.5%, 21.6%)
CIE-LABlab(73.23, -4.91, 52.01)
CIE-LCHlch(73.23, 52.24, 95.39°)
OKLaboklab(76.76% -0.0169 0.1201)
OKLCHoklch(76.76% 0.121 98)
XYZxyz(41.6275, 45.5178, 14.3761)
Luminance0.4552 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B451 #5165C8
analogous
#C87851 #C8B451 #A0C851
triadic
#C8B451 #51C8B4 #B451C8
tetradic
#C8B451 #51C878 #5165C8 #C851A0
square
#C8B451 #51C878 #5165C8 #C851A0
split-complementary
#C8B451 #51A0C8 #7851C8
monochromatic
#796B26 #A79435 #C8B451 #D7C880 #E5DCAE

Accessibility & contrast

On white

2.08
#C8B451 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.10
#C8B451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B451
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B451#FFFFFF#000000##000000
##C8B4511.002.0810.1010.10
#FFFFFF2.081.0021.0021.00
#00000010.1021.001.001.00
##00000010.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B047
Deuteranopia (green-blind)
#C9B756
Tritanopia (blue-blind)
#D6A89E
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #c8b451;
/* rgb */ color: rgb(200, 180, 81);
/* oklch */ color: oklch(76.8% 0.121 98.0);
Tailwind
colors: {
  custom: {
    50: '#dbca85',
    500: '#c8b451',
    950: '#000000',
  },
}
SCSS
$custom: #c8b451;
$custom-light: #dbca85;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b451",
  "rgb": {
    "r": 200,
    "g": 180,
    "b": 81
  },
  "hsl": {
    "h": 49.916,
    "s": 51.965,
    "l": 55.098
  },
  "oklch": {
    "l": 0.76758,
    "c": 0.1213,
    "h": 98
  },
  "luminance": 0.45516
}

Semantic roles & 50–950 ramp

primary
#C8B451
secondary
#A1AAD3
accent
#64DB4C
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C8B451

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

Preview Lab → · Contrast checker → · Palette generator →

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