#D3DA42#D3DA42

#D3DA42 is a very light, vivid yellow. Relative luminance 0.644; OKLCH L 85.6% C 0.168 H 112.1°. Best body text is #000000 at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#D3DA42
RGBrgb(211, 218, 66)
HSLhsl(63, 67%, 56%)
HSVhsv(63, 70%, 85%)
CMYKcmyk(3.2%, 0%, 69.7%, 14.5%)
CIE-LABlab(84.17, -20.41, 69.88)
CIE-LCHlch(84.17, 72.80, 106.28°)
OKLaboklab(85.65% -0.063 0.1554)
OKLCHoklch(85.65% 0.168 112.1)
XYZxyz(52.9204, 64.3863, 14.7933)
Luminance0.6439 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3DA42 #4942DA
analogous
#DA9542 #D3DA42 #87DA42
triadic
#D3DA42 #42D3DA #DA42D3
tetradic
#D3DA42 #42DA95 #4942DA #DA4287
square
#D3DA42 #42DA95 #4942DA #DA4287
split-complementary
#D3DA42 #4287DA #9542DA
monochromatic
#82871A #B3BA24 #D3DA42 #DFE475 #EBEEA8

Accessibility & contrast

On white

1.51
#D3DA42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.88
#D3DA42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3DA42
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3DA42#FFFFFF#000000##000000
##D3DA421.001.5113.8813.88
#FFFFFF1.511.0021.0021.00
#00000013.8821.001.001.00
##00000013.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD028
Deuteranopia (green-blind)
#EBD44D
Tritanopia (blue-blind)
#E1CDBC
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d3da42;
/* rgb */ color: rgb(211, 218, 66);
/* oklch */ color: oklch(85.6% 0.168 112.1);
Tailwind
colors: {
  custom: {
    50: '#e4e580',
    500: '#d3da42',
    950: '#000000',
  },
}
SCSS
$custom: #d3da42;
$custom-light: #e4e580;
$custom-dark: #000000;
JSON
{
  "hex": "#d3da42",
  "rgb": {
    "r": 211,
    "g": 218,
    "b": 66
  },
  "hsl": {
    "h": 62.763,
    "s": 67.257,
    "l": 55.686
  },
  "oklch": {
    "l": 0.85649,
    "c": 0.16769,
    "h": 112.1
  },
  "luminance": 0.64385
}

Semantic roles & 50–950 ramp

primary
#D3DA42
secondary
#37338D
accent
#3EEA46
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D3DA42

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

Preview Lab → · Contrast checker → · Palette generator →

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