#D1D34F#D1D34F

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

Color values

HEX#D1D34F
RGBrgb(209, 211, 79)
HSLhsl(61, 60%, 57%)
HSVhsv(61, 63%, 83%)
CMYKcmyk(0.9%, 0%, 62.6%, 17.3%)
CIE-LABlab(82.22, -17.07, 62.88)
CIE-LCHlch(82.22, 65.15, 105.19°)
OKLaboklab(84.09% -0.0522 0.1427)
OKLCHoklch(84.09% 0.152 110.1)
XYZxyz(51.0016, 60.7097, 16.4271)
Luminance0.6071 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D34F #514FD3
analogous
#D3934F #D1D34F #8FD34F
triadic
#D1D34F #4FD1D3 #D34FD1
tetradic
#D1D34F #4FD393 #514FD3 #D34F8F
square
#D1D34F #4FD393 #514FD3 #D34F8F
split-complementary
#D1D34F #4F8FD3 #934FD3
monochromatic
#858622 #B5B72E #D1D34F #DEDF80 #EBEBB1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1D34F#FFFFFF#000000##000000
##D1D34F1.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)
#E3CA3E
Deuteranopia (green-blind)
#E4CE57
Tritanopia (blue-blind)
#DFC6B8
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d1d34f;
/* rgb */ color: rgb(209, 211, 79);
/* oklch */ color: oklch(84.1% 0.152 110.1);
Tailwind
colors: {
  custom: {
    50: '#e2e086',
    500: '#d1d34f',
    950: '#000000',
  },
}
SCSS
$custom: #d1d34f;
$custom-light: #e2e086;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d34f",
  "rgb": {
    "r": 209,
    "g": 211,
    "b": 79
  },
  "hsl": {
    "h": 60.909,
    "s": 60,
    "l": 56.863
  },
  "oklch": {
    "l": 0.84086,
    "c": 0.15198,
    "h": 110.1
  },
  "luminance": 0.60708
}

Semantic roles & 50–950 ramp

primary
#D1D34F
secondary
#3B398D
accent
#45E347
background
#FEFEFC
surface
#FDFCF3
border
#D5D5CD
text
#16150C
muted
#84847F

Preview Lab

Preview with #D1D34F

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

Preview Lab → · Contrast checker → · Palette generator →

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