#D7C544#D7C544

#D7C544 is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.6% C 0.146 H 101.2°. Best body text is #000000 at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#D7C544
RGBrgb(215, 197, 68)
HSLhsl(53, 65%, 55%)
HSVhsv(53, 68%, 84%)
CMYKcmyk(0%, 8.4%, 68.4%, 15.7%)
CIE-LABlab(78.93, -8.14, 64.03)
CIE-LCHlch(78.93, 64.54, 97.25°)
OKLaboklab(81.56% -0.0285 0.1433)
OKLCHoklch(81.56% 0.146 101.2)
XYZxyz(49.0361, 54.7991, 13.4621)
Luminance0.5480 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C544 #4456D7
analogous
#D77B44 #D7C544 #9FD744
triadic
#D7C544 #44D7C5 #C544D7
tetradic
#D7C544 #44D77B #4456D7 #D7449F
square
#D7C544 #44D77B #4456D7 #D7449F
split-complementary
#D7C544 #449FD7 #7B44D7
monochromatic
#84781C #B7A527 #D7C544 #E2D576 #EDE4A9

Accessibility & contrast

On white

1.76
#D7C544 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.96
#D7C544 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C544
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C544#FFFFFF#000000##000000
##D7C5441.001.7611.9611.96
#FFFFFF1.761.0021.0021.00
#00000011.9621.001.001.00
##00000011.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF32
Deuteranopia (green-blind)
#DCC74C
Tritanopia (blue-blind)
#E7B7AB
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d7c544;
/* rgb */ color: rgb(215, 197, 68);
/* oklch */ color: oklch(81.6% 0.146 101.2);
Tailwind
colors: {
  custom: {
    50: '#e7d67f',
    500: '#d7c544',
    950: '#000000',
  },
}
SCSS
$custom: #d7c544;
$custom-light: #e7d67f;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c544",
  "rgb": {
    "r": 215,
    "g": 197,
    "b": 68
  },
  "hsl": {
    "h": 52.653,
    "s": 64.758,
    "l": 55.49
  },
  "oklch": {
    "l": 0.81555,
    "c": 0.14607,
    "h": 101.2
  },
  "luminance": 0.54797
}

Semantic roles & 50–950 ramp

primary
#D7C544
secondary
#343F8B
accent
#55E840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D7C544

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

Preview Lab → · Contrast checker → · Palette generator →

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