#D7C74B#D7C74B

#D7C74B is a very light, vivid yellow. Relative luminance 0.558; OKLCH L 82.0% C 0.143 H 101.9°. Best body text is #000000 at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#D7C74B
RGBrgb(215, 199, 75)
HSLhsl(53, 64%, 57%)
HSVhsv(53, 65%, 84%)
CMYKcmyk(0%, 7.4%, 65.1%, 15.7%)
CIE-LABlab(79.50, -8.78, 61.81)
CIE-LCHlch(79.50, 62.43, 98.08°)
OKLaboklab(82.03% -0.0295 0.1397)
OKLCHoklch(82.03% 0.143 101.9)
XYZxyz(49.7198, 55.8040, 14.8075)
Luminance0.5580 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C74B #4B5BD7
analogous
#D7814B #D7C74B #A1D74B
triadic
#D7C74B #4BD7C7 #C74BD7
tetradic
#D7C74B #4BD781 #4B5BD7 #D74BA1
square
#D7C74B #4BD781 #4B5BD7 #D74BA1
split-complementary
#D7C74B #4BA1D7 #814BD7
monochromatic
#897D1E #BBAB2A #D7C74B #E2D77D #EDE6AF

Accessibility & contrast

On white

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

On black

12.16
#D7C74B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C74B
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C74B#FFFFFF#000000##000000
##D7C74B1.001.7312.1612.16
#FFFFFF1.731.0021.0021.00
#00000012.1621.001.001.00
##00000012.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C13B
Deuteranopia (green-blind)
#DDC852
Tritanopia (blue-blind)
#E7BAAD
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d7c74b;
/* rgb */ color: rgb(215, 199, 75);
/* oklch */ color: oklch(82.0% 0.143 101.9);
Tailwind
colors: {
  custom: {
    50: '#e7d783',
    500: '#d7c74b',
    950: '#000000',
  },
}
SCSS
$custom: #d7c74b;
$custom-light: #e7d783;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c74b",
  "rgb": {
    "r": 215,
    "g": 199,
    "b": 75
  },
  "hsl": {
    "h": 53.143,
    "s": 63.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.82029,
    "c": 0.14279,
    "h": 101.9
  },
  "luminance": 0.55802
}

Semantic roles & 50–950 ramp

primary
#D7C74B
secondary
#37418F
accent
#54E741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D7C74B

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

Preview Lab → · Contrast checker → · Palette generator →

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