#C8B04E#C8B04E

#C8B04E is a light, vivid yellow. Relative luminance 0.439; OKLCH L 75.9% C 0.121 H 95.6°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#C8B04E
RGBrgb(200, 176, 78)
HSLhsl(48, 53%, 55%)
HSVhsv(48, 61%, 78%)
CMYKcmyk(0%, 12%, 61%, 21.6%)
CIE-LABlab(72.15, -3.02, 52.18)
CIE-LCHlch(72.15, 52.26, 93.31°)
OKLaboklab(75.89% -0.0118 0.1201)
OKLCHoklch(75.89% 0.121 95.6)
XYZxyz(40.7216, 43.8820, 13.5314)
Luminance0.4388 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B04E #4E66C8
analogous
#C8734E #C8B04E #A3C84E
triadic
#C8B04E #4EC8B0 #B04EC8
tetradic
#C8B04E #4EC873 #4E66C8 #C84EA3
square
#C8B04E #4EC873 #4E66C8 #C84EA3
split-complementary
#C8B04E #4EA3C8 #734EC8
monochromatic
#776725 #A58F33 #C8B04E #D7C57D #E5DAAB

Accessibility & contrast

On white

2.15
#C8B04E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.78
#C8B04E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B04E
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B04E#FFFFFF#000000##000000
##C8B04E1.002.159.789.78
#FFFFFF2.151.0021.0021.00
#0000009.7821.001.001.00
##0000009.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AC44
Deuteranopia (green-blind)
#C7B453
Tritanopia (blue-blind)
#D7A49B
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c8b04e;
/* rgb */ color: rgb(200, 176, 78);
/* oklch */ color: oklch(75.9% 0.121 95.6);
Tailwind
colors: {
  custom: {
    50: '#dcc783',
    500: '#c8b04e',
    950: '#000000',
  },
}
SCSS
$custom: #c8b04e;
$custom-light: #dcc783;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b04e",
  "rgb": {
    "r": 200,
    "g": 176,
    "b": 78
  },
  "hsl": {
    "h": 48.197,
    "s": 52.586,
    "l": 54.51
  },
  "oklch": {
    "l": 0.75892,
    "c": 0.12068,
    "h": 95.6
  },
  "luminance": 0.4388
}

Semantic roles & 50–950 ramp

primary
#C8B04E
secondary
#9FA9D3
accent
#68DC4C
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C8B04E

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

Preview Lab → · Contrast checker → · Palette generator →

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