#D4B248#D4B248

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

Color values

HEX#D4B248
RGBrgb(212, 178, 72)
HSLhsl(45, 62%, 56%)
HSVhsv(45, 66%, 83%)
CMYKcmyk(0%, 16%, 66%, 16.9%)
CIE-LABlab(73.75, 0.67, 56.92)
CIE-LCHlch(73.75, 56.92, 89.33°)
OKLaboklab(77.4% -0.0026 0.129)
OKLCHoklch(77.4% 0.129 91.2)
XYZxyz(44.2437, 46.3082, 12.7376)
Luminance0.4631 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B248 #486AD4
analogous
#D46C48 #D4B248 #B0D448
triadic
#D4B248 #48D4B2 #B248D4
tetradic
#D4B248 #48D46C #486AD4 #D448B0
square
#D4B248 #48D46C #486AD4 #D448B0
split-complementary
#D4B248 #48B0D4 #6C48D4
monochromatic
#836B1F #B4932A #D4B248 #E0C77A #EBDCAB

Accessibility & contrast

On white

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

On black

10.26
#D4B248 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4B248
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4B248#FFFFFF#000000##000000
##D4B2481.002.0510.2610.26
#FFFFFF2.051.0021.0021.00
#00000010.2621.001.001.00
##00000010.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4b248;
/* rgb */ color: rgb(212, 178, 72);
/* oklch */ color: oklch(77.4% 0.129 91.2);
Tailwind
colors: {
  custom: {
    50: '#e5c880',
    500: '#d4b248',
    950: '#000000',
  },
}
SCSS
$custom: #d4b248;
$custom-light: #e5c880;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b248",
  "rgb": {
    "r": 212,
    "g": 178,
    "b": 72
  },
  "hsl": {
    "h": 45.429,
    "s": 61.947,
    "l": 55.686
  },
  "oklch": {
    "l": 0.77399,
    "c": 0.129,
    "h": 91.2
  },
  "luminance": 0.46306
}

Semantic roles & 50–950 ramp

primary
#D4B248
secondary
#9FADD9
accent
#6AE543
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #D4B248

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

Preview Lab → · Contrast checker → · Palette generator →

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