#C8BE51#C8BE51

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

Color values

HEX#C8BE51
RGBrgb(200, 190, 81)
HSLhsl(55, 52%, 55%)
HSVhsv(55, 60%, 78%)
CMYKcmyk(0%, 5%, 59.5%, 21.6%)
CIE-LABlab(75.89, -10.09, 54.96)
CIE-LCHlch(75.89, 55.88, 100.41°)
OKLaboklab(78.86% -0.0317 0.1264)
OKLCHoklch(78.86% 0.13 104.1)
XYZxyz(43.7196, 49.7019, 15.0735)
Luminance0.4970 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8BE51 #515BC8
analogous
#C88251 #C8BE51 #96C851
triadic
#C8BE51 #51C8BE #BE51C8
tetradic
#C8BE51 #51C882 #515BC8 #C85196
square
#C8BE51 #51C882 #515BC8 #C85196
split-complementary
#C8BE51 #5196C8 #8251C8
monochromatic
#797226 #A79D35 #C8BE51 #D7CF80 #E5E1AE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8BE51#FFFFFF#000000##000000
##C8BE511.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)
#CDB845
Deuteranopia (green-blind)
#D1BE57
Tritanopia (blue-blind)
#D6B2A6
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c8be51;
/* rgb */ color: rgb(200, 190, 81);
/* oklch */ color: oklch(78.9% 0.130 104.1);
Tailwind
colors: {
  custom: {
    50: '#dbd186',
    500: '#c8be51',
    950: '#000000',
  },
}
SCSS
$custom: #c8be51;
$custom-light: #dbd186;
$custom-dark: #000000;
JSON
{
  "hex": "#c8be51",
  "rgb": {
    "r": 200,
    "g": 190,
    "b": 81
  },
  "hsl": {
    "h": 54.958,
    "s": 51.965,
    "l": 55.098
  },
  "oklch": {
    "l": 0.78864,
    "c": 0.13034,
    "h": 104.1
  },
  "luminance": 0.497
}

Semantic roles & 50–950 ramp

primary
#C8BE51
secondary
#A1A6D3
accent
#58DB4C
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15140B
muted
#83827C

Preview Lab

Preview with #C8BE51

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

Preview Lab → · Contrast checker → · Palette generator →

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