#C7BE51#C7BE51

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

Color values

HEX#C7BE51
RGBrgb(199, 190, 81)
HSLhsl(55, 51%, 55%)
HSVhsv(55, 59%, 78%)
CMYKcmyk(0%, 4.5%, 59.3%, 22%)
CIE-LABlab(75.80, -10.51, 54.84)
CIE-LCHlch(75.80, 55.84, 100.85°)
OKLaboklab(78.78% -0.0328 0.1262)
OKLCHoklch(78.78% 0.13 104.6)
XYZxyz(43.4533, 49.5646, 15.0610)
Luminance0.4956 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BE51 #515AC7
analogous
#C78351 #C7BE51 #95C751
triadic
#C7BE51 #51C7BE #BE51C7
tetradic
#C7BE51 #51C783 #515AC7 #C75195
square
#C7BE51 #51C783 #515AC7 #C75195
split-complementary
#C7BE51 #5195C7 #8351C7
monochromatic
#777126 #A69D35 #C7BE51 #D6CF7F #E5E1AE

Accessibility & contrast

On white

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

On black

10.91
#C7BE51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7BE51
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7BE51#FFFFFF#000000##000000
##C7BE511.001.9210.9110.91
#FFFFFF1.921.0021.0021.00
#00000010.9121.001.001.00
##00000010.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB845
Deuteranopia (green-blind)
#D1BD57
Tritanopia (blue-blind)
#D5B2A6
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c7be51;
/* rgb */ color: rgb(199, 190, 81);
/* oklch */ color: oklch(78.8% 0.130 104.6);
Tailwind
colors: {
  custom: {
    50: '#dbd186',
    500: '#c7be51',
    950: '#000000',
  },
}
SCSS
$custom: #c7be51;
$custom-light: #dbd186;
$custom-dark: #000000;
JSON
{
  "hex": "#c7be51",
  "rgb": {
    "r": 199,
    "g": 190,
    "b": 81
  },
  "hsl": {
    "h": 55.424,
    "s": 51.304,
    "l": 54.902
  },
  "oklch": {
    "l": 0.78777,
    "c": 0.13041,
    "h": 104.6
  },
  "luminance": 0.49563
}

Semantic roles & 50–950 ramp

primary
#C7BE51
secondary
#A1A5D3
accent
#58DB4D
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15140B
muted
#83827C

Preview Lab

Preview with #C7BE51

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

Preview Lab → · Contrast checker → · Palette generator →

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