#C8BA48#C8BA48

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

Color values

HEX#C8BA48
RGBrgb(200, 186, 72)
HSLhsl(53, 54%, 53%)
HSVhsv(53, 64%, 78%)
CMYKcmyk(0%, 7%, 64%, 21.6%)
CIE-LABlab(74.74, -8.63, 57.65)
CIE-LCHlch(74.74, 58.29, 98.52°)
OKLaboklab(77.93% -0.0285 0.1309)
OKLCHoklch(77.93% 0.134 102.3)
XYZxyz(42.5497, 47.8668, 13.1275)
Luminance0.4787 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8BA48 #4856C8
analogous
#C87A48 #C8BA48 #96C848
triadic
#C8BA48 #48C8BA #BA48C8
tetradic
#C8BA48 #48C87A #4856C8 #C84896
square
#C8BA48 #48C87A #4856C8 #C84896
split-complementary
#C8BA48 #4896C8 #7A48C8
monochromatic
#736A23 #A29631 #C8BA48 #D6CC77 #E4DDA6

Accessibility & contrast

On white

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

On black

10.57
#C8BA48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8BA48
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8BA48#FFFFFF#000000##000000
##C8BA481.001.9910.5710.57
#FFFFFF1.991.0021.0021.00
#00000010.5721.001.001.00
##00000010.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8ba48;
/* rgb */ color: rgb(200, 186, 72);
/* oklch */ color: oklch(77.9% 0.134 102.3);
Tailwind
colors: {
  custom: {
    50: '#dcce80',
    500: '#c8ba48',
    950: '#000000',
  },
}
SCSS
$custom: #c8ba48;
$custom-light: #dcce80;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ba48",
  "rgb": {
    "r": 200,
    "g": 186,
    "b": 72
  },
  "hsl": {
    "h": 53.438,
    "s": 53.782,
    "l": 53.333
  },
  "oklch": {
    "l": 0.77929,
    "c": 0.13395,
    "h": 102.3
  },
  "luminance": 0.47865
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C8BA48

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

Preview Lab → · Contrast checker → · Palette generator →

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