#C7BF59#C7BF59

#C7BF59 is a light, vivid yellow. Relative luminance 0.501; OKLCH L 79.1% C 0.124 H 104.8°. Best body text is #000000 at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#C7BF59
RGBrgb(199, 191, 89)
HSLhsl(56, 50%, 56%)
HSVhsv(56, 55%, 78%)
CMYKcmyk(0%, 4%, 55.3%, 22%)
CIE-LABlab(76.15, -10.43, 51.59)
CIE-LCHlch(76.15, 52.63, 101.43°)
OKLaboklab(79.08% -0.0317 0.1202)
OKLCHoklch(79.08% 0.124 104.8)
XYZxyz(43.9885, 50.1264, 16.8075)
Luminance0.5012 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BF59 #5961C7
analogous
#C78859 #C7BF59 #98C759
triadic
#C7BF59 #59C7BF #BF59C7
tetradic
#C7BF59 #59C788 #5961C7 #C75998
square
#C7BF59 #59C788 #5961C7 #C75998
split-complementary
#C7BF59 #5998C7 #8859C7
monochromatic
#7C762A #AAA139 #C7BF59 #D6D187 #E6E2B5

Accessibility & contrast

On white

1.90
#C7BF59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.03
#C7BF59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7BF59
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7BF59#FFFFFF#000000##000000
##C7BF591.001.9011.0311.03
#FFFFFF1.901.0021.0021.00
#00000011.0321.001.001.00
##00000011.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB94F
Deuteranopia (green-blind)
#D1BE5E
Tritanopia (blue-blind)
#D4B4A8
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c7bf59;
/* rgb */ color: rgb(199, 191, 89);
/* oklch */ color: oklch(79.1% 0.124 104.8);
Tailwind
colors: {
  custom: {
    50: '#dad28b',
    500: '#c7bf59',
    950: '#000000',
  },
}
SCSS
$custom: #c7bf59;
$custom-light: #dad28b;
$custom-dark: #000000;
JSON
{
  "hex": "#c7bf59",
  "rgb": {
    "r": 199,
    "g": 191,
    "b": 89
  },
  "hsl": {
    "h": 55.636,
    "s": 49.55,
    "l": 56.471
  },
  "oklch": {
    "l": 0.79076,
    "c": 0.12431,
    "h": 104.8
  },
  "luminance": 0.50125
}

Semantic roles & 50–950 ramp

primary
#C7BF59
secondary
#404584
accent
#59D94F
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C7BF59

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

Preview Lab → · Contrast checker → · Palette generator →

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