#C8B840#C8B840

#C8B840 is a light, vivid yellow. Relative luminance 0.469; OKLCH L 77.4% C 0.138 H 101.6°. Best body text is #000000 at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#C8B840
RGBrgb(200, 184, 64)
HSLhsl(53, 55%, 52%)
HSVhsv(53, 68%, 78%)
CMYKcmyk(0%, 8%, 68%, 21.6%)
CIE-LABlab(74.15, -8.07, 60.34)
CIE-LCHlch(74.15, 60.87, 97.61°)
OKLaboklab(77.44% -0.0278 0.1353)
OKLCHoklch(77.44% 0.138 101.6)
XYZxyz(41.8871, 46.9323, 11.7020)
Luminance0.4693 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B840 #4050C8
analogous
#C87440 #C8B840 #94C840
triadic
#C8B840 #40C8B8 #B840C8
tetradic
#C8B840 #40C874 #4050C8 #C84094
square
#C8B840 #40C874 #4050C8 #C84094
split-complementary
#C8B840 #4094C8 #7440C8
monochromatic
#6E6520 #9D902D #C8B840 #D6CA70 #E3DB9F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8B840#FFFFFF#000000##000000
##C8B8401.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)
#C9B32F
Deuteranopia (green-blind)
#CDB947
Tritanopia (blue-blind)
#D7ABA0
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c8b840;
/* rgb */ color: rgb(200, 184, 64);
/* oklch */ color: oklch(77.4% 0.138 101.6);
Tailwind
colors: {
  custom: {
    50: '#dccd7b',
    500: '#c8b840',
    950: '#000000',
  },
}
SCSS
$custom: #c8b840;
$custom-light: #dccd7b;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b840",
  "rgb": {
    "r": 200,
    "g": 184,
    "b": 64
  },
  "hsl": {
    "h": 52.941,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.77437,
    "c": 0.13811,
    "h": 101.6
  },
  "luminance": 0.46931
}

Semantic roles & 50–950 ramp

primary
#C8B840
secondary
#949BD0
accent
#5BDF49
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#15130A
muted
#84827C

Preview Lab

Preview with #C8B840

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

Preview Lab → · Contrast checker → · Palette generator →

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