#C8BA72#C8BA72

#C8BA72 is a light, moderate yellow. Relative luminance 0.486; OKLCH L 78.5% C 0.094 H 98.6°. Best body text is #000000 at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#C8BA72
RGBrgb(200, 186, 114)
HSLhsl(50, 44%, 62%)
HSVhsv(50, 43%, 78%)
CMYKcmyk(0%, 7%, 43%, 21.6%)
CIE-LABlab(75.21, -5.14, 38.22)
CIE-LCHlch(75.21, 38.56, 97.66°)
OKLaboklab(78.45% -0.014 0.0928)
OKLCHoklch(78.45% 0.094 98.6)
XYZxyz(44.4166, 48.6135, 22.9600)
Luminance0.4861 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8BA72 #7280C8
analogous
#C88F72 #C8BA72 #ABC872
triadic
#C8BA72 #72C8BA #BA72C8
tetradic
#C8BA72 #72C88F #7280C8 #C872AB
square
#C8BA72 #72C88F #7280C8 #C872AB
split-complementary
#C8BA72 #72ABC8 #8F72C8
monochromatic
#8A7C36 #B6A447 #C8BA72 #D9D09E #EAE5CA

Accessibility & contrast

On white

1.96
#C8BA72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.72
#C8BA72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8BA72
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8BA72#FFFFFF#000000##000000
##C8BA721.001.9610.7210.72
#FFFFFF1.961.0021.0021.00
#00000010.7221.001.001.00
##00000010.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B66C
Deuteranopia (green-blind)
#CBBC75
Tritanopia (blue-blind)
#D4B0A8
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #c8ba72;
/* rgb */ color: rgb(200, 186, 114);
/* oklch */ color: oklch(78.5% 0.094 98.6);
Tailwind
colors: {
  custom: {
    50: '#dace9b',
    500: '#c8ba72',
    950: '#000000',
  },
}
SCSS
$custom: #c8ba72;
$custom-light: #dace9b;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ba72",
  "rgb": {
    "r": 200,
    "g": 186,
    "b": 114
  },
  "hsl": {
    "h": 50.233,
    "s": 43.878,
    "l": 61.569
  },
  "oklch": {
    "l": 0.78453,
    "c": 0.09384,
    "h": 98.6
  },
  "luminance": 0.48612
}

Semantic roles & 50–950 ramp

primary
#C8BA72
secondary
#BBC0DB
accent
#45B72E
background
#FDFCF9
surface
#FBF9F2
border
#D4D2CC
text
#15130E
muted
#83827E

Preview Lab

Preview with #C8BA72

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

Preview Lab → · Contrast checker → · Palette generator →

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