#C8B43B#C8B43B

#C8B43B is a light, vivid yellow. Relative luminance 0.452; OKLCH L 76.6% C 0.138 H 99.7°. Best body text is #000000 at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#C8B43B
RGBrgb(200, 180, 59)
HSLhsl(51, 56%, 51%)
HSVhsv(51, 71%, 78%)
CMYKcmyk(0%, 10%, 70.5%, 21.6%)
CIE-LABlab(73.05, -6.25, 61.20)
CIE-LCHlch(73.05, 61.52, 95.83°)
OKLaboklab(76.55% -0.0232 0.1362)
OKLCHoklch(76.55% 0.138 99.7)
XYZxyz(40.9320, 45.2396, 10.7129)
Luminance0.4524 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B43B #3B4FC8
analogous
#C86D3B #C8B43B #96C83B
triadic
#C8B43B #3BC8B4 #B43BC8
tetradic
#C8B43B #3BC86D #3B4FC8 #C83B96
square
#C8B43B #3BC86D #3B4FC8 #C83B96
split-complementary
#C8B43B #3B96C8 #6D3BC8
monochromatic
#6B601E #9A8B2B #C8B43B #D5C66B #E3D99B

Accessibility & contrast

On white

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

On black

10.05
#C8B43B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B43B
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B43B#FFFFFF#000000##000000
##C8B43B1.002.0910.0510.05
#FFFFFF2.091.0021.0021.00
#00000010.0521.001.001.00
##00000010.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF29
Deuteranopia (green-blind)
#CBB742
Tritanopia (blue-blind)
#D7A79C
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c8b43b;
/* rgb */ color: rgb(200, 180, 59);
/* oklch */ color: oklch(76.6% 0.138 99.7);
Tailwind
colors: {
  custom: {
    50: '#dcca78',
    500: '#c8b43b',
    950: '#000000',
  },
}
SCSS
$custom: #c8b43b;
$custom-light: #dcca78;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b43b",
  "rgb": {
    "r": 200,
    "g": 180,
    "b": 59
  },
  "hsl": {
    "h": 51.489,
    "s": 56.175,
    "l": 50.784
  },
  "oklch": {
    "l": 0.76555,
    "c": 0.1382,
    "h": 99.7
  },
  "luminance": 0.45238
}

Semantic roles & 50–950 ramp

primary
#C8B43B
secondary
#9099CF
accent
#5EDF48
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #C8B43B

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

Preview Lab → · Contrast checker → · Palette generator →

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