#C8BE52#C8BE52

#C8BE52 is a light, vivid yellow. Relative luminance 0.497; OKLCH L 78.9% C 0.129 H 104.0°. Best body text is #000000 at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#C8BE52
RGBrgb(200, 190, 82)
HSLhsl(55, 52%, 55%)
HSVhsv(55, 59%, 78%)
CMYKcmyk(0%, 5%, 59%, 21.6%)
CIE-LABlab(75.90, -10.02, 54.52)
CIE-LCHlch(75.90, 55.44, 100.42°)
OKLaboklab(78.88% -0.0314 0.1256)
OKLCHoklch(78.88% 0.129 104)
XYZxyz(43.7574, 49.7170, 15.2724)
Luminance0.4971 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8BE52 #525CC8
analogous
#C88352 #C8BE52 #97C852
triadic
#C8BE52 #52C8BE #BE52C8
tetradic
#C8BE52 #52C883 #525CC8 #C85297
square
#C8BE52 #52C883 #525CC8 #C85297
split-complementary
#C8BE52 #5297C8 #8352C8
monochromatic
#797227 #A89E35 #C8BE52 #D7CF80 #E6E1AF

Accessibility & contrast

On white

1.92
#C8BE52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.94
#C8BE52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8BE52
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8BE52#FFFFFF#000000##000000
##C8BE521.001.9210.9410.94
#FFFFFF1.921.0021.0021.00
#00000010.9421.001.001.00
##00000010.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB846
Deuteranopia (green-blind)
#D1BE58
Tritanopia (blue-blind)
#D6B2A7
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c8be52;
/* rgb */ color: rgb(200, 190, 82);
/* oklch */ color: oklch(78.9% 0.129 104.0);
Tailwind
colors: {
  custom: {
    50: '#dbd187',
    500: '#c8be52',
    950: '#000000',
  },
}
SCSS
$custom: #c8be52;
$custom-light: #dbd187;
$custom-dark: #000000;
JSON
{
  "hex": "#c8be52",
  "rgb": {
    "r": 200,
    "g": 190,
    "b": 82
  },
  "hsl": {
    "h": 54.915,
    "s": 51.754,
    "l": 55.294
  },
  "oklch": {
    "l": 0.78875,
    "c": 0.12949,
    "h": 104
  },
  "luminance": 0.49715
}

Semantic roles & 50–950 ramp

primary
#C8BE52
secondary
#A2A6D4
accent
#59DB4D
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15140B
muted
#83827C

Preview Lab

Preview with #C8BE52

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

Preview Lab → · Contrast checker → · Palette generator →

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