#C8B442#C8B442

#C8B442 is a light, vivid yellow. Relative luminance 0.453; OKLCH L 76.6% C 0.133 H 99.2°. Best body text is #000000 at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#C8B442
RGBrgb(200, 180, 66)
HSLhsl(51, 55%, 52%)
HSVhsv(51, 67%, 78%)
CMYKcmyk(0%, 10%, 67%, 21.6%)
CIE-LABlab(73.10, -5.88, 58.45)
CIE-LCHlch(73.10, 58.74, 95.74°)
OKLaboklab(76.61% -0.0214 0.1316)
OKLCHoklch(76.61% 0.133 99.2)
XYZxyz(41.1259, 45.3171, 11.7340)
Luminance0.4531 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B442 #4256C8
analogous
#C87142 #C8B442 #99C842
triadic
#C8B442 #42C8B4 #B442C8
tetradic
#C8B442 #42C871 #4256C8 #C84299
square
#C8B442 #42C871 #4256C8 #C84299
split-complementary
#C8B442 #4299C8 #7142C8
monochromatic
#6F6320 #9F8E2E #C8B442 #D6C771 #E4DAA1

Accessibility & contrast

On white

2.09
#C8B442 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.06
#C8B442 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B442
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B442#FFFFFF#000000##000000
##C8B4421.002.0910.0610.06
#FFFFFF2.091.0021.0021.00
#00000010.0621.001.001.00
##00000010.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF33
Deuteranopia (green-blind)
#CAB748
Tritanopia (blue-blind)
#D7A79D
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c8b442;
/* rgb */ color: rgb(200, 180, 66);
/* oklch */ color: oklch(76.6% 0.133 99.2);
Tailwind
colors: {
  custom: {
    50: '#dcca7c',
    500: '#c8b442',
    950: '#000000',
  },
}
SCSS
$custom: #c8b442;
$custom-light: #dcca7c;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b442",
  "rgb": {
    "r": 200,
    "g": 180,
    "b": 66
  },
  "hsl": {
    "h": 51.045,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.76612,
    "c": 0.13333,
    "h": 99.2
  },
  "luminance": 0.45315
}

Semantic roles & 50–950 ramp

primary
#C8B442
secondary
#969ED0
accent
#60DE4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C8B442

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

Preview Lab → · Contrast checker → · Palette generator →

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