#C8B640#C8B640

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

Color values

HEX#C8B640
RGBrgb(200, 182, 64)
HSLhsl(52, 55%, 52%)
HSVhsv(52, 68%, 78%)
CMYKcmyk(0%, 9%, 68%, 21.6%)
CIE-LABlab(73.62, -7.03, 59.79)
CIE-LCHlch(73.62, 60.21, 96.70°)
OKLaboklab(77.02% -0.0249 0.1341)
OKLCHoklch(77.02% 0.136 100.5)
XYZxyz(41.4746, 46.1073, 11.5645)
Luminance0.4611 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B640 #4052C8
analogous
#C87240 #C8B640 #96C840
triadic
#C8B640 #40C8B6 #B640C8
tetradic
#C8B640 #40C872 #4052C8 #C84096
square
#C8B640 #40C872 #4052C8 #C84096
split-complementary
#C8B640 #4096C8 #7240C8
monochromatic
#6E6420 #9D8F2D #C8B640 #D6C870 #E3DA9F

Accessibility & contrast

On white

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

On black

10.22
#C8B640 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B640
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B640#FFFFFF#000000##000000
##C8B6401.002.0510.2210.22
#FFFFFF2.051.0021.0021.00
#00000010.2221.001.001.00
##00000010.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8b640;
/* rgb */ color: rgb(200, 182, 64);
/* oklch */ color: oklch(77.0% 0.136 100.5);
Tailwind
colors: {
  custom: {
    50: '#dccb7b',
    500: '#c8b640',
    950: '#000000',
  },
}
SCSS
$custom: #c8b640;
$custom-light: #dccb7b;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b640",
  "rgb": {
    "r": 200,
    "g": 182,
    "b": 64
  },
  "hsl": {
    "h": 52.059,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.77015,
    "c": 0.13642,
    "h": 100.5
  },
  "luminance": 0.46105
}

Semantic roles & 50–950 ramp

primary
#C8B640
secondary
#949CD0
accent
#5DDF49
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#15130A
muted
#84827C

Preview Lab

Preview with #C8B640

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

Preview Lab → · Contrast checker → · Palette generator →

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