#C4A73B#C4A73B

#C4A73B is a light, vivid yellow. Relative luminance 0.397; OKLCH L 73.5% C 0.128 H 93.8°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#C4A73B
RGBrgb(196, 167, 59)
HSLhsl(47, 54%, 50%)
HSVhsv(47, 70%, 77%)
CMYKcmyk(0%, 14.8%, 69.9%, 23.1%)
CIE-LABlab(69.25, -1.14, 57.26)
CIE-LCHlch(69.25, 57.27, 91.14°)
OKLaboklab(73.46% -0.0084 0.1281)
OKLCHoklch(73.46% 0.128 93.8)
XYZxyz(37.3750, 39.6910, 9.8293)
Luminance0.3969 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4A73B #3B58C4
analogous
#C4623B #C4A73B #9DC43B
triadic
#C4A73B #3BC4A7 #A73BC4
tetradic
#C4A73B #3BC462 #3B58C4 #C43B9D
square
#C4A73B #3BC462 #3B58C4 #C43B9D
split-complementary
#C4A73B #3B9DC4 #623BC4
monochromatic
#66571F #957F2D #C4A73B #D2BC6A #E0D199

Accessibility & contrast

On white

2.35
#C4A73B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.94
#C4A73B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4A73B
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4A73B#FFFFFF#000000##000000
##C4A73B1.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A42C
Deuteranopia (green-blind)
#C0AD41
Tritanopia (blue-blind)
#D49A91
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #c4a73b;
/* rgb */ color: rgb(196, 167, 59);
/* oklch */ color: oklch(73.5% 0.128 93.8);
Tailwind
colors: {
  custom: {
    50: '#dac077',
    500: '#c4a73b',
    950: '#000000',
  },
}
SCSS
$custom: #c4a73b;
$custom-light: #dac077;
$custom-dark: #000000;
JSON
{
  "hex": "#c4a73b",
  "rgb": {
    "r": 196,
    "g": 167,
    "b": 59
  },
  "hsl": {
    "h": 47.299,
    "s": 53.725,
    "l": 50
  },
  "oklch": {
    "l": 0.73459,
    "c": 0.12833,
    "h": 93.8
  },
  "luminance": 0.39689
}

Semantic roles & 50–950 ramp

primary
#C4A73B
secondary
#8F9CCC
accent
#6ADD4B
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C4A73B

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

Preview Lab → · Contrast checker → · Palette generator →

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