#C4B74A#C4B74A

#C4B74A is a light, vivid yellow. Relative luminance 0.461; OKLCH L 77.0% C 0.130 H 102.5°. Best body text is #000000 at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#C4B74A
RGBrgb(196, 183, 74)
HSLhsl(54, 51%, 53%)
HSVhsv(54, 62%, 77%)
CMYKcmyk(0%, 6.6%, 62.2%, 23.1%)
CIE-LABlab(73.61, -8.65, 55.47)
CIE-LCHlch(73.61, 56.14, 98.87°)
OKLaboklab(76.95% -0.0281 0.1267)
OKLCHoklch(76.95% 0.13 102.5)
XYZxyz(40.9360, 46.0987, 13.2189)
Luminance0.4610 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4B74A #4A57C4
analogous
#C47A4A #C4B74A #94C44A
triadic
#C4B74A #4AC4B7 #B74AC4
tetradic
#C4B74A #4AC47A #4A57C4 #C44A94
square
#C4B74A #4AC47A #4A57C4 #C44A94
split-complementary
#C4B74A #4A94C4 #7A4AC4
monochromatic
#6F6724 #9D9233 #C4B74A #D3C978 #E2DCA6

Accessibility & contrast

On white

2.05
#C4B74A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.22
#C4B74A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4B74A
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4B74A#FFFFFF#000000##000000
##C4B74A1.002.0510.2210.22
#FFFFFF2.051.0021.0021.00
#00000010.2221.001.001.00
##00000010.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B13D
Deuteranopia (green-blind)
#CBB750
Tritanopia (blue-blind)
#D2ABA0
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #c4b74a;
/* rgb */ color: rgb(196, 183, 74);
/* oklch */ color: oklch(77.0% 0.130 102.5);
Tailwind
colors: {
  custom: {
    50: '#d9cc81',
    500: '#c4b74a',
    950: '#000000',
  },
}
SCSS
$custom: #c4b74a;
$custom-light: #d9cc81;
$custom-dark: #000000;
JSON
{
  "hex": "#c4b74a",
  "rgb": {
    "r": 196,
    "g": 183,
    "b": 74
  },
  "hsl": {
    "h": 53.607,
    "s": 50.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.76953,
    "c": 0.12974,
    "h": 102.5
  },
  "luminance": 0.46097
}

Semantic roles & 50–950 ramp

primary
#C4B74A
secondary
#9BA0CF
accent
#5CDA4D
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C4B74A

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

Preview Lab → · Contrast checker → · Palette generator →

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