#C7BC4E#C7BC4E

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

Color values

HEX#C7BC4E
RGBrgb(199, 188, 78)
HSLhsl(55, 52%, 54%)
HSVhsv(55, 61%, 78%)
CMYKcmyk(0%, 5.5%, 60.8%, 22%)
CIE-LABlab(75.24, -9.70, 55.56)
CIE-LCHlch(75.24, 56.40, 99.90°)
OKLaboklab(78.32% -0.0308 0.1273)
OKLCHoklch(78.32% 0.131 103.6)
XYZxyz(42.9131, 48.6602, 14.3381)
Luminance0.4866 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BC4E #4E59C7
analogous
#C77F4E #C7BC4E #96C74E
triadic
#C7BC4E #4EC7BC #BC4EC7
tetradic
#C7BC4E #4EC77F #4E59C7 #C74E96
square
#C7BC4E #4EC77F #4E59C7 #C74E96
split-complementary
#C7BC4E #4E96C7 #7F4EC7
monochromatic
#756E25 #A49A34 #C7BC4E #D6CE7C #E4DFAB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7BC4E#FFFFFF#000000##000000
##C7BC4E1.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)
#CCB642
Deuteranopia (green-blind)
#CFBC54
Tritanopia (blue-blind)
#D5B0A4
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #c7bc4e;
/* rgb */ color: rgb(199, 188, 78);
/* oklch */ color: oklch(78.3% 0.131 103.6);
Tailwind
colors: {
  custom: {
    50: '#dbcf84',
    500: '#c7bc4e',
    950: '#000000',
  },
}
SCSS
$custom: #c7bc4e;
$custom-light: #dbcf84;
$custom-dark: #000000;
JSON
{
  "hex": "#c7bc4e",
  "rgb": {
    "r": 199,
    "g": 188,
    "b": 78
  },
  "hsl": {
    "h": 54.545,
    "s": 51.931,
    "l": 54.314
  },
  "oklch": {
    "l": 0.78321,
    "c": 0.131,
    "h": 103.6
  },
  "luminance": 0.48659
}

Semantic roles & 50–950 ramp

primary
#C7BC4E
secondary
#9FA3D2
accent
#59DB4C
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C7BC4E

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

Preview Lab → · Contrast checker → · Palette generator →

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