#C8B252#C8B252

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

Color values

HEX#C8B252
RGBrgb(200, 178, 82)
HSLhsl(49, 52%, 55%)
HSVhsv(49, 59%, 78%)
CMYKcmyk(0%, 11%, 59%, 21.6%)
CIE-LABlab(72.71, -3.79, 50.96)
CIE-LCHlch(72.71, 51.10, 94.25°)
OKLaboklab(76.35% -0.0135 0.118)
OKLCHoklch(76.35% 0.119 96.5)
XYZxyz(41.2645, 44.7312, 14.4414)
Luminance0.4473 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B252 #5268C8
analogous
#C87752 #C8B252 #A3C852
triadic
#C8B252 #52C8B2 #B252C8
tetradic
#C8B252 #52C877 #5268C8 #C852A3
square
#C8B252 #52C877 #5268C8 #C852A3
split-complementary
#C8B252 #52A3C8 #7752C8
monochromatic
#796A27 #A89235 #C8B252 #D7C780 #E6DBAF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8B252#FFFFFF#000000##000000
##C8B2521.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)
#C2AE48
Deuteranopia (green-blind)
#C8B656
Tritanopia (blue-blind)
#D6A69D
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c8b252;
/* rgb */ color: rgb(200, 178, 82);
/* oklch */ color: oklch(76.4% 0.119 96.5);
Tailwind
colors: {
  custom: {
    50: '#dbc886',
    500: '#c8b252',
    950: '#000000',
  },
}
SCSS
$custom: #c8b252;
$custom-light: #dbc886;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b252",
  "rgb": {
    "r": 200,
    "g": 178,
    "b": 82
  },
  "hsl": {
    "h": 48.814,
    "s": 51.754,
    "l": 55.294
  },
  "oklch": {
    "l": 0.76352,
    "c": 0.11878,
    "h": 96.5
  },
  "luminance": 0.44729
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C8B252

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

Preview Lab → · Contrast checker → · Palette generator →

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