#C7BF81#C7BF81

#C7BF81 is a light, moderate yellow. Relative luminance 0.510; OKLCH L 79.7% C 0.082 H 101.8°. Best body text is #000000 at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#C7BF81
RGBrgb(199, 191, 129)
HSLhsl(53, 38%, 64%)
HSVhsv(53, 35%, 78%)
CMYKcmyk(0%, 4%, 35.2%, 22%)
CIE-LABlab(76.67, -6.47, 32.33)
CIE-LCHlch(76.67, 32.97, 101.32°)
OKLaboklab(79.66% -0.0167 0.08)
OKLCHoklch(79.66% 0.082 101.8)
XYZxyz(46.1470, 50.9898, 28.1757)
Luminance0.5099 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BF81 #8189C7
analogous
#C79C81 #C7BF81 #ACC781
triadic
#C7BF81 #81C7BF #BF81C7
tetradic
#C7BF81 #81C79C #8189C7 #C781AC
square
#C7BF81 #81C79C #8189C7 #C781AC
split-complementary
#C7BF81 #81ACC7 #9C81C7
monochromatic
#8E853F #B4A957 #C7BF81 #DAD5AB #EDEAD6

Accessibility & contrast

On white

1.88
#C7BF81 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.20
#C7BF81 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7BF81
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7BF81#FFFFFF#000000##000000
##C7BF811.001.8811.2011.20
#FFFFFF1.881.0021.0021.00
#00000011.2021.001.001.00
##00000011.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CABB7D
Deuteranopia (green-blind)
#CDBF83
Tritanopia (blue-blind)
#D1B7AF
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c7bf81;
/* rgb */ color: rgb(199, 191, 129);
/* oklch */ color: oklch(79.7% 0.082 101.8);
Tailwind
colors: {
  custom: {
    50: '#d9d2a6',
    500: '#c7bf81',
    950: '#000000',
  },
}
SCSS
$custom: #c7bf81;
$custom-light: #d9d2a6;
$custom-dark: #000000;
JSON
{
  "hex": "#c7bf81",
  "rgb": {
    "r": 199,
    "g": 191,
    "b": 129
  },
  "hsl": {
    "h": 53.143,
    "s": 38.462,
    "l": 64.314
  },
  "oklch": {
    "l": 0.79665,
    "c": 0.08168,
    "h": 101.8
  },
  "luminance": 0.50989
}

Semantic roles & 50–950 ramp

primary
#C7BF81
secondary
#565E96
accent
#42B134
background
#FEFEFC
surface
#FBFBF6
border
#D4D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #C7BF81

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

Preview Lab → · Contrast checker → · Palette generator →

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