#C7BC4D#C7BC4D

#C7BC4D is a light, vivid yellow. Relative luminance 0.486; OKLCH L 78.3% C 0.132 H 103.7°. Best body text is #000000 at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#C7BC4D
RGBrgb(199, 188, 77)
HSLhsl(55, 52%, 54%)
HSVhsv(55, 61%, 78%)
CMYKcmyk(0%, 5.5%, 61.3%, 22%)
CIE-LABlab(75.23, -9.76, 55.99)
CIE-LCHlch(75.23, 56.83, 99.89°)
OKLaboklab(78.31% -0.0311 0.1281)
OKLCHoklch(78.31% 0.132 103.7)
XYZxyz(42.8775, 48.6459, 14.1508)
Luminance0.4864 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BC4D #4D58C7
analogous
#C77F4D #C7BC4D #95C74D
triadic
#C7BC4D #4DC7BC #BC4DC7
tetradic
#C7BC4D #4DC77F #4D58C7 #C74D95
square
#C7BC4D #4DC77F #4D58C7 #C74D95
split-complementary
#C7BC4D #4D95C7 #7F4DC7
monochromatic
#756E25 #A39933 #C7BC4D #D6CE7C #E4DFAA

Accessibility & contrast

On white

1.96
#C7BC4D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.73
#C7BC4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7BC4D
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7BC4D#FFFFFF#000000##000000
##C7BC4D1.001.9610.7310.73
#FFFFFF1.961.0021.0021.00
#00000010.7321.001.001.00
##00000010.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB640
Deuteranopia (green-blind)
#CFBC53
Tritanopia (blue-blind)
#D5B0A4
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #c7bc4d;
/* rgb */ color: rgb(199, 188, 77);
/* oklch */ color: oklch(78.3% 0.132 103.7);
Tailwind
colors: {
  custom: {
    50: '#dbcf83',
    500: '#c7bc4d',
    950: '#000000',
  },
}
SCSS
$custom: #c7bc4d;
$custom-light: #dbcf83;
$custom-dark: #000000;
JSON
{
  "hex": "#c7bc4d",
  "rgb": {
    "r": 199,
    "g": 188,
    "b": 77
  },
  "hsl": {
    "h": 54.59,
    "s": 52.137,
    "l": 54.118
  },
  "oklch": {
    "l": 0.78311,
    "c": 0.13183,
    "h": 103.7
  },
  "luminance": 0.48644
}

Semantic roles & 50–950 ramp

primary
#C7BC4D
secondary
#9EA3D2
accent
#59DC4C
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C7BC4D

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

Preview Lab → · Contrast checker → · Palette generator →

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