#C8BF52#C8BF52

#C8BF52 is a light, vivid yellow. Relative luminance 0.501; OKLCH L 79.1% C 0.130 H 104.6°. Best body text is #000000 at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#C8BF52
RGBrgb(200, 191, 82)
HSLhsl(55, 52%, 55%)
HSVhsv(55, 59%, 78%)
CMYKcmyk(0%, 4.5%, 59%, 21.6%)
CIE-LABlab(76.16, -10.54, 54.82)
CIE-LCHlch(76.16, 55.82, 100.88°)
OKLaboklab(79.09% -0.0328 0.1263)
OKLCHoklch(79.09% 0.13 104.6)
XYZxyz(43.9747, 50.1517, 15.3448)
Luminance0.5015 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8BF52 #525BC8
analogous
#C88452 #C8BF52 #96C852
triadic
#C8BF52 #52C8BF #BF52C8
tetradic
#C8BF52 #52C884 #525BC8 #C85296
square
#C8BF52 #52C884 #525BC8 #C85296
split-complementary
#C8BF52 #5296C8 #8452C8
monochromatic
#797327 #A89F35 #C8BF52 #D7D080 #E6E1AF

Accessibility & contrast

On white

1.90
#C8BF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.03
#C8BF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8BF52
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8BF52#FFFFFF#000000##000000
##C8BF521.001.9011.0311.03
#FFFFFF1.901.0021.0021.00
#00000011.0321.001.001.00
##00000011.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB946
Deuteranopia (green-blind)
#D2BE58
Tritanopia (blue-blind)
#D6B3A7
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c8bf52;
/* rgb */ color: rgb(200, 191, 82);
/* oklch */ color: oklch(79.1% 0.130 104.6);
Tailwind
colors: {
  custom: {
    50: '#dbd287',
    500: '#c8bf52',
    950: '#000000',
  },
}
SCSS
$custom: #c8bf52;
$custom-light: #dbd287;
$custom-dark: #000000;
JSON
{
  "hex": "#c8bf52",
  "rgb": {
    "r": 200,
    "g": 191,
    "b": 82
  },
  "hsl": {
    "h": 55.424,
    "s": 51.754,
    "l": 55.294
  },
  "oklch": {
    "l": 0.79087,
    "c": 0.13046,
    "h": 104.6
  },
  "luminance": 0.5015
}

Semantic roles & 50–950 ramp

primary
#C8BF52
secondary
#3D4282
accent
#57DB4D
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C8BF52

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

Preview Lab → · Contrast checker → · Palette generator →

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