#C7BF56#C7BF56

#C7BF56 is a light, vivid yellow. Relative luminance 0.501; OKLCH L 79.0% C 0.127 H 104.9°. Best body text is #000000 at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#C7BF56
RGBrgb(199, 191, 86)
HSLhsl(56, 50%, 56%)
HSVhsv(56, 57%, 78%)
CMYKcmyk(0%, 4%, 56.8%, 22%)
CIE-LABlab(76.12, -10.66, 52.94)
CIE-LCHlch(76.12, 54.00, 101.39°)
OKLaboklab(79.04% -0.0327 0.1228)
OKLCHoklch(79.04% 0.127 104.9)
XYZxyz(43.8651, 50.0770, 16.1575)
Luminance0.5008 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BF56 #565EC7
analogous
#C78656 #C7BF56 #96C756
triadic
#C7BF56 #56C7BF #BF56C7
tetradic
#C7BF56 #56C786 #565EC7 #C75696
square
#C7BF56 #56C786 #565EC7 #C75696
split-complementary
#C7BF56 #5696C7 #8656C7
monochromatic
#7A7428 #A8A038 #C7BF56 #D6D084 #E5E2B2

Accessibility & contrast

On white

1.91
#C7BF56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.02
#C7BF56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7BF56
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7BF56#FFFFFF#000000##000000
##C7BF561.001.9111.0211.02
#FFFFFF1.911.0021.0021.00
#00000011.0221.001.001.00
##00000011.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c7bf56;
/* rgb */ color: rgb(199, 191, 86);
/* oklch */ color: oklch(79.0% 0.127 104.9);
Tailwind
colors: {
  custom: {
    50: '#dad289',
    500: '#c7bf56',
    950: '#000000',
  },
}
SCSS
$custom: #c7bf56;
$custom-light: #dad289;
$custom-dark: #000000;
JSON
{
  "hex": "#c7bf56",
  "rgb": {
    "r": 199,
    "g": 191,
    "b": 86
  },
  "hsl": {
    "h": 55.752,
    "s": 50.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.79043,
    "c": 0.12703,
    "h": 104.9
  },
  "luminance": 0.50076
}

Semantic roles & 50–950 ramp

primary
#C7BF56
secondary
#3F4383
accent
#58DA4E
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C7BF56

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

Preview Lab → · Contrast checker → · Palette generator →

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