#C7B756#C7B756

#C7B756 is a light, moderate yellow. Relative luminance 0.467; OKLCH L 77.4% C 0.119 H 100.1°. Best body text is #000000 at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#C7B756
RGBrgb(199, 183, 86)
HSLhsl(52, 50%, 56%)
HSVhsv(52, 57%, 78%)
CMYKcmyk(0%, 8%, 56.8%, 22%)
CIE-LABlab(73.99, -6.53, 50.51)
CIE-LCHlch(73.99, 50.93, 97.36°)
OKLaboklab(77.35% -0.0209 0.1176)
OKLCHoklch(77.35% 0.119 100.1)
XYZxyz(42.1679, 46.6826, 15.5918)
Luminance0.4668 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7B756 #5666C7
analogous
#C77E56 #C7B756 #9EC756
triadic
#C7B756 #56C7B7 #B756C7
tetradic
#C7B756 #56C77E #5666C7 #C7569E
square
#C7B756 #56C77E #5666C7 #C7569E
split-complementary
#C7B756 #569EC7 #7E56C7
monochromatic
#7A6F28 #A89838 #C7B756 #D6CB84 #E5DEB2

Accessibility & contrast

On white

2.03
#C7B756 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.34
#C7B756 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7B756
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7B756#FFFFFF#000000##000000
##C7B7561.002.0310.3410.34
#FFFFFF2.031.0021.0021.00
#00000010.3421.001.001.00
##00000010.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B24C
Deuteranopia (green-blind)
#CBB95B
Tritanopia (blue-blind)
#D5ABA1
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c7b756;
/* rgb */ color: rgb(199, 183, 86);
/* oklch */ color: oklch(77.4% 0.119 100.1);
Tailwind
colors: {
  custom: {
    50: '#dacc89',
    500: '#c7b756',
    950: '#000000',
  },
}
SCSS
$custom: #c7b756;
$custom-light: #dacc89;
$custom-dark: #000000;
JSON
{
  "hex": "#c7b756",
  "rgb": {
    "r": 199,
    "g": 183,
    "b": 86
  },
  "hsl": {
    "h": 51.504,
    "s": 50.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.77351,
    "c": 0.11939,
    "h": 100.1
  },
  "luminance": 0.46681
}

Semantic roles & 50–950 ramp

primary
#C7B756
secondary
#A5ACD4
accent
#62DA4E
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #C7B756

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

Preview Lab → · Contrast checker → · Palette generator →

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