#C7B04A#C7B04A

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

Color values

HEX#C7B04A
RGBrgb(199, 176, 74)
HSLhsl(49, 53%, 54%)
HSVhsv(49, 63%, 78%)
CMYKcmyk(0%, 11.6%, 62.8%, 22%)
CIE-LABlab(72.02, -3.72, 53.82)
CIE-LCHlch(72.02, 53.95, 93.95°)
OKLaboklab(75.76% -0.0142 0.1231)
OKLCHoklch(75.76% 0.124 96.6)
XYZxyz(40.3163, 43.6891, 12.7865)
Luminance0.4369 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7B04A #4A61C7
analogous
#C7714A #C7B04A #9FC74A
triadic
#C7B04A #4AC7B0 #B04AC7
tetradic
#C7B04A #4AC771 #4A61C7 #C74A9F
square
#C7B04A #4AC771 #4A61C7 #C74A9F
split-complementary
#C7B04A #4A9FC7 #714AC7
monochromatic
#736424 #A28D32 #C7B04A #D5C479 #E4D9A7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7B04A#FFFFFF#000000##000000
##C7B04A1.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)
#C0AC3E
Deuteranopia (green-blind)
#C6B44F
Tritanopia (blue-blind)
#D6A49A
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c7b04a;
/* rgb */ color: rgb(199, 176, 74);
/* oklch */ color: oklch(75.8% 0.124 96.6);
Tailwind
colors: {
  custom: {
    50: '#dbc781',
    500: '#c7b04a',
    950: '#000000',
  },
}
SCSS
$custom: #c7b04a;
$custom-light: #dbc781;
$custom-dark: #000000;
JSON
{
  "hex": "#c7b04a",
  "rgb": {
    "r": 199,
    "g": 176,
    "b": 74
  },
  "hsl": {
    "h": 48.96,
    "s": 52.743,
    "l": 53.529
  },
  "oklch": {
    "l": 0.75756,
    "c": 0.12389,
    "h": 96.6
  },
  "luminance": 0.43687
}

Semantic roles & 50–950 ramp

primary
#C7B04A
secondary
#9CA5D1
accent
#66DC4C
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C7B04A

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

Preview Lab → · Contrast checker → · Palette generator →

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