#D7C448#D7C448

#D7C448 is a light, vivid yellow. Relative luminance 0.544; OKLCH L 81.4% C 0.142 H 100.5°. Best body text is #000000 at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#D7C448
RGBrgb(215, 196, 72)
HSLhsl(52, 64%, 56%)
HSVhsv(52, 67%, 84%)
CMYKcmyk(0%, 8.8%, 66.5%, 15.7%)
CIE-LABlab(78.69, -7.41, 62.19)
CIE-LCHlch(78.69, 62.63, 96.80°)
OKLaboklab(81.38% -0.026 0.1401)
OKLCHoklch(81.38% 0.142 100.5)
XYZxyz(48.9361, 54.3970, 14.0516)
Luminance0.5440 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C448 #485BD7
analogous
#D77D48 #D7C448 #A3D748
triadic
#D7C448 #48D7C4 #C448D7
tetradic
#D7C448 #48D77D #485BD7 #D748A3
square
#D7C448 #48D77D #485BD7 #D748A3
split-complementary
#D7C448 #48A3D7 #7D48D7
monochromatic
#87791E #B9A629 #D7C448 #E2D47A #EDE4AC

Accessibility & contrast

On white

1.77
#D7C448 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.88
#D7C448 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C448
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C448#FFFFFF#000000##000000
##D7C4481.001.7711.8811.88
#FFFFFF1.771.0021.0021.00
#00000011.8821.001.001.00
##00000011.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF38
Deuteranopia (green-blind)
#DBC64F
Tritanopia (blue-blind)
#E7B6AA
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d7c448;
/* rgb */ color: rgb(215, 196, 72);
/* oklch */ color: oklch(81.4% 0.142 100.5);
Tailwind
colors: {
  custom: {
    50: '#e7d581',
    500: '#d7c448',
    950: '#000000',
  },
}
SCSS
$custom: #d7c448;
$custom-light: #e7d581;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c448",
  "rgb": {
    "r": 215,
    "g": 196,
    "b": 72
  },
  "hsl": {
    "h": 52.028,
    "s": 64.126,
    "l": 56.275
  },
  "oklch": {
    "l": 0.81379,
    "c": 0.14244,
    "h": 100.5
  },
  "luminance": 0.54395
}

Semantic roles & 50–950 ramp

primary
#D7C448
secondary
#36418D
accent
#57E741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D7C448

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

Preview Lab → · Contrast checker → · Palette generator →

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