#D4B24A#D4B24A

#D4B24A is a light, vivid yellow. Relative luminance 0.463; OKLCH L 77.4% C 0.127 H 90.9°. Best body text is #000000 at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#D4B24A
RGBrgb(212, 178, 74)
HSLhsl(45, 62%, 56%)
HSVhsv(45, 65%, 83%)
CMYKcmyk(0%, 16%, 65.1%, 16.9%)
CIE-LABlab(73.76, 0.79, 56.06)
CIE-LCHlch(73.76, 56.07, 89.19°)
OKLaboklab(77.42% -0.002 0.1275)
OKLCHoklch(77.42% 0.127 90.9)
XYZxyz(44.3100, 46.3348, 13.0868)
Luminance0.4633 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B24A #4A6CD4
analogous
#D46D4A #D4B24A #B1D44A
triadic
#D4B24A #4AD4B2 #B24AD4
tetradic
#D4B24A #4AD46D #4A6CD4 #D44AB1
square
#D4B24A #4AD46D #4A6CD4 #D44AB1
split-complementary
#D4B24A #4AB1D4 #6D4AD4
monochromatic
#846B1F #B6942B #D4B24A #E0C77B #EBDCAD

Accessibility & contrast

On white

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

On black

10.27
#D4B24A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4B24A
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4B24A#FFFFFF#000000##000000
##D4B24A1.002.0510.2710.27
#FFFFFF2.051.0021.0021.00
#00000010.2721.001.001.00
##00000010.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B03E
Deuteranopia (green-blind)
#CDB94F
Tritanopia (blue-blind)
#E5A49C
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d4b24a;
/* rgb */ color: rgb(212, 178, 74);
/* oklch */ color: oklch(77.4% 0.127 90.9);
Tailwind
colors: {
  custom: {
    50: '#e5c881',
    500: '#d4b24a',
    950: '#000000',
  },
}
SCSS
$custom: #d4b24a;
$custom-light: #e5c881;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b24a",
  "rgb": {
    "r": 212,
    "g": 178,
    "b": 74
  },
  "hsl": {
    "h": 45.217,
    "s": 61.607,
    "l": 56.078
  },
  "oklch": {
    "l": 0.77418,
    "c": 0.12749,
    "h": 90.9
  },
  "luminance": 0.46332
}

Semantic roles & 50–950 ramp

primary
#D4B24A
secondary
#A0AED9
accent
#6BE543
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D4B24A

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

Preview Lab → · Contrast checker → · Palette generator →

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