#D4D261#D4D261

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

Color values

HEX#D4D261
RGBrgb(212, 210, 97)
HSLhsl(59, 57%, 61%)
HSVhsv(59, 54%, 83%)
CMYKcmyk(0%, 0.9%, 54.2%, 16.9%)
CIE-LABlab(82.35, -14.07, 55.29)
CIE-LCHlch(82.35, 57.06, 104.27°)
OKLaboklab(84.3% -0.042 0.1288)
OKLCHoklch(84.3% 0.135 108.1)
XYZxyz(52.3571, 60.9547, 20.3144)
Luminance0.6095 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D261 #6163D4
analogous
#D49961 #D4D261 #9CD461
triadic
#D4D261 #61D4D2 #D261D4
tetradic
#D4D261 #61D499 #6163D4 #D4619C
square
#D4D261 #61D499 #6163D4 #D4619C
split-complementary
#D4D261 #619CD4 #9961D4
monochromatic
#939128 #C3C035 #D4D261 #E1E091 #EEEDC1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4D261#FFFFFF#000000##000000
##D4D2611.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)
#E1CB56
Deuteranopia (green-blind)
#E3CF67
Tritanopia (blue-blind)
#E1C6B9
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d4d261;
/* rgb */ color: rgb(212, 210, 97);
/* oklch */ color: oklch(84.3% 0.135 108.1);
Tailwind
colors: {
  custom: {
    50: '#e4df91',
    500: '#d4d261',
    950: '#000000',
  },
}
SCSS
$custom: #d4d261;
$custom-light: #e4df91;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d261",
  "rgb": {
    "r": 212,
    "g": 210,
    "b": 97
  },
  "hsl": {
    "h": 58.957,
    "s": 57.214,
    "l": 60.588
  },
  "oklch": {
    "l": 0.84301,
    "c": 0.13548,
    "h": 108.1
  },
  "luminance": 0.60953
}

Semantic roles & 50–950 ramp

primary
#D4D261
secondary
#414398
accent
#24C521
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D4D261

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

Preview Lab → · Contrast checker → · Palette generator →

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