#C7BC59#C7BC59

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

Color values

HEX#C7BC59
RGBrgb(199, 188, 89)
HSLhsl(54, 50%, 56%)
HSVhsv(54, 55%, 78%)
CMYKcmyk(0%, 5.5%, 55.3%, 22%)
CIE-LABlab(75.35, -8.88, 50.67)
CIE-LCHlch(75.35, 51.44, 99.95°)
OKLaboklab(78.44% -0.0273 0.1182)
OKLCHoklch(78.44% 0.121 103)
XYZxyz(43.3410, 48.8313, 16.5916)
Luminance0.4883 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BC59 #5964C7
analogous
#C78559 #C7BC59 #9BC759
triadic
#C7BC59 #59C7BC #BC59C7
tetradic
#C7BC59 #59C785 #5964C7 #C7599B
square
#C7BC59 #59C785 #5964C7 #C7599B
split-complementary
#C7BC59 #599BC7 #8559C7
monochromatic
#7C742A #AA9E39 #C7BC59 #D6CE87 #E6E1B5

Accessibility & contrast

On white

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

On black

10.77
#C7BC59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7BC59
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7BC59#FFFFFF#000000##000000
##C7BC591.001.9510.7710.77
#FFFFFF1.951.0021.0021.00
#00000010.7721.001.001.00
##00000010.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB74F
Deuteranopia (green-blind)
#CEBC5E
Tritanopia (blue-blind)
#D4B1A6
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #c7bc59;
/* rgb */ color: rgb(199, 188, 89);
/* oklch */ color: oklch(78.4% 0.121 103.0);
Tailwind
colors: {
  custom: {
    50: '#dacf8b',
    500: '#c7bc59',
    950: '#000000',
  },
}
SCSS
$custom: #c7bc59;
$custom-light: #dacf8b;
$custom-dark: #000000;
JSON
{
  "hex": "#c7bc59",
  "rgb": {
    "r": 199,
    "g": 188,
    "b": 89
  },
  "hsl": {
    "h": 54,
    "s": 49.55,
    "l": 56.471
  },
  "oklch": {
    "l": 0.7844,
    "c": 0.12133,
    "h": 103
  },
  "luminance": 0.4883
}

Semantic roles & 50–950 ramp

primary
#C7BC59
secondary
#A7ACD4
accent
#5DD94F
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #C7BC59

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

Preview Lab → · Contrast checker → · Palette generator →

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