#C8BB45#C8BB45

#C8BB45 is a light, vivid yellow. Relative luminance 0.482; OKLCH L 78.1% C 0.137 H 103.0°. Best body text is #000000 at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#C8BB45
RGBrgb(200, 187, 69)
HSLhsl(54, 54%, 53%)
HSVhsv(54, 66%, 78%)
CMYKcmyk(0%, 6.5%, 65.5%, 21.6%)
CIE-LABlab(74.98, -9.33, 59.16)
CIE-LCHlch(74.98, 59.89, 98.96°)
OKLaboklab(78.11% -0.0309 0.1336)
OKLCHoklch(78.11% 0.137 103)
XYZxyz(42.6656, 48.2514, 12.6951)
Luminance0.4825 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8BB45 #4552C8
analogous
#C87A45 #C8BB45 #93C845
triadic
#C8BB45 #45C8BB #BB45C8
tetradic
#C8BB45 #45C87A #4552C8 #C84593
square
#C8BB45 #45C87A #4552C8 #C84593
split-complementary
#C8BB45 #4593C8 #7A45C8
monochromatic
#716921 #A0952F #C8BB45 #D6CC74 #E4DEA3

Accessibility & contrast

On white

1.97
#C8BB45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.65
#C8BB45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8BB45
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8BB45#FFFFFF#000000##000000
##C8BB451.001.9710.6510.65
#FFFFFF1.971.0021.0021.00
#00000010.6521.001.001.00
##00000010.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB536
Deuteranopia (green-blind)
#CFBB4C
Tritanopia (blue-blind)
#D7AFA3
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #c8bb45;
/* rgb */ color: rgb(200, 187, 69);
/* oklch */ color: oklch(78.1% 0.137 103.0);
Tailwind
colors: {
  custom: {
    50: '#dccf7f',
    500: '#c8bb45',
    950: '#000000',
  },
}
SCSS
$custom: #c8bb45;
$custom-light: #dccf7f;
$custom-dark: #000000;
JSON
{
  "hex": "#c8bb45",
  "rgb": {
    "r": 200,
    "g": 187,
    "b": 69
  },
  "hsl": {
    "h": 54.046,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.78114,
    "c": 0.13713,
    "h": 103
  },
  "luminance": 0.4825
}

Semantic roles & 50–950 ramp

primary
#C8BB45
secondary
#989ED1
accent
#59DE4A
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15130A
muted
#83827C

Preview Lab

Preview with #C8BB45

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

Preview Lab → · Contrast checker → · Palette generator →

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