#D3D262#D3D262

#D3D262 is a very light, vivid yellow. Relative luminance 0.608; OKLCH L 84.2% C 0.135 H 108.5°. Best body text is #000000 at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#D3D262
RGBrgb(211, 210, 98)
HSLhsl(59, 56%, 61%)
HSVhsv(59, 54%, 83%)
CMYKcmyk(0%, 0.5%, 53.6%, 17.3%)
CIE-LABlab(82.28, -14.40, 54.74)
CIE-LCHlch(82.28, 56.60, 104.74°)
OKLaboklab(84.23% -0.0428 0.1277)
OKLCHoklch(84.23% 0.135 108.5)
XYZxyz(52.1165, 60.8253, 20.5480)
Luminance0.6082 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3D262 #6263D3
analogous
#D39962 #D3D262 #9BD362
triadic
#D3D262 #62D3D2 #D262D3
tetradic
#D3D262 #62D399 #6263D3 #D3629B
square
#D3D262 #62D399 #6263D3 #D3629B
split-complementary
#D3D262 #629BD3 #9962D3
monochromatic
#929129 #C2C036 #D3D262 #E0E092 #EEEDC2

Accessibility & contrast

On white

1.60
#D3D262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.16
#D3D262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3D262
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3D262#FFFFFF#000000##000000
##D3D2621.001.6013.1613.16
#FFFFFF1.601.0021.0021.00
#00000013.1621.001.001.00
##00000013.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CA57
Deuteranopia (green-blind)
#E3CF68
Tritanopia (blue-blind)
#E0C6B9
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d3d262;
/* rgb */ color: rgb(211, 210, 98);
/* oklch */ color: oklch(84.2% 0.135 108.5);
Tailwind
colors: {
  custom: {
    50: '#e3df92',
    500: '#d3d262',
    950: '#000000',
  },
}
SCSS
$custom: #d3d262;
$custom-light: #e3df92;
$custom-dark: #000000;
JSON
{
  "hex": "#d3d262",
  "rgb": {
    "r": 211,
    "g": 210,
    "b": 98
  },
  "hsl": {
    "h": 59.469,
    "s": 56.219,
    "l": 60.588
  },
  "oklch": {
    "l": 0.84229,
    "c": 0.1347,
    "h": 108.5
  },
  "luminance": 0.60824
}

Semantic roles & 50–950 ramp

primary
#D3D262
secondary
#424397
accent
#23C422
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D3D262

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

Preview Lab → · Contrast checker → · Palette generator →

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