#C8BD42#C8BD42

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

Color values

HEX#C8BD42
RGBrgb(200, 189, 66)
HSLhsl(55, 55%, 52%)
HSVhsv(55, 67%, 78%)
CMYKcmyk(0%, 5.5%, 67%, 21.6%)
CIE-LABlab(75.49, -10.53, 60.91)
CIE-LCHlch(75.49, 61.82, 99.81°)
OKLaboklab(78.51% -0.0346 0.1368)
OKLCHoklch(78.51% 0.141 104.2)
XYZxyz(43.0021, 49.0695, 12.3594)
Luminance0.4907 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8BD42 #424DC8
analogous
#C87A42 #C8BD42 #90C842
triadic
#C8BD42 #42C8BD #BD42C8
tetradic
#C8BD42 #42C87A #424DC8 #C84290
square
#C8BD42 #42C87A #424DC8 #C84290
split-complementary
#C8BD42 #4290C8 #7A42C8
monochromatic
#6F6920 #9F952E #C8BD42 #D6CE71 #E4DEA1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8BD42#FFFFFF#000000##000000
##C8BD421.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)
#CDB731
Deuteranopia (green-blind)
#D1BD4A
Tritanopia (blue-blind)
#D7B0A4
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #c8bd42;
/* rgb */ color: rgb(200, 189, 66);
/* oklch */ color: oklch(78.5% 0.141 104.2);
Tailwind
colors: {
  custom: {
    50: '#dcd07d',
    500: '#c8bd42',
    950: '#000000',
  },
}
SCSS
$custom: #c8bd42;
$custom-light: #dcd07d;
$custom-dark: #000000;
JSON
{
  "hex": "#c8bd42",
  "rgb": {
    "r": 200,
    "g": 189,
    "b": 66
  },
  "hsl": {
    "h": 55.075,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.78513,
    "c": 0.14112,
    "h": 104.2
  },
  "luminance": 0.49068
}

Semantic roles & 50–950 ramp

primary
#C8BD42
secondary
#969AD0
accent
#56DE4A
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C8BD42

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

Preview Lab → · Contrast checker → · Palette generator →

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