#C8BD3A#C8BD3A

#C8BD3A is a light, vivid yellow. Relative luminance 0.490; OKLCH L 78.5% C 0.146 H 104.5°. Best body text is #000000 at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#C8BD3A
RGBrgb(200, 189, 58)
HSLhsl(55, 56%, 51%)
HSVhsv(55, 71%, 78%)
CMYKcmyk(0%, 5.5%, 71%, 21.6%)
CIE-LABlab(75.44, -10.95, 63.94)
CIE-LCHlch(75.44, 64.87, 99.72°)
OKLaboklab(78.45% -0.0366 0.1418)
OKLCHoklch(78.45% 0.146 104.5)
XYZxyz(42.7825, 48.9817, 11.2030)
Luminance0.4898 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8BD3A #3A45C8
analogous
#C8763A #C8BD3A #8CC83A
triadic
#C8BD3A #3AC8BD #BD3AC8
tetradic
#C8BD3A #3AC876 #3A45C8 #C83A8C
square
#C8BD3A #3AC876 #3A45C8 #C83A8C
split-complementary
#C8BD3A #3A8CC8 #763AC8
monochromatic
#6A641E #9A912B #C8BD3A #D5CD6A #E3DD9A

Accessibility & contrast

On white

1.95
#C8BD3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.80
#C8BD3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8BD3A
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8BD3A#FFFFFF#000000##000000
##C8BD3A1.001.9510.8010.80
#FFFFFF1.951.0021.0021.00
#00000010.8021.001.001.00
##00000010.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB624
Deuteranopia (green-blind)
#D1BD43
Tritanopia (blue-blind)
#D7B0A3
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #c8bd3a;
/* rgb */ color: rgb(200, 189, 58);
/* oklch */ color: oklch(78.5% 0.146 104.5);
Tailwind
colors: {
  custom: {
    50: '#dcd079',
    500: '#c8bd3a',
    950: '#000000',
  },
}
SCSS
$custom: #c8bd3a;
$custom-light: #dcd079;
$custom-dark: #000000;
JSON
{
  "hex": "#c8bd3a",
  "rgb": {
    "r": 200,
    "g": 189,
    "b": 58
  },
  "hsl": {
    "h": 55.352,
    "s": 56.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.78452,
    "c": 0.14649,
    "h": 104.5
  },
  "luminance": 0.4898
}

Semantic roles & 50–950 ramp

primary
#C8BD3A
secondary
#8F94CE
accent
#54E048
background
#FEFCF7
surface
#FCF9EE
border
#D5D2C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #C8BD3A

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

Preview Lab → · Contrast checker → · Palette generator →

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