#C8BD34#C8BD34

#C8BD34 is a light, vivid yellow. Relative luminance 0.489; OKLCH L 78.4% C 0.150 H 104.7°. Best body text is #000000 at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#C8BD34
RGBrgb(200, 189, 52)
HSLhsl(56, 59%, 49%)
HSVhsv(56, 74%, 78%)
CMYKcmyk(0%, 5.5%, 74%, 21.6%)
CIE-LABlab(75.40, -11.22, 66.04)
CIE-LCHlch(75.40, 66.98, 99.65°)
OKLaboklab(78.41% -0.038 0.1452)
OKLCHoklch(78.41% 0.15 104.7)
XYZxyz(42.6387, 48.9242, 10.4455)
Luminance0.4892 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8BD34 #343FC8
analogous
#C87334 #C8BD34 #89C834
triadic
#C8BD34 #34C8BD #BD34C8
tetradic
#C8BD34 #34C873 #343FC8 #C83489
square
#C8BD34 #34C873 #343FC8 #C83489
split-complementary
#C8BD34 #3489C8 #7334C8
monochromatic
#67611B #978F27 #C8BD34 #D6CE63 #E3DD93

Accessibility & contrast

On white

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

On black

10.78
#C8BD34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8BD34
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8BD34#FFFFFF#000000##000000
##C8BD341.001.9510.7810.78
#FFFFFF1.951.0021.0021.00
#00000010.7821.001.001.00
##00000010.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8bd34;
/* rgb */ color: rgb(200, 189, 52);
/* oklch */ color: oklch(78.4% 0.150 104.7);
Tailwind
colors: {
  custom: {
    50: '#ddd076',
    500: '#c8bd34',
    950: '#000000',
  },
}
SCSS
$custom: #c8bd34;
$custom-light: #ddd076;
$custom-dark: #000000;
JSON
{
  "hex": "#c8bd34",
  "rgb": {
    "r": 200,
    "g": 189,
    "b": 52
  },
  "hsl": {
    "h": 55.541,
    "s": 58.73,
    "l": 49.412
  },
  "oklch": {
    "l": 0.78412,
    "c": 0.15008,
    "h": 104.7
  },
  "luminance": 0.48922
}

Semantic roles & 50–950 ramp

primary
#C8BD34
secondary
#8A8FCE
accent
#51E246
background
#FEFCF7
surface
#FCF9ED
border
#D5D2C8
text
#161309
muted
#84827B

Preview Lab

Preview with #C8BD34

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

Preview Lab → · Contrast checker → · Palette generator →

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