#D7C45A#D7C45A

#D7C45A is a light, vivid yellow. Relative luminance 0.547; OKLCH L 81.6% C 0.128 H 99.3°. Best body text is #000000 at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#D7C45A
RGBrgb(215, 196, 90)
HSLhsl(51, 61%, 60%)
HSVhsv(51, 58%, 84%)
CMYKcmyk(0%, 8.8%, 58.1%, 15.7%)
CIE-LABlab(78.85, -6.25, 54.57)
CIE-LCHlch(78.85, 54.92, 96.54°)
OKLaboklab(81.55% -0.0206 0.1264)
OKLCHoklch(81.55% 0.128 99.3)
XYZxyz(49.6116, 54.6672, 17.6094)
Luminance0.5466 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C45A #5A6DD7
analogous
#D7865A #D7C45A #ACD75A
triadic
#D7C45A #5AD7C4 #C45AD7
tetradic
#D7C45A #5AD786 #5A6DD7 #D75AAC
square
#D7C45A #5AD786 #5A6DD7 #D75AAC
split-complementary
#D7C45A #5AACD7 #865AD7
monochromatic
#938224 #C4AE30 #D7C45A #E3D68B #EFE7BD

Accessibility & contrast

On white

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

On black

11.93
#D7C45A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C45A
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C45A#FFFFFF#000000##000000
##D7C45A1.001.7611.9311.93
#FFFFFF1.761.0021.0021.00
#00000011.9321.001.001.00
##00000011.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF4F
Deuteranopia (green-blind)
#DAC65F
Tritanopia (blue-blind)
#E6B7AD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d7c45a;
/* rgb */ color: rgb(215, 196, 90);
/* oklch */ color: oklch(81.6% 0.128 99.3);
Tailwind
colors: {
  custom: {
    50: '#e6d58c',
    500: '#d7c45a',
    950: '#000000',
  },
}
SCSS
$custom: #d7c45a;
$custom-light: #e6d58c;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c45a",
  "rgb": {
    "r": 215,
    "g": 196,
    "b": 90
  },
  "hsl": {
    "h": 50.88,
    "s": 60.976,
    "l": 59.804
  },
  "oklch": {
    "l": 0.81554,
    "c": 0.12805,
    "h": 99.3
  },
  "luminance": 0.54665
}

Semantic roles & 50–950 ramp

primary
#D7C45A
secondary
#3D4B98
accent
#5CE444
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D7C45A

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

Preview Lab → · Contrast checker → · Palette generator →

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