#D7D362#D7D362

#D7D362 is a very light, vivid yellow. Relative luminance 0.619; OKLCH L 84.8% C 0.135 H 107.1°. Best body text is #000000 at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#D7D362
RGBrgb(215, 211, 98)
HSLhsl(58, 59%, 61%)
HSVhsv(58, 54%, 84%)
CMYKcmyk(0%, 1.9%, 54.4%, 15.7%)
CIE-LABlab(82.87, -13.27, 55.49)
CIE-LCHlch(82.87, 57.06, 103.45°)
OKLaboklab(84.77% -0.0398 0.1293)
OKLCHoklch(84.77% 0.135 107.1)
XYZxyz(53.5247, 61.9190, 20.6850)
Luminance0.6192 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D362 #6266D7
analogous
#D79962 #D7D362 #A1D762
triadic
#D7D362 #62D7D3 #D362D7
tetradic
#D7D362 #62D799 #6266D7 #D762A1
square
#D7D362 #62D799 #6266D7 #D762A1
split-complementary
#D7D362 #62A1D7 #9962D7
monochromatic
#989427 #C9C433 #D7D362 #E3E193 #F0EEC4

Accessibility & contrast

On white

1.57
#D7D362 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.38
#D7D362 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D362
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D362#FFFFFF#000000##000000
##D7D3621.001.5713.3813.38
#FFFFFF1.571.0021.0021.00
#00000013.3821.001.001.00
##00000013.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CC57
Deuteranopia (green-blind)
#E5D168
Tritanopia (blue-blind)
#E5C7BA
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d7d362;
/* rgb */ color: rgb(215, 211, 98);
/* oklch */ color: oklch(84.8% 0.135 107.1);
Tailwind
colors: {
  custom: {
    50: '#e6e092',
    500: '#d7d362',
    950: '#000000',
  },
}
SCSS
$custom: #d7d362;
$custom-light: #e6e092;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d362",
  "rgb": {
    "r": 215,
    "g": 211,
    "b": 98
  },
  "hsl": {
    "h": 57.949,
    "s": 59.391,
    "l": 61.373
  },
  "oklch": {
    "l": 0.84774,
    "c": 0.13527,
    "h": 107.1
  },
  "luminance": 0.61917
}

Semantic roles & 50–950 ramp

primary
#D7D362
secondary
#41449D
accent
#24C71E
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D7D362

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

Preview Lab → · Contrast checker → · Palette generator →

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