#D7D261#D7D261

#D7D261 is a very light, vivid yellow. Relative luminance 0.614; OKLCH L 84.6% C 0.135 H 106.6°. Best body text is #000000 at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#D7D261
RGBrgb(215, 210, 97)
HSLhsl(57, 60%, 61%)
HSVhsv(57, 55%, 84%)
CMYKcmyk(0%, 2.3%, 54.9%, 15.7%)
CIE-LABlab(82.60, -12.84, 55.63)
CIE-LCHlch(82.60, 57.10, 103.00°)
OKLaboklab(84.55% -0.0387 0.1295)
OKLCHoklch(84.55% 0.135 106.6)
XYZxyz(53.2301, 61.4049, 20.3553)
Luminance0.6140 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D261 #6166D7
analogous
#D79761 #D7D261 #A1D761
triadic
#D7D261 #61D7D2 #D261D7
tetradic
#D7D261 #61D797 #6166D7 #D761A1
square
#D7D261 #61D797 #6166D7 #D761A1
split-complementary
#D7D261 #61A1D7 #9761D7
monochromatic
#979326 #C8C233 #D7D261 #E3E092 #F0EEC3

Accessibility & contrast

On white

1.58
#D7D261 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.28
#D7D261 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D261
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D261#FFFFFF#000000##000000
##D7D2611.001.5813.2813.28
#FFFFFF1.581.0021.0021.00
#00000013.2821.001.001.00
##00000013.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CB56
Deuteranopia (green-blind)
#E4D067
Tritanopia (blue-blind)
#E5C6B9
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d7d261;
/* rgb */ color: rgb(215, 210, 97);
/* oklch */ color: oklch(84.6% 0.135 106.6);
Tailwind
colors: {
  custom: {
    50: '#e6df91',
    500: '#d7d261',
    950: '#000000',
  },
}
SCSS
$custom: #d7d261;
$custom-light: #e6df91;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d261",
  "rgb": {
    "r": 215,
    "g": 210,
    "b": 97
  },
  "hsl": {
    "h": 57.458,
    "s": 59.596,
    "l": 61.176
  },
  "oklch": {
    "l": 0.84552,
    "c": 0.13513,
    "h": 106.6
  },
  "luminance": 0.61403
}

Semantic roles & 50–950 ramp

primary
#D7D261
secondary
#40449C
accent
#25C71E
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D7D261

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

Preview Lab → · Contrast checker → · Palette generator →

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