#C4A74B#C4A74B

#C4A74B is a light, moderate yellow. Relative luminance 0.399; OKLCH L 73.6% C 0.116 H 91.8°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#C4A74B
RGBrgb(196, 167, 75)
HSLhsl(46, 51%, 53%)
HSVhsv(46, 62%, 77%)
CMYKcmyk(0%, 14.8%, 61.7%, 23.1%)
CIE-LABlab(69.39, -0.17, 50.38)
CIE-LCHlch(69.39, 50.38, 90.19°)
OKLaboklab(73.61% -0.0037 0.116)
OKLCHoklch(73.61% 0.116 91.8)
XYZxyz(37.8554, 39.8832, 12.3595)
Luminance0.3988 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4A74B #4B68C4
analogous
#C46A4B #C4A74B #A4C44B
triadic
#C4A74B #4BC4A7 #A74BC4
tetradic
#C4A74B #4BC46A #4B68C4 #C44BA4
square
#C4A74B #4BC46A #4B68C4 #C44BA4
split-complementary
#C4A74B #4BA4C4 #6A4BC4
monochromatic
#705E25 #9E8534 #C4A74B #D3BE79 #E2D4A7

Accessibility & contrast

On white

2.34
#C4A74B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#C4A74B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4A74B
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4A74B#FFFFFF#000000##000000
##C4A74B1.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A541
Deuteranopia (green-blind)
#BFAD4F
Tritanopia (blue-blind)
#D39B93
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #c4a74b;
/* rgb */ color: rgb(196, 167, 75);
/* oklch */ color: oklch(73.6% 0.116 91.8);
Tailwind
colors: {
  custom: {
    50: '#d9c081',
    500: '#c4a74b',
    950: '#000000',
  },
}
SCSS
$custom: #c4a74b;
$custom-light: #d9c081;
$custom-dark: #000000;
JSON
{
  "hex": "#c4a74b",
  "rgb": {
    "r": 196,
    "g": 167,
    "b": 75
  },
  "hsl": {
    "h": 45.62,
    "s": 50.628,
    "l": 53.137
  },
  "oklch": {
    "l": 0.73611,
    "c": 0.11602,
    "h": 91.8
  },
  "luminance": 0.39881
}

Semantic roles & 50–950 ramp

primary
#C4A74B
secondary
#9BA8CF
accent
#6FDA4E
background
#FDFBF8
surface
#FBF7EF
border
#D4D0CA
text
#15120A
muted
#83817C

Preview Lab

Preview with #C4A74B

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

Preview Lab → · Contrast checker → · Palette generator →

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