#D4B448#D4B448

#D4B448 is a light, vivid yellow. Relative luminance 0.471; OKLCH L 77.8% C 0.130 H 92.5°. Best body text is #000000 at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#D4B448
RGBrgb(212, 180, 72)
HSLhsl(46, 62%, 56%)
HSVhsv(46, 66%, 83%)
CMYKcmyk(0%, 15.1%, 66%, 16.9%)
CIE-LABlab(74.26, -0.38, 57.46)
CIE-LCHlch(74.26, 57.47, 90.38°)
OKLaboklab(77.81% -0.0057 0.1301)
OKLCHoklch(77.81% 0.13 92.5)
XYZxyz(44.6446, 47.1099, 12.8712)
Luminance0.4711 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B448 #4868D4
analogous
#D46E48 #D4B448 #AED448
triadic
#D4B448 #48D4B4 #B448D4
tetradic
#D4B448 #48D46E #4868D4 #D448AE
square
#D4B448 #48D46E #4868D4 #D448AE
split-complementary
#D4B448 #48AED4 #6E48D4
monochromatic
#836C1F #B4952A #D4B448 #E0C87A #EBDDAB

Accessibility & contrast

On white

2.02
#D4B448 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.42
#D4B448 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4B448
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4B448#FFFFFF#000000##000000
##D4B4481.002.0210.4210.42
#FFFFFF2.021.0021.0021.00
#00000010.4221.001.001.00
##00000010.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B13B
Deuteranopia (green-blind)
#CEBB4D
Tritanopia (blue-blind)
#E5A69D
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d4b448;
/* rgb */ color: rgb(212, 180, 72);
/* oklch */ color: oklch(77.8% 0.130 92.5);
Tailwind
colors: {
  custom: {
    50: '#e5ca80',
    500: '#d4b448',
    950: '#000000',
  },
}
SCSS
$custom: #d4b448;
$custom-light: #e5ca80;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b448",
  "rgb": {
    "r": 212,
    "g": 180,
    "b": 72
  },
  "hsl": {
    "h": 46.286,
    "s": 61.947,
    "l": 55.686
  },
  "oklch": {
    "l": 0.77806,
    "c": 0.13025,
    "h": 92.5
  },
  "luminance": 0.47107
}

Semantic roles & 50–950 ramp

primary
#D4B448
secondary
#9FACD9
accent
#68E543
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #D4B448

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

Preview Lab → · Contrast checker → · Palette generator →

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