#D2D262#D2D262

#D2D262 is a very light, vivid yellow. Relative luminance 0.607; OKLCH L 84.1% C 0.135 H 109.0°. Best body text is #000000 at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#D2D262
RGBrgb(210, 210, 98)
HSLhsl(60, 55%, 60%)
HSVhsv(60, 53%, 82%)
CMYKcmyk(0%, 0%, 53.3%, 17.6%)
CIE-LABlab(82.21, -14.80, 54.63)
CIE-LCHlch(82.21, 56.60, 105.16°)
OKLaboklab(84.15% -0.0438 0.1275)
OKLCHoklch(84.15% 0.135 109)
XYZxyz(51.8309, 60.6780, 20.5346)
Luminance0.6068 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D262 #6262D2
analogous
#D29A62 #D2D262 #9AD262
triadic
#D2D262 #62D2D2 #D262D2
tetradic
#D2D262 #62D29A #6262D2 #D2629A
square
#D2D262 #62D29A #6262D2 #D2629A
split-complementary
#D2D262 #629AD2 #9A62D2
monochromatic
#909029 #C0C037 #D2D262 #E0E092 #EDEDC1

Accessibility & contrast

On white

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

On black

13.14
#D2D262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D262
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D262#FFFFFF#000000##000000
##D2D2621.001.6013.1413.14
#FFFFFF1.601.0021.0021.00
#00000013.1421.001.001.00
##00000013.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CA57
Deuteranopia (green-blind)
#E2CE68
Tritanopia (blue-blind)
#DFC6B9
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d2d262;
/* rgb */ color: rgb(210, 210, 98);
/* oklch */ color: oklch(84.1% 0.135 109.0);
Tailwind
colors: {
  custom: {
    50: '#e2df92',
    500: '#d2d262',
    950: '#000000',
  },
}
SCSS
$custom: #d2d262;
$custom-light: #e2df92;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d262",
  "rgb": {
    "r": 210,
    "g": 210,
    "b": 98
  },
  "hsl": {
    "h": 60,
    "s": 55.446,
    "l": 60.392
  },
  "oklch": {
    "l": 0.84147,
    "c": 0.13484,
    "h": 109
  },
  "luminance": 0.60677
}

Semantic roles & 50–950 ramp

primary
#D2D262
secondary
#424296
accent
#23C323
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D2D262

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

Preview Lab → · Contrast checker → · Palette generator →

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