#D2D140#D2D140

#D2D140 is a very light, vivid yellow. Relative luminance 0.597; OKLCH L 83.6% C 0.160 H 109.0°. Best body text is #000000 at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#D2D140
RGBrgb(210, 209, 64)
HSLhsl(60, 62%, 54%)
HSVhsv(60, 70%, 82%)
CMYKcmyk(0%, 0.5%, 69.5%, 17.6%)
CIE-LABlab(81.66, -16.50, 68.12)
CIE-LCHlch(81.66, 70.09, 103.62°)
OKLaboklab(83.62% -0.0522 0.1514)
OKLCHoklch(83.62% 0.16 109)
XYZxyz(50.3060, 59.6743, 13.7178)
Luminance0.5967 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D140 #4041D2
analogous
#D28840 #D2D140 #8AD240
triadic
#D2D140 #40D2D1 #D140D2
tetradic
#D2D140 #40D288 #4041D2 #D2408A
square
#D2D140 #40D288 #4041D2 #D2408A
split-complementary
#D2D140 #408AD2 #8840D2
monochromatic
#7B7A1D #ACAB29 #D2D140 #DEDD72 #E9E9A3

Accessibility & contrast

On white

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

On black

12.93
#D2D140 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D140
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D140#FFFFFF#000000##000000
##D2D1401.001.6212.9312.93
#FFFFFF1.621.0021.0021.00
#00000012.9321.001.001.00
##00000012.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C828
Deuteranopia (green-blind)
#E4CD4B
Tritanopia (blue-blind)
#E1C4B5
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d2d140;
/* rgb */ color: rgb(210, 209, 64);
/* oklch */ color: oklch(83.6% 0.160 109.0);
Tailwind
colors: {
  custom: {
    50: '#e3de7e',
    500: '#d2d140',
    950: '#000000',
  },
}
SCSS
$custom: #d2d140;
$custom-light: #e3de7e;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d140",
  "rgb": {
    "r": 210,
    "g": 209,
    "b": 64
  },
  "hsl": {
    "h": 59.589,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.83623,
    "c": 0.16012,
    "h": 109
  },
  "luminance": 0.59673
}

Semantic roles & 50–950 ramp

primary
#D2D140
secondary
#343483
accent
#44E543
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #D2D140

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

Preview Lab → · Contrast checker → · Palette generator →

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