#C8B842#C8B842

#C8B842 is a light, vivid yellow. Relative luminance 0.470; OKLCH L 77.5% C 0.137 H 101.5°. Best body text is #000000 at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#C8B842
RGBrgb(200, 184, 66)
HSLhsl(53, 55%, 52%)
HSVhsv(53, 67%, 78%)
CMYKcmyk(0%, 8%, 67%, 21.6%)
CIE-LABlab(74.16, -7.95, 59.54)
CIE-LCHlch(74.16, 60.07, 97.61°)
OKLaboklab(77.45% -0.0273 0.1339)
OKLCHoklch(77.45% 0.137 101.5)
XYZxyz(41.9450, 46.9555, 12.0071)
Luminance0.4695 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B842 #4252C8
analogous
#C87542 #C8B842 #95C842
triadic
#C8B842 #42C8B8 #B842C8
tetradic
#C8B842 #42C875 #4252C8 #C84295
square
#C8B842 #42C875 #4252C8 #C84295
split-complementary
#C8B842 #4295C8 #7542C8
monochromatic
#6F6620 #9F912E #C8B842 #D6CA71 #E4DCA1

Accessibility & contrast

On white

2.02
#C8B842 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.39
#C8B842 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B842
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B842#FFFFFF#000000##000000
##C8B8421.002.0210.3910.39
#FFFFFF2.021.0021.0021.00
#00000010.3921.001.001.00
##00000010.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B332
Deuteranopia (green-blind)
#CDB949
Tritanopia (blue-blind)
#D7ABA0
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c8b842;
/* rgb */ color: rgb(200, 184, 66);
/* oklch */ color: oklch(77.5% 0.137 101.5);
Tailwind
colors: {
  custom: {
    50: '#dccd7d',
    500: '#c8b842',
    950: '#000000',
  },
}
SCSS
$custom: #c8b842;
$custom-light: #dccd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b842",
  "rgb": {
    "r": 200,
    "g": 184,
    "b": 66
  },
  "hsl": {
    "h": 52.836,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.77454,
    "c": 0.13668,
    "h": 101.5
  },
  "luminance": 0.46954
}

Semantic roles & 50–950 ramp

primary
#C8B842
secondary
#969DD0
accent
#5BDE4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C8B842

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

Preview Lab → · Contrast checker → · Palette generator →

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