#C7BF8A#C7BF8A

#C7BF8A is a light, moderate yellow. Relative luminance 0.512; OKLCH L 79.8% C 0.071 H 100.6°. Best body text is #000000 at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#C7BF8A
RGBrgb(199, 191, 138)
HSLhsl(52, 35%, 66%)
HSVhsv(52, 31%, 78%)
CMYKcmyk(0%, 4%, 30.7%, 22%)
CIE-LABlab(76.82, -5.36, 27.81)
CIE-LCHlch(76.82, 28.32, 100.90°)
OKLaboklab(79.83% -0.013 0.0696)
OKLCHoklch(79.83% 0.071 100.6)
XYZxyz(46.7718, 51.2397, 31.4662)
Luminance0.5124 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BF8A #8A92C7
analogous
#C7A08A #C7BF8A #B0C78A
triadic
#C7BF8A #8AC7BF #BF8AC7
tetradic
#C7BF8A #8AC7A0 #8A92C7 #C78AB0
square
#C7BF8A #8AC7A0 #8A92C7 #C78AB0
split-complementary
#C7BF8A #8AB0C7 #A08AC7
monochromatic
#918745 #B3A861 #C7BF8A #DBD6B3 #EFECDD

Accessibility & contrast

On white

1.87
#C7BF8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.25
#C7BF8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7BF8A
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7BF8A#FFFFFF#000000##000000
##C7BF8A1.001.8711.2511.25
#FFFFFF1.871.0021.0021.00
#00000011.2521.001.001.00
##00000011.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9BC86
Deuteranopia (green-blind)
#CBBF8C
Tritanopia (blue-blind)
#D0B8B1
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c7bf8a;
/* rgb */ color: rgb(199, 191, 138);
/* oklch */ color: oklch(79.8% 0.071 100.6);
Tailwind
colors: {
  custom: {
    50: '#d8d2ac',
    500: '#c7bf8a',
    950: '#000000',
  },
}
SCSS
$custom: #c7bf8a;
$custom-light: #d8d2ac;
$custom-dark: #000000;
JSON
{
  "hex": "#c7bf8a",
  "rgb": {
    "r": 199,
    "g": 191,
    "b": 138
  },
  "hsl": {
    "h": 52.131,
    "s": 35.26,
    "l": 66.078
  },
  "oklch": {
    "l": 0.79834,
    "c": 0.0708,
    "h": 100.6
  },
  "luminance": 0.51239
}

Semantic roles & 50–950 ramp

primary
#C7BF8A
secondary
#5C6499
accent
#47AE37
background
#FEFEFD
surface
#FBFBF7
border
#D4D4D0
text
#141410
muted
#838381

Preview Lab

Preview with #C7BF8A

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

Preview Lab → · Contrast checker → · Palette generator →

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