#C7BC56#C7BC56

#C7BC56 is a light, vivid yellow. Relative luminance 0.488; OKLCH L 78.4% C 0.124 H 103.2°. Best body text is #000000 at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#C7BC56
RGBrgb(199, 188, 86)
HSLhsl(54, 50%, 56%)
HSVhsv(54, 57%, 78%)
CMYKcmyk(0%, 5.5%, 56.8%, 22%)
CIE-LABlab(75.32, -9.12, 52.03)
CIE-LCHlch(75.32, 52.82, 99.94°)
OKLaboklab(78.41% -0.0283 0.1208)
OKLCHoklch(78.41% 0.124 103.2)
XYZxyz(43.2176, 48.7820, 15.9416)
Luminance0.4878 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BC56 #5661C7
analogous
#C78356 #C7BC56 #99C756
triadic
#C7BC56 #56C7BC #BC56C7
tetradic
#C7BC56 #56C783 #5661C7 #C75699
square
#C7BC56 #56C783 #5661C7 #C75699
split-complementary
#C7BC56 #5699C7 #8356C7
monochromatic
#7A7228 #A89D38 #C7BC56 #D6CE84 #E5E0B2

Accessibility & contrast

On white

1.95
#C7BC56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.76
#C7BC56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7BC56
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7BC56#FFFFFF#000000##000000
##C7BC561.001.9510.7610.76
#FFFFFF1.951.0021.0021.00
#00000010.7621.001.001.00
##00000010.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB64C
Deuteranopia (green-blind)
#CFBC5B
Tritanopia (blue-blind)
#D4B1A5
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #c7bc56;
/* rgb */ color: rgb(199, 188, 86);
/* oklch */ color: oklch(78.4% 0.124 103.2);
Tailwind
colors: {
  custom: {
    50: '#dacf89',
    500: '#c7bc56',
    950: '#000000',
  },
}
SCSS
$custom: #c7bc56;
$custom-light: #dacf89;
$custom-dark: #000000;
JSON
{
  "hex": "#c7bc56",
  "rgb": {
    "r": 199,
    "g": 188,
    "b": 86
  },
  "hsl": {
    "h": 54.159,
    "s": 50.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.78406,
    "c": 0.12407,
    "h": 103.2
  },
  "luminance": 0.4878
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C7BC56

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

Preview Lab → · Contrast checker → · Palette generator →

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