#C8B440#C8B440

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

Color values

HEX#C8B440
RGBrgb(200, 180, 64)
HSLhsl(51, 55%, 52%)
HSVhsv(51, 68%, 78%)
CMYKcmyk(0%, 10%, 68%, 21.6%)
CIE-LABlab(73.08, -5.99, 59.25)
CIE-LCHlch(73.08, 59.55, 95.77°)
OKLaboklab(76.6% -0.0219 0.133)
OKLCHoklch(76.6% 0.135 99.4)
XYZxyz(41.0679, 45.2939, 11.4289)
Luminance0.4529 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B440 #4054C8
analogous
#C87040 #C8B440 #98C840
triadic
#C8B440 #40C8B4 #B440C8
tetradic
#C8B440 #40C870 #4054C8 #C84098
square
#C8B440 #40C870 #4054C8 #C84098
split-complementary
#C8B440 #4098C8 #7040C8
monochromatic
#6E6220 #9D8D2D #C8B440 #D6C770 #E3D99F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8B440#FFFFFF#000000##000000
##C8B4401.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)
#C5AF30
Deuteranopia (green-blind)
#CAB747
Tritanopia (blue-blind)
#D7A79C
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c8b440;
/* rgb */ color: rgb(200, 180, 64);
/* oklch */ color: oklch(76.6% 0.135 99.4);
Tailwind
colors: {
  custom: {
    50: '#dcca7b',
    500: '#c8b440',
    950: '#000000',
  },
}
SCSS
$custom: #c8b440;
$custom-light: #dcca7b;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b440",
  "rgb": {
    "r": 200,
    "g": 180,
    "b": 64
  },
  "hsl": {
    "h": 51.176,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.76595,
    "c": 0.13477,
    "h": 99.4
  },
  "luminance": 0.45292
}

Semantic roles & 50–950 ramp

primary
#C8B440
secondary
#949DD0
accent
#5FDF49
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#15130A
muted
#84827C

Preview Lab

Preview with #C8B440

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

Preview Lab → · Contrast checker → · Palette generator →

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