#C7BB52#C7BB52

#C7BB52 is a light, vivid yellow. Relative luminance 0.483; OKLCH L 78.1% C 0.127 H 102.8°. Best body text is #000000 at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#C7BB52
RGBrgb(199, 187, 82)
HSLhsl(54, 51%, 55%)
HSVhsv(54, 59%, 78%)
CMYKcmyk(0%, 6%, 58.8%, 22%)
CIE-LABlab(75.01, -8.90, 53.52)
CIE-LCHlch(75.01, 54.25, 99.44°)
OKLaboklab(78.15% -0.0281 0.1235)
OKLCHoklch(78.15% 0.127 102.8)
XYZxyz(42.8480, 48.2935, 15.0456)
Luminance0.4829 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BB52 #525EC7
analogous
#C78052 #C7BB52 #99C752
triadic
#C7BB52 #52C7BB #BB52C7
tetradic
#C7BB52 #52C780 #525EC7 #C75299
square
#C7BB52 #52C780 #525EC7 #C75299
split-complementary
#C7BB52 #5299C7 #8052C7
monochromatic
#787027 #A69B36 #C7BB52 #D6CD80 #E5DFAE

Accessibility & contrast

On white

1.97
#C7BB52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.66
#C7BB52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7BB52
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7BB52#FFFFFF#000000##000000
##C7BB521.001.9710.6610.66
#FFFFFF1.971.0021.0021.00
#00000010.6621.001.001.00
##00000010.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB547
Deuteranopia (green-blind)
#CEBB57
Tritanopia (blue-blind)
#D5AFA4
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #c7bb52;
/* rgb */ color: rgb(199, 187, 82);
/* oklch */ color: oklch(78.1% 0.127 102.8);
Tailwind
colors: {
  custom: {
    50: '#dbcf86',
    500: '#c7bb52',
    950: '#000000',
  },
}
SCSS
$custom: #c7bb52;
$custom-light: #dbcf86;
$custom-dark: #000000;
JSON
{
  "hex": "#c7bb52",
  "rgb": {
    "r": 199,
    "g": 187,
    "b": 82
  },
  "hsl": {
    "h": 53.846,
    "s": 51.092,
    "l": 55.098
  },
  "oklch": {
    "l": 0.7815,
    "c": 0.12666,
    "h": 102.8
  },
  "luminance": 0.48292
}

Semantic roles & 50–950 ramp

primary
#C7BB52
secondary
#A2A7D3
accent
#5CDB4D
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130B
muted
#83827C

Preview Lab

Preview with #C7BB52

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

Preview Lab → · Contrast checker → · Palette generator →

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