#D7C746#D7C746

#D7C746 is a light, vivid yellow. Relative luminance 0.557; OKLCH L 82.0% C 0.146 H 102.2°. Best body text is #000000 at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#D7C746
RGBrgb(215, 199, 70)
HSLhsl(53, 64%, 56%)
HSVhsv(53, 67%, 84%)
CMYKcmyk(0%, 7.4%, 67.4%, 15.7%)
CIE-LABlab(79.46, -9.06, 63.79)
CIE-LCHlch(79.46, 64.43, 98.08°)
OKLaboklab(81.99% -0.0309 0.1431)
OKLCHoklch(81.99% 0.146 102.2)
XYZxyz(49.5553, 55.7382, 13.9414)
Luminance0.5574 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C746 #4656D7
analogous
#D77E46 #D7C746 #9ED746
triadic
#D7C746 #46D7C7 #C746D7
tetradic
#D7C746 #46D77E #4656D7 #D7469E
square
#D7C746 #46D77E #4656D7 #D7469E
split-complementary
#D7C746 #469ED7 #7E46D7
monochromatic
#867A1D #B8A828 #D7C746 #E2D678 #EDE5AB

Accessibility & contrast

On white

1.73
#D7C746 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.15
#D7C746 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C746
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C746#FFFFFF#000000##000000
##D7C7461.001.7312.1512.15
#FFFFFF1.731.0021.0021.00
#00000012.1521.001.001.00
##00000012.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C134
Deuteranopia (green-blind)
#DEC84E
Tritanopia (blue-blind)
#E7B9AD
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d7c746;
/* rgb */ color: rgb(215, 199, 70);
/* oklch */ color: oklch(82.0% 0.146 102.2);
Tailwind
colors: {
  custom: {
    50: '#e7d780',
    500: '#d7c746',
    950: '#000000',
  },
}
SCSS
$custom: #d7c746;
$custom-light: #e7d780;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c746",
  "rgb": {
    "r": 215,
    "g": 199,
    "b": 70
  },
  "hsl": {
    "h": 53.379,
    "s": 64.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.81987,
    "c": 0.14638,
    "h": 102.2
  },
  "luminance": 0.55736
}

Semantic roles & 50–950 ramp

primary
#D7C746
secondary
#353F8C
accent
#53E740
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D7C746

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

Preview Lab → · Contrast checker → · Palette generator →

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