#D7C94B#D7C94B

#D7C94B is a very light, vivid yellow. Relative luminance 0.567; OKLCH L 82.4% C 0.145 H 103.0°. Best body text is #000000 at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#D7C94B
RGBrgb(215, 201, 75)
HSLhsl(54, 64%, 57%)
HSVhsv(54, 65%, 84%)
CMYKcmyk(0%, 6.5%, 65.1%, 15.7%)
CIE-LABlab(80.03, -9.79, 62.36)
CIE-LCHlch(80.03, 63.12, 98.93°)
OKLaboklab(82.45% -0.0324 0.1409)
OKLCHoklch(82.45% 0.145 103)
XYZxyz(50.1830, 56.7303, 14.9619)
Luminance0.5673 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C94B #4B59D7
analogous
#D7834B #D7C94B #9FD74B
triadic
#D7C94B #4BD7C9 #C94BD7
tetradic
#D7C94B #4BD783 #4B59D7 #D74B9F
square
#D7C94B #4BD783 #4B59D7 #D74B9F
split-complementary
#D7C94B #4B9FD7 #834BD7
monochromatic
#897E1E #BBAD2A #D7C94B #E2D87D #EDE7AF

Accessibility & contrast

On white

1.70
#D7C94B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.35
#D7C94B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C94B
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C94B#FFFFFF#000000##000000
##D7C94B1.001.7012.3512.35
#FFFFFF1.701.0021.0021.00
#00000012.3521.001.001.00
##00000012.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC33B
Deuteranopia (green-blind)
#DFC952
Tritanopia (blue-blind)
#E7BCAF
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d7c94b;
/* rgb */ color: rgb(215, 201, 75);
/* oklch */ color: oklch(82.4% 0.145 103.0);
Tailwind
colors: {
  custom: {
    50: '#e7d983',
    500: '#d7c94b',
    950: '#000000',
  },
}
SCSS
$custom: #d7c94b;
$custom-light: #e7d983;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c94b",
  "rgb": {
    "r": 215,
    "g": 201,
    "b": 75
  },
  "hsl": {
    "h": 54,
    "s": 63.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.82447,
    "c": 0.14455,
    "h": 103
  },
  "luminance": 0.56728
}

Semantic roles & 50–950 ramp

primary
#D7C94B
secondary
#37408F
accent
#52E741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D7C94B

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

Preview Lab → · Contrast checker → · Palette generator →

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