#C8BA74#C8BA74

#C8BA74 is a light, moderate yellow. Relative luminance 0.487; OKLCH L 78.5% C 0.092 H 98.3°. Best body text is #000000 at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#C8BA74
RGBrgb(200, 186, 116)
HSLhsl(50, 43%, 62%)
HSVhsv(50, 42%, 78%)
CMYKcmyk(0%, 7%, 42%, 21.6%)
CIE-LABlab(75.24, -4.93, 37.23)
CIE-LCHlch(75.24, 37.55, 97.54°)
OKLaboklab(78.49% -0.0132 0.0907)
OKLCHoklch(78.49% 0.092 98.3)
XYZxyz(44.5317, 48.6596, 23.5661)
Luminance0.4866 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8BA74 #7482C8
analogous
#C89074 #C8BA74 #ACC874
triadic
#C8BA74 #74C8BA #BA74C8
tetradic
#C8BA74 #74C890 #7482C8 #C874AC
square
#C8BA74 #74C890 #7482C8 #C874AC
split-complementary
#C8BA74 #74ACC8 #9074C8
monochromatic
#8B7D37 #B7A448 #C8BA74 #D9D0A0 #EBE6CC

Accessibility & contrast

On white

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

On black

10.73
#C8BA74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8BA74
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8BA74#FFFFFF#000000##000000
##C8BA741.001.9610.7310.73
#FFFFFF1.961.0021.0021.00
#00000010.7321.001.001.00
##00000010.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B66F
Deuteranopia (green-blind)
#CBBC77
Tritanopia (blue-blind)
#D4B1A9
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #c8ba74;
/* rgb */ color: rgb(200, 186, 116);
/* oklch */ color: oklch(78.5% 0.092 98.3);
Tailwind
colors: {
  custom: {
    50: '#dace9d',
    500: '#c8ba74',
    950: '#000000',
  },
}
SCSS
$custom: #c8ba74;
$custom-light: #dace9d;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ba74",
  "rgb": {
    "r": 200,
    "g": 186,
    "b": 116
  },
  "hsl": {
    "h": 50,
    "s": 43.299,
    "l": 61.961
  },
  "oklch": {
    "l": 0.78485,
    "c": 0.09161,
    "h": 98.3
  },
  "luminance": 0.48658
}

Semantic roles & 50–950 ramp

primary
#C8BA74
secondary
#BCC2DB
accent
#46B62F
background
#FDFCF9
surface
#FBF9F2
border
#D4D2CC
text
#15130E
muted
#83827E

Preview Lab

Preview with #C8BA74

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

Preview Lab → · Contrast checker → · Palette generator →

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