#C8B652#C8B652

#C8B652 is a light, vivid yellow. Relative luminance 0.463; OKLCH L 77.2% C 0.122 H 99.2°. Best body text is #000000 at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#C8B652
RGBrgb(200, 182, 82)
HSLhsl(51, 52%, 55%)
HSVhsv(51, 59%, 78%)
CMYKcmyk(0%, 9%, 59%, 21.6%)
CIE-LABlab(73.77, -5.88, 52.15)
CIE-LCHlch(73.77, 52.48, 96.44°)
OKLaboklab(77.19% -0.0195 0.1206)
OKLCHoklch(77.19% 0.122 99.2)
XYZxyz(42.0720, 46.3462, 14.7106)
Luminance0.4634 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B652 #5264C8
analogous
#C87B52 #C8B652 #9FC852
triadic
#C8B652 #52C8B6 #B652C8
tetradic
#C8B652 #52C87B #5264C8 #C8529F
square
#C8B652 #52C87B #5264C8 #C8529F
split-complementary
#C8B652 #529FC8 #7B52C8
monochromatic
#796C27 #A89635 #C8B652 #D7CA80 #E6DDAF

Accessibility & contrast

On white

2.05
#C8B652 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.27
#C8B652 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B652
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B652#FFFFFF#000000##000000
##C8B6521.002.0510.2710.27
#FFFFFF2.051.0021.0021.00
#00000010.2721.001.001.00
##00000010.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B148
Deuteranopia (green-blind)
#CBB857
Tritanopia (blue-blind)
#D6AAA0
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #c8b652;
/* rgb */ color: rgb(200, 182, 82);
/* oklch */ color: oklch(77.2% 0.122 99.2);
Tailwind
colors: {
  custom: {
    50: '#dbcb86',
    500: '#c8b652',
    950: '#000000',
  },
}
SCSS
$custom: #c8b652;
$custom-light: #dbcb86;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b652",
  "rgb": {
    "r": 200,
    "g": 182,
    "b": 82
  },
  "hsl": {
    "h": 50.847,
    "s": 51.754,
    "l": 55.294
  },
  "oklch": {
    "l": 0.77187,
    "c": 0.12213,
    "h": 99.2
  },
  "luminance": 0.46344
}

Semantic roles & 50–950 ramp

primary
#C8B652
secondary
#A2AAD4
accent
#62DB4D
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130B
muted
#83827C

Preview Lab

Preview with #C8B652

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

Preview Lab → · Contrast checker → · Palette generator →

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