#C8B04D#C8B04D

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

Color values

HEX#C8B04D
RGBrgb(200, 176, 77)
HSLhsl(48, 53%, 54%)
HSVhsv(48, 62%, 78%)
CMYKcmyk(0%, 12%, 61.5%, 21.6%)
CIE-LABlab(72.14, -3.09, 52.62)
CIE-LCHlch(72.14, 52.71, 93.36°)
OKLaboklab(75.88% -0.0121 0.1209)
OKLCHoklch(75.88% 0.122 95.7)
XYZxyz(40.6861, 43.8678, 13.3440)
Luminance0.4387 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B04D #4D65C8
analogous
#C8734D #C8B04D #A3C84D
triadic
#C8B04D #4DC8B0 #B04DC8
tetradic
#C8B04D #4DC873 #4D65C8 #C84DA3
square
#C8B04D #4DC873 #4D65C8 #C84DA3
split-complementary
#C8B04D #4DA3C8 #734DC8
monochromatic
#766624 #A58F33 #C8B04D #D6C57C #E5DAAB

Accessibility & contrast

On white

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

On black

9.77
#C8B04D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B04D
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B04D#FFFFFF#000000##000000
##C8B04D1.002.159.779.77
#FFFFFF2.151.0021.0021.00
#0000009.7721.001.001.00
##0000009.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AC42
Deuteranopia (green-blind)
#C7B452
Tritanopia (blue-blind)
#D7A49A
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c8b04d;
/* rgb */ color: rgb(200, 176, 77);
/* oklch */ color: oklch(75.9% 0.122 95.7);
Tailwind
colors: {
  custom: {
    50: '#dcc783',
    500: '#c8b04d',
    950: '#000000',
  },
}
SCSS
$custom: #c8b04d;
$custom-light: #dcc783;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b04d",
  "rgb": {
    "r": 200,
    "g": 176,
    "b": 77
  },
  "hsl": {
    "h": 48.293,
    "s": 52.79,
    "l": 54.314
  },
  "oklch": {
    "l": 0.75882,
    "c": 0.12151,
    "h": 95.7
  },
  "luminance": 0.43866
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C8B04D

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

Preview Lab → · Contrast checker → · Palette generator →

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