#D7D262#D7D262

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

Color values

HEX#D7D262
RGBrgb(215, 210, 98)
HSLhsl(57, 59%, 61%)
HSVhsv(57, 54%, 84%)
CMYKcmyk(0%, 2.3%, 54.4%, 15.7%)
CIE-LABlab(82.61, -12.77, 55.19)
CIE-LCHlch(82.61, 56.65, 103.02°)
OKLaboklab(84.56% -0.0383 0.1286)
OKLCHoklch(84.56% 0.134 106.6)
XYZxyz(53.2771, 61.4237, 20.6024)
Luminance0.6142 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D262 #6267D7
analogous
#D79862 #D7D262 #A2D762
triadic
#D7D262 #62D7D2 #D262D7
tetradic
#D7D262 #62D798 #6267D7 #D762A2
square
#D7D262 #62D798 #6267D7 #D762A2
split-complementary
#D7D262 #62A2D7 #9862D7
monochromatic
#989327 #C9C233 #D7D262 #E3E093 #F0EEC4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7D262#FFFFFF#000000##000000
##D7D2621.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)
#E2CB57
Deuteranopia (green-blind)
#E4D068
Tritanopia (blue-blind)
#E5C6B9
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d7d262;
/* rgb */ color: rgb(215, 210, 98);
/* oklch */ color: oklch(84.6% 0.134 106.6);
Tailwind
colors: {
  custom: {
    50: '#e6df92',
    500: '#d7d262',
    950: '#000000',
  },
}
SCSS
$custom: #d7d262;
$custom-light: #e6df92;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d262",
  "rgb": {
    "r": 215,
    "g": 210,
    "b": 98
  },
  "hsl": {
    "h": 57.436,
    "s": 59.391,
    "l": 61.373
  },
  "oklch": {
    "l": 0.84563,
    "c": 0.13423,
    "h": 106.6
  },
  "luminance": 0.61422
}

Semantic roles & 50–950 ramp

primary
#D7D262
secondary
#41459D
accent
#26C71E
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D7D262

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

Preview Lab → · Contrast checker → · Palette generator →

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