#D4D262#D4D262

#D4D262 is a very light, vivid yellow. Relative luminance 0.610; OKLCH L 84.3% C 0.135 H 108.0°. Best body text is #000000 at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#D4D262
RGBrgb(212, 210, 98)
HSLhsl(59, 57%, 61%)
HSVhsv(59, 54%, 83%)
CMYKcmyk(0%, 0.9%, 53.8%, 16.9%)
CIE-LABlab(82.36, -13.99, 54.85)
CIE-LCHlch(82.36, 56.61, 104.31°)
OKLaboklab(84.31% -0.0416 0.128)
OKLCHoklch(84.31% 0.135 108)
XYZxyz(52.4040, 60.9735, 20.5615)
Luminance0.6097 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D262 #6264D4
analogous
#D49962 #D4D262 #9DD462
triadic
#D4D262 #62D4D2 #D262D4
tetradic
#D4D262 #62D499 #6264D4 #D4629D
square
#D4D262 #62D499 #6264D4 #D4629D
split-complementary
#D4D262 #629DD4 #9962D4
monochromatic
#939128 #C3C135 #D4D262 #E1E092 #EEEEC2

Accessibility & contrast

On white

1.59
#D4D262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.19
#D4D262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D262
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D262#FFFFFF#000000##000000
##D4D2621.001.5913.1913.19
#FFFFFF1.591.0021.0021.00
#00000013.1921.001.001.00
##00000013.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4d262;
/* rgb */ color: rgb(212, 210, 98);
/* oklch */ color: oklch(84.3% 0.135 108.0);
Tailwind
colors: {
  custom: {
    50: '#e4df92',
    500: '#d4d262',
    950: '#000000',
  },
}
SCSS
$custom: #d4d262;
$custom-light: #e4df92;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d262",
  "rgb": {
    "r": 212,
    "g": 210,
    "b": 98
  },
  "hsl": {
    "h": 58.947,
    "s": 57,
    "l": 60.784
  },
  "oklch": {
    "l": 0.84312,
    "c": 0.13457,
    "h": 108
  },
  "luminance": 0.60972
}

Semantic roles & 50–950 ramp

primary
#D4D262
secondary
#424399
accent
#24C521
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D4D262

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

Preview Lab → · Contrast checker → · Palette generator →

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