#C8BA64#C8BA64

#C8BA64 is a light, moderate yellow. Relative luminance 0.483; OKLCH L 78.2% C 0.109 H 100.2°. Best body text is #000000 at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#C8BA64
RGBrgb(200, 186, 100)
HSLhsl(52, 48%, 59%)
HSVhsv(52, 50%, 78%)
CMYKcmyk(0%, 7%, 50%, 21.6%)
CIE-LABlab(75.03, -6.50, 45.02)
CIE-LCHlch(75.03, 45.49, 98.22°)
OKLaboklab(78.25% -0.0193 0.107)
OKLCHoklch(78.25% 0.109 100.2)
XYZxyz(43.6799, 48.3188, 19.0797)
Luminance0.4832 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8BA64 #6472C8
analogous
#C88864 #C8BA64 #A4C864
triadic
#C8BA64 #64C8BA #BA64C8
tetradic
#C8BA64 #64C888 #6472C8 #C864A4
square
#C8BA64 #64C888 #6472C8 #C864A4
split-complementary
#C8BA64 #64A4C8 #8864C8
monochromatic
#83772F #B0A03F #C8BA64 #D8CE91 #E8E2BE

Accessibility & contrast

On white

1.97
#C8BA64 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.66
#C8BA64 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8BA64
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8BA64#FFFFFF#000000##000000
##C8BA641.001.9710.6610.66
#FFFFFF1.971.0021.0021.00
#00000010.6621.001.001.00
##00000010.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B55C
Deuteranopia (green-blind)
#CCBB68
Tritanopia (blue-blind)
#D5AFA6
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #c8ba64;
/* rgb */ color: rgb(200, 186, 100);
/* oklch */ color: oklch(78.2% 0.109 100.2);
Tailwind
colors: {
  custom: {
    50: '#dbce92',
    500: '#c8ba64',
    950: '#000000',
  },
}
SCSS
$custom: #c8ba64;
$custom-light: #dbce92;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ba64",
  "rgb": {
    "r": 200,
    "g": 186,
    "b": 100
  },
  "hsl": {
    "h": 51.6,
    "s": 47.619,
    "l": 58.824
  },
  "oklch": {
    "l": 0.78247,
    "c": 0.10872,
    "h": 100.2
  },
  "luminance": 0.48317
}

Semantic roles & 50–950 ramp

primary
#C8BA64
secondary
#B0B6D8
accent
#63D751
background
#FDFCF9
surface
#FBF9F1
border
#D4D2CB
text
#15130D
muted
#83827E

Preview Lab

Preview with #C8BA64

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

Preview Lab → · Contrast checker → · Palette generator →

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