#C7B34A#C7B34A

#C7B34A is a light, vivid yellow. Relative luminance 0.449; OKLCH L 76.4% C 0.126 H 98.5°. Best body text is #000000 at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#C7B34A
RGBrgb(199, 179, 74)
HSLhsl(50, 53%, 54%)
HSVhsv(50, 63%, 78%)
CMYKcmyk(0%, 10.1%, 62.8%, 22%)
CIE-LABlab(72.81, -5.29, 54.68)
CIE-LCHlch(72.81, 54.94, 95.53°)
OKLaboklab(76.38% -0.0187 0.1249)
OKLCHoklch(76.38% 0.126 98.5)
XYZxyz(40.9110, 44.8786, 12.9847)
Luminance0.4488 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7B34A #4A5EC7
analogous
#C7744A #C7B34A #9CC74A
triadic
#C7B34A #4AC7B3 #B34AC7
tetradic
#C7B34A #4AC774 #4A5EC7 #C74A9C
square
#C7B34A #4AC774 #4A5EC7 #C74A9C
split-complementary
#C7B34A #4A9CC7 #744AC7
monochromatic
#736624 #A29032 #C7B34A #D5C779 #E4DAA7

Accessibility & contrast

On white

2.11
#C7B34A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.98
#C7B34A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7B34A
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7B34A#FFFFFF#000000##000000
##C7B34A1.002.119.989.98
#FFFFFF2.111.0021.0021.00
#0000009.9821.001.001.00
##0000009.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AF3E
Deuteranopia (green-blind)
#C9B64F
Tritanopia (blue-blind)
#D6A79D
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c7b34a;
/* rgb */ color: rgb(199, 179, 74);
/* oklch */ color: oklch(76.4% 0.126 98.5);
Tailwind
colors: {
  custom: {
    50: '#dbc981',
    500: '#c7b34a',
    950: '#000000',
  },
}
SCSS
$custom: #c7b34a;
$custom-light: #dbc981;
$custom-dark: #000000;
JSON
{
  "hex": "#c7b34a",
  "rgb": {
    "r": 199,
    "g": 179,
    "b": 74
  },
  "hsl": {
    "h": 50.4,
    "s": 52.743,
    "l": 53.529
  },
  "oklch": {
    "l": 0.76383,
    "c": 0.12629,
    "h": 98.5
  },
  "luminance": 0.44877
}

Semantic roles & 50–950 ramp

primary
#C7B34A
secondary
#9CA4D1
accent
#63DC4C
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C7B34A

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

Preview Lab → · Contrast checker → · Palette generator →

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