#C8BA4A#C8BA4A

#C8BA4A is a light, vivid yellow. Relative luminance 0.479; OKLCH L 77.9% C 0.132 H 102.2°. Best body text is #000000 at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#C8BA4A
RGBrgb(200, 186, 74)
HSLhsl(53, 53%, 54%)
HSVhsv(53, 63%, 78%)
CMYKcmyk(0%, 7%, 63%, 21.6%)
CIE-LABlab(74.76, -8.51, 56.81)
CIE-LCHlch(74.76, 57.44, 98.52°)
OKLaboklab(77.95% -0.028 0.1294)
OKLCHoklch(77.95% 0.132 102.2)
XYZxyz(42.6160, 47.8933, 13.4768)
Luminance0.4789 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8BA4A #4A58C8
analogous
#C87B4A #C8BA4A #97C84A
triadic
#C8BA4A #4AC8BA #BA4AC8
tetradic
#C8BA4A #4AC87B #4A58C8 #C84A97
square
#C8BA4A #4AC87B #4A58C8 #C84A97
split-complementary
#C8BA4A #4A97C8 #7B4AC8
monochromatic
#746B23 #A39732 #C8BA4A #D6CC79 #E5DEA8

Accessibility & contrast

On white

1.99
#C8BA4A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.58
#C8BA4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8BA4A
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8BA4A#FFFFFF#000000##000000
##C8BA4A1.001.9910.5810.58
#FFFFFF1.991.0021.0021.00
#00000010.5821.001.001.00
##00000010.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB43D
Deuteranopia (green-blind)
#CEBB50
Tritanopia (blue-blind)
#D6AEA2
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c8ba4a;
/* rgb */ color: rgb(200, 186, 74);
/* oklch */ color: oklch(77.9% 0.132 102.2);
Tailwind
colors: {
  custom: {
    50: '#dcce81',
    500: '#c8ba4a',
    950: '#000000',
  },
}
SCSS
$custom: #c8ba4a;
$custom-light: #dcce81;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ba4a",
  "rgb": {
    "r": 200,
    "g": 186,
    "b": 74
  },
  "hsl": {
    "h": 53.333,
    "s": 53.39,
    "l": 53.725
  },
  "oklch": {
    "l": 0.77948,
    "c": 0.13238,
    "h": 102.2
  },
  "luminance": 0.47892
}

Semantic roles & 50–950 ramp

primary
#C8BA4A
secondary
#9CA2D2
accent
#5BDD4B
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C8BA4A

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

Preview Lab → · Contrast checker → · Palette generator →

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