#C7BD56#C7BD56

#C7BD56 is a light, vivid yellow. Relative luminance 0.492; OKLCH L 78.6% C 0.125 H 103.8°. Best body text is #000000 at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#C7BD56
RGBrgb(199, 189, 86)
HSLhsl(55, 50%, 56%)
HSVhsv(55, 57%, 78%)
CMYKcmyk(0%, 5%, 56.8%, 22%)
CIE-LABlab(75.58, -9.63, 52.33)
CIE-LCHlch(75.58, 53.21, 100.43°)
OKLaboklab(78.62% -0.0297 0.1215)
OKLCHoklch(78.62% 0.125 103.8)
XYZxyz(43.4319, 49.2107, 16.0131)
Luminance0.4921 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BD56 #5660C7
analogous
#C78456 #C7BD56 #98C756
triadic
#C7BD56 #56C7BD #BD56C7
tetradic
#C7BD56 #56C784 #5660C7 #C75698
square
#C7BD56 #56C784 #5660C7 #C75698
split-complementary
#C7BD56 #5698C7 #8456C7
monochromatic
#7A7328 #A89E38 #C7BD56 #D6CF84 #E5E1B2

Accessibility & contrast

On white

1.94
#C7BD56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.84
#C7BD56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7BD56
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7BD56#FFFFFF#000000##000000
##C7BD561.001.9410.8410.84
#FFFFFF1.941.0021.0021.00
#00000010.8421.001.001.00
##00000010.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB74B
Deuteranopia (green-blind)
#CFBD5B
Tritanopia (blue-blind)
#D4B2A6
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #c7bd56;
/* rgb */ color: rgb(199, 189, 86);
/* oklch */ color: oklch(78.6% 0.125 103.8);
Tailwind
colors: {
  custom: {
    50: '#dad089',
    500: '#c7bd56',
    950: '#000000',
  },
}
SCSS
$custom: #c7bd56;
$custom-light: #dad089;
$custom-dark: #000000;
JSON
{
  "hex": "#c7bd56",
  "rgb": {
    "r": 199,
    "g": 189,
    "b": 86
  },
  "hsl": {
    "h": 54.69,
    "s": 50.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.78618,
    "c": 0.12504,
    "h": 103.8
  },
  "luminance": 0.49209
}

Semantic roles & 50–950 ramp

primary
#C7BD56
secondary
#A5A9D4
accent
#5ADA4E
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15140C
muted
#83827D

Preview Lab

Preview with #C7BD56

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

Preview Lab → · Contrast checker → · Palette generator →

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