#C8BD40#C8BD40

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

Color values

HEX#C8BD40
RGBrgb(200, 189, 64)
HSLhsl(55, 55%, 52%)
HSVhsv(55, 68%, 78%)
CMYKcmyk(0%, 5.5%, 68%, 21.6%)
CIE-LABlab(75.48, -10.64, 61.69)
CIE-LCHlch(75.48, 62.60, 99.79°)
OKLaboklab(78.5% -0.0351 0.1381)
OKLCHoklch(78.5% 0.143 104.3)
XYZxyz(42.9441, 49.0464, 12.0543)
Luminance0.4904 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8BD40 #404BC8
analogous
#C87940 #C8BD40 #8FC840
triadic
#C8BD40 #40C8BD #BD40C8
tetradic
#C8BD40 #40C879 #404BC8 #C8408F
square
#C8BD40 #40C879 #404BC8 #C8408F
split-complementary
#C8BD40 #408FC8 #7940C8
monochromatic
#6E6820 #9D942D #C8BD40 #D6CD70 #E3DE9F

Accessibility & contrast

On white

1.94
#C8BD40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.81
#C8BD40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8BD40
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8BD40#FFFFFF#000000##000000
##C8BD401.001.9410.8110.81
#FFFFFF1.941.0021.0021.00
#00000010.8121.001.001.00
##00000010.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB72E
Deuteranopia (green-blind)
#D1BD48
Tritanopia (blue-blind)
#D7B0A4
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #c8bd40;
/* rgb */ color: rgb(200, 189, 64);
/* oklch */ color: oklch(78.5% 0.143 104.3);
Tailwind
colors: {
  custom: {
    50: '#dcd07c',
    500: '#c8bd40',
    950: '#000000',
  },
}
SCSS
$custom: #c8bd40;
$custom-light: #dcd07c;
$custom-dark: #000000;
JSON
{
  "hex": "#c8bd40",
  "rgb": {
    "r": 200,
    "g": 189,
    "b": 64
  },
  "hsl": {
    "h": 55.147,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.78497,
    "c": 0.14253,
    "h": 104.3
  },
  "luminance": 0.49045
}

Semantic roles & 50–950 ramp

primary
#C8BD40
secondary
#9499D0
accent
#55DF49
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C8BD40

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

Preview Lab → · Contrast checker → · Palette generator →

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