#C7BB56#C7BB56

#C7BB56 is a light, vivid yellow. Relative luminance 0.484; OKLCH L 78.2% C 0.123 H 102.6°. Best body text is #000000 at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#C7BB56
RGBrgb(199, 187, 86)
HSLhsl(54, 50%, 56%)
HSVhsv(54, 57%, 78%)
CMYKcmyk(0%, 6%, 56.8%, 22%)
CIE-LABlab(75.05, -8.60, 51.73)
CIE-LCHlch(75.05, 52.44, 99.44°)
OKLaboklab(78.19% -0.0268 0.1202)
OKLCHoklch(78.19% 0.123 102.6)
XYZxyz(43.0047, 48.3562, 15.8707)
Luminance0.4835 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BB56 #5662C7
analogous
#C78256 #C7BB56 #9AC756
triadic
#C7BB56 #56C7BB #BB56C7
tetradic
#C7BB56 #56C782 #5662C7 #C7569A
square
#C7BB56 #56C782 #5662C7 #C7569A
split-complementary
#C7BB56 #569AC7 #8256C7
monochromatic
#7A7128 #A89C38 #C7BB56 #D6CD84 #E5E0B2

Accessibility & contrast

On white

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

On black

10.67
#C7BB56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7BB56
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7BB56#FFFFFF#000000##000000
##C7BB561.001.9710.6710.67
#FFFFFF1.971.0021.0021.00
#00000010.6721.001.001.00
##00000010.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB64C
Deuteranopia (green-blind)
#CEBB5B
Tritanopia (blue-blind)
#D5B0A5
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #c7bb56;
/* rgb */ color: rgb(199, 187, 86);
/* oklch */ color: oklch(78.2% 0.123 102.6);
Tailwind
colors: {
  custom: {
    50: '#dacf89',
    500: '#c7bb56',
    950: '#000000',
  },
}
SCSS
$custom: #c7bb56;
$custom-light: #dacf89;
$custom-dark: #000000;
JSON
{
  "hex": "#c7bb56",
  "rgb": {
    "r": 199,
    "g": 187,
    "b": 86
  },
  "hsl": {
    "h": 53.628,
    "s": 50.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.78194,
    "c": 0.12311,
    "h": 102.6
  },
  "luminance": 0.48355
}

Semantic roles & 50–950 ramp

primary
#C7BB56
secondary
#A5AAD4
accent
#5DDA4E
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #C7BB56

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

Preview Lab → · Contrast checker → · Palette generator →

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