#D3D140#D3D140

#D3D140 is a very light, vivid yellow. Relative luminance 0.598; OKLCH L 83.7% C 0.160 H 108.6°. Best body text is #000000 at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#D3D140
RGBrgb(211, 209, 64)
HSLhsl(59, 63%, 54%)
HSVhsv(59, 70%, 83%)
CMYKcmyk(0%, 0.9%, 69.7%, 17.3%)
CIE-LABlab(81.74, -16.08, 68.22)
CIE-LCHlch(81.74, 70.09, 103.27°)
OKLaboklab(83.71% -0.0511 0.1516)
OKLCHoklch(83.71% 0.16 108.6)
XYZxyz(50.5917, 59.8216, 13.7312)
Luminance0.5982 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3D140 #4042D3
analogous
#D38840 #D3D140 #8CD340
triadic
#D3D140 #40D3D1 #D140D3
tetradic
#D3D140 #40D388 #4042D3 #D3408C
square
#D3D140 #40D388 #4042D3 #D3408C
split-complementary
#D3D140 #408CD3 #8840D3
monochromatic
#7C7B1D #AEAC28 #D3D140 #DEDD72 #EAE9A3

Accessibility & contrast

On white

1.62
#D3D140 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.96
#D3D140 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3D140
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3D140#FFFFFF#000000##000000
##D3D1401.001.6212.9612.96
#FFFFFF1.621.0021.0021.00
#00000012.9621.001.001.00
##00000012.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C927
Deuteranopia (green-blind)
#E4CD4A
Tritanopia (blue-blind)
#E2C4B5
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d3d140;
/* rgb */ color: rgb(211, 209, 64);
/* oklch */ color: oklch(83.7% 0.160 108.6);
Tailwind
colors: {
  custom: {
    50: '#e4de7e',
    500: '#d3d140',
    950: '#000000',
  },
}
SCSS
$custom: #d3d140;
$custom-light: #e4de7e;
$custom-dark: #000000;
JSON
{
  "hex": "#d3d140",
  "rgb": {
    "r": 211,
    "g": 209,
    "b": 64
  },
  "hsl": {
    "h": 59.184,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.83707,
    "c": 0.15994,
    "h": 108.6
  },
  "luminance": 0.5982
}

Semantic roles & 50–950 ramp

primary
#D3D140
secondary
#333584
accent
#44E642
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150A
muted
#85847D

Preview Lab

Preview with #D3D140

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

Preview Lab → · Contrast checker → · Palette generator →

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