#C8B642#C8B642

#C8B642 is a light, vivid yellow. Relative luminance 0.461; OKLCH L 77.0% C 0.135 H 100.4°. Best body text is #000000 at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#C8B642
RGBrgb(200, 182, 66)
HSLhsl(52, 55%, 52%)
HSVhsv(52, 67%, 78%)
CMYKcmyk(0%, 9%, 67%, 21.6%)
CIE-LABlab(73.63, -6.92, 58.99)
CIE-LCHlch(73.63, 59.40, 96.69°)
OKLaboklab(77.03% -0.0243 0.1328)
OKLCHoklch(77.03% 0.135 100.4)
XYZxyz(41.5325, 46.1304, 11.8696)
Luminance0.4613 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B642 #4254C8
analogous
#C87342 #C8B642 #97C842
triadic
#C8B642 #42C8B6 #B642C8
tetradic
#C8B642 #42C873 #4254C8 #C84297
square
#C8B642 #42C873 #4254C8 #C84297
split-complementary
#C8B642 #4297C8 #7342C8
monochromatic
#6F6520 #9F902E #C8B642 #D6C871 #E4DBA1

Accessibility & contrast

On white

2.05
#C8B642 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.23
#C8B642 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B642
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B642#FFFFFF#000000##000000
##C8B6421.002.0510.2310.23
#FFFFFF2.051.0021.0021.00
#00000010.2321.001.001.00
##00000010.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B133
Deuteranopia (green-blind)
#CCB849
Tritanopia (blue-blind)
#D7A99E
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #c8b642;
/* rgb */ color: rgb(200, 182, 66);
/* oklch */ color: oklch(77.0% 0.135 100.4);
Tailwind
colors: {
  custom: {
    50: '#dccb7c',
    500: '#c8b642',
    950: '#000000',
  },
}
SCSS
$custom: #c8b642;
$custom-light: #dccb7c;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b642",
  "rgb": {
    "r": 200,
    "g": 182,
    "b": 66
  },
  "hsl": {
    "h": 51.94,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.77032,
    "c": 0.13498,
    "h": 100.4
  },
  "luminance": 0.46129
}

Semantic roles & 50–950 ramp

primary
#C8B642
secondary
#969ED0
accent
#5EDE4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C8B642

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

Preview Lab → · Contrast checker → · Palette generator →

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