#C8B040#C8B040

#C8B040 is a light, vivid yellow. Relative luminance 0.437; OKLCH L 75.8% C 0.132 H 97.0°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#C8B040
RGBrgb(200, 176, 64)
HSLhsl(49, 55%, 52%)
HSVhsv(49, 68%, 78%)
CMYKcmyk(0%, 12%, 68%, 21.6%)
CIE-LABlab(72.03, -3.89, 58.17)
CIE-LCHlch(72.03, 58.30, 93.83°)
OKLaboklab(75.76% -0.0159 0.1307)
OKLCHoklch(75.76% 0.132 97)
XYZxyz(40.2721, 43.7022, 11.1636)
Luminance0.4370 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B040 #4058C8
analogous
#C86C40 #C8B040 #9CC840
triadic
#C8B040 #40C8B0 #B040C8
tetradic
#C8B040 #40C86C #4058C8 #C8409C
square
#C8B040 #40C86C #4058C8 #C8409C
split-complementary
#C8B040 #409CC8 #6C40C8
monochromatic
#6E6020 #9D8A2D #C8B040 #D6C470 #E3D79F

Accessibility & contrast

On white

2.16
#C8B040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.74
#C8B040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B040
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B040#FFFFFF#000000##000000
##C8B0401.002.169.749.74
#FFFFFF2.161.0021.0021.00
#0000009.7421.001.001.00
##0000009.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC31
Deuteranopia (green-blind)
#C7B446
Tritanopia (blue-blind)
#D7A399
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c8b040;
/* rgb */ color: rgb(200, 176, 64);
/* oklch */ color: oklch(75.8% 0.132 97.0);
Tailwind
colors: {
  custom: {
    50: '#dcc77b',
    500: '#c8b040',
    950: '#000000',
  },
}
SCSS
$custom: #c8b040;
$custom-light: #dcc77b;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b040",
  "rgb": {
    "r": 200,
    "g": 176,
    "b": 64
  },
  "hsl": {
    "h": 49.412,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.75758,
    "c": 0.13166,
    "h": 97
  },
  "luminance": 0.437
}

Semantic roles & 50–950 ramp

primary
#C8B040
secondary
#949FD0
accent
#64DF49
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#15130A
muted
#84827C

Preview Lab

Preview with #C8B040

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

Preview Lab → · Contrast checker → · Palette generator →

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