#C8BA50#C8BA50

#C8BA50 is a light, vivid yellow. Relative luminance 0.480; OKLCH L 78.0% C 0.127 H 101.8°. Best body text is #000000 at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#C8BA50
RGBrgb(200, 186, 80)
HSLhsl(53, 52%, 55%)
HSVhsv(53, 60%, 78%)
CMYKcmyk(0%, 7%, 60%, 21.6%)
CIE-LABlab(74.81, -8.10, 54.22)
CIE-LCHlch(74.81, 54.82, 98.50°)
OKLaboklab(78.01% -0.0261 0.1247)
OKLCHoklch(78.01% 0.127 101.8)
XYZxyz(42.8279, 47.9780, 14.5926)
Luminance0.4798 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8BA50 #505EC8
analogous
#C87E50 #C8BA50 #9AC850
triadic
#C8BA50 #50C8BA #BA50C8
tetradic
#C8BA50 #50C87E #505EC8 #C8509A
square
#C8BA50 #50C87E #505EC8 #C8509A
split-complementary
#C8BA50 #509AC8 #7E50C8
monochromatic
#786E26 #A69934 #C8BA50 #D7CC7F #E5DFAD

Accessibility & contrast

On white

1.98
#C8BA50 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.60
#C8BA50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8BA50
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8BA50#FFFFFF#000000##000000
##C8BA501.001.9810.6010.60
#FFFFFF1.981.0021.0021.00
#00000010.6021.001.001.00
##00000010.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB544
Deuteranopia (green-blind)
#CEBB56
Tritanopia (blue-blind)
#D6AEA3
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c8ba50;
/* rgb */ color: rgb(200, 186, 80);
/* oklch */ color: oklch(78.0% 0.127 101.8);
Tailwind
colors: {
  custom: {
    50: '#dbce85',
    500: '#c8ba50',
    950: '#000000',
  },
}
SCSS
$custom: #c8ba50;
$custom-light: #dbce85;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ba50",
  "rgb": {
    "r": 200,
    "g": 186,
    "b": 80
  },
  "hsl": {
    "h": 53,
    "s": 52.174,
    "l": 54.902
  },
  "oklch": {
    "l": 0.78007,
    "c": 0.12743,
    "h": 101.8
  },
  "luminance": 0.47976
}

Semantic roles & 50–950 ramp

primary
#C8BA50
secondary
#A1A7D3
accent
#5DDC4C
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C8BA50

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

Preview Lab → · Contrast checker → · Palette generator →

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