#C7BE8A#C7BE8A

#C7BE8A is a light, moderate yellow. Relative luminance 0.508; OKLCH L 79.6% C 0.070 H 99.5°. Best body text is #000000 at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#C7BE8A
RGBrgb(199, 190, 138)
HSLhsl(51, 35%, 66%)
HSVhsv(51, 31%, 78%)
CMYKcmyk(0%, 4.5%, 30.7%, 22%)
CIE-LABlab(76.56, -4.83, 27.46)
CIE-LCHlch(76.56, 27.88, 99.98°)
OKLaboklab(79.63% -0.0115 0.0688)
OKLCHoklch(79.63% 0.07 99.5)
XYZxyz(46.5545, 50.8051, 31.3938)
Luminance0.5080 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BE8A #8A93C7
analogous
#C79F8A #C7BE8A #B1C78A
triadic
#C7BE8A #8AC7BE #BE8AC7
tetradic
#C7BE8A #8AC79F #8A93C7 #C78AB1
square
#C7BE8A #8AC79F #8A93C7 #C78AB1
split-complementary
#C7BE8A #8AB1C7 #9F8AC7
monochromatic
#918645 #B3A761 #C7BE8A #DBD5B3 #EFECDD

Accessibility & contrast

On white

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

On black

11.16
#C7BE8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7BE8A
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7BE8A#FFFFFF#000000##000000
##C7BE8A1.001.8811.1611.16
#FFFFFF1.881.0021.0021.00
#00000011.1621.001.001.00
##00000011.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8BB87
Deuteranopia (green-blind)
#CBBF8C
Tritanopia (blue-blind)
#D0B7B0
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c7be8a;
/* rgb */ color: rgb(199, 190, 138);
/* oklch */ color: oklch(79.6% 0.070 99.5);
Tailwind
colors: {
  custom: {
    50: '#d8d1ac',
    500: '#c7be8a',
    950: '#000000',
  },
}
SCSS
$custom: #c7be8a;
$custom-light: #d8d1ac;
$custom-dark: #000000;
JSON
{
  "hex": "#c7be8a",
  "rgb": {
    "r": 199,
    "g": 190,
    "b": 138
  },
  "hsl": {
    "h": 51.148,
    "s": 35.26,
    "l": 66.078
  },
  "oklch": {
    "l": 0.79626,
    "c": 0.06972,
    "h": 99.5
  },
  "luminance": 0.50804
}

Semantic roles & 50–950 ramp

primary
#C7BE8A
secondary
#5C6599
accent
#49AE37
background
#FEFEFD
surface
#FBFBF7
border
#D4D4D0
text
#141410
muted
#838381

Preview Lab

Preview with #C7BE8A

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

Preview Lab → · Contrast checker → · Palette generator →

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