#C8B452#C8B452

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

Color values

HEX#C8B452
RGBrgb(200, 180, 82)
HSLhsl(50, 52%, 55%)
HSVhsv(50, 59%, 78%)
CMYKcmyk(0%, 10%, 59%, 21.6%)
CIE-LABlab(73.24, -4.84, 51.56)
CIE-LCHlch(73.24, 51.78, 95.36°)
OKLaboklab(76.77% -0.0165 0.1193)
OKLCHoklch(76.77% 0.12 97.9)
XYZxyz(41.6653, 45.5329, 14.5750)
Luminance0.4553 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B452 #5266C8
analogous
#C87952 #C8B452 #A1C852
triadic
#C8B452 #52C8B4 #B452C8
tetradic
#C8B452 #52C879 #5266C8 #C852A1
square
#C8B452 #52C879 #5266C8 #C852A1
split-complementary
#C8B452 #52A1C8 #7952C8
monochromatic
#796B27 #A89435 #C8B452 #D7C880 #E6DCAF

Accessibility & contrast

On white

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

On black

10.11
#C8B452 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B452
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B452#FFFFFF#000000##000000
##C8B4521.002.0810.1110.11
#FFFFFF2.081.0021.0021.00
#00000010.1121.001.001.00
##00000010.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8b452;
/* rgb */ color: rgb(200, 180, 82);
/* oklch */ color: oklch(76.8% 0.120 97.9);
Tailwind
colors: {
  custom: {
    50: '#dbca86',
    500: '#c8b452',
    950: '#000000',
  },
}
SCSS
$custom: #c8b452;
$custom-light: #dbca86;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b452",
  "rgb": {
    "r": 200,
    "g": 180,
    "b": 82
  },
  "hsl": {
    "h": 49.831,
    "s": 51.754,
    "l": 55.294
  },
  "oklch": {
    "l": 0.76769,
    "c": 0.12043,
    "h": 97.9
  },
  "luminance": 0.45531
}

Semantic roles & 50–950 ramp

primary
#C8B452
secondary
#A2ABD4
accent
#65DB4D
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130B
muted
#83827C

Preview Lab

Preview with #C8B452

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

Preview Lab → · Contrast checker → · Palette generator →

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