#C8B752#C8B752

#C8B752 is a light, vivid yellow. Relative luminance 0.468; OKLCH L 77.4% C 0.123 H 99.8°. Best body text is #000000 at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#C8B752
RGBrgb(200, 183, 82)
HSLhsl(51, 52%, 55%)
HSVhsv(51, 59%, 78%)
CMYKcmyk(0%, 8.5%, 59%, 21.6%)
CIE-LABlab(74.03, -6.40, 52.45)
CIE-LCHlch(74.03, 52.84, 96.96°)
OKLaboklab(77.4% -0.021 0.1212)
OKLCHoklch(77.4% 0.123 99.8)
XYZxyz(42.2775, 46.7573, 14.7791)
Luminance0.4676 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B752 #5263C8
analogous
#C87C52 #C8B752 #9EC852
triadic
#C8B752 #52C8B7 #B752C8
tetradic
#C8B752 #52C87C #5263C8 #C8529E
square
#C8B752 #52C87C #5263C8 #C8529E
split-complementary
#C8B752 #529EC8 #7C52C8
monochromatic
#796D27 #A89735 #C8B752 #D7CA80 #E6DEAF

Accessibility & contrast

On white

2.03
#C8B752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.35
#C8B752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B752
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B752#FFFFFF#000000##000000
##C8B7521.002.0310.3510.35
#FFFFFF2.031.0021.0021.00
#00000010.3521.001.001.00
##00000010.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B247
Deuteranopia (green-blind)
#CBB957
Tritanopia (blue-blind)
#D6ABA1
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c8b752;
/* rgb */ color: rgb(200, 183, 82);
/* oklch */ color: oklch(77.4% 0.123 99.8);
Tailwind
colors: {
  custom: {
    50: '#dbcc86',
    500: '#c8b752',
    950: '#000000',
  },
}
SCSS
$custom: #c8b752;
$custom-light: #dbcc86;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b752",
  "rgb": {
    "r": 200,
    "g": 183,
    "b": 82
  },
  "hsl": {
    "h": 51.356,
    "s": 51.754,
    "l": 55.294
  },
  "oklch": {
    "l": 0.77397,
    "c": 0.123,
    "h": 99.8
  },
  "luminance": 0.46756
}

Semantic roles & 50–950 ramp

primary
#C8B752
secondary
#A2A9D4
accent
#61DB4D
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130B
muted
#83827C

Preview Lab

Preview with #C8B752

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

Preview Lab → · Contrast checker → · Palette generator →

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