#D2D23F#D2D23F

#D2D23F is a very light, vivid yellow. Relative luminance 0.602; OKLCH L 83.8% C 0.162 H 109.4°. Best body text is #000000 at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#D2D23F
RGBrgb(210, 210, 63)
HSLhsl(60, 62%, 54%)
HSVhsv(60, 70%, 82%)
CMYKcmyk(0%, 0%, 70%, 17.6%)
CIE-LABlab(81.92, -17.05, 68.73)
CIE-LCHlch(81.92, 70.81, 103.93°)
OKLaboklab(83.83% -0.0538 0.1525)
OKLCHoklch(83.83% 0.162 109.4)
XYZxyz(50.5239, 60.1552, 13.6513)
Luminance0.6015 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D23F #3F3FD2
analogous
#D2883F #D2D23F #88D23F
triadic
#D2D23F #3FD2D2 #D23FD2
tetradic
#D2D23F #3FD288 #3F3FD2 #D23F88
square
#D2D23F #3FD288 #3F3FD2 #D23F88
split-complementary
#D2D23F #3F88D2 #883FD2
monochromatic
#7A7A1D #ACAC28 #D2D23F #DEDE71 #E9E9A2

Accessibility & contrast

On white

1.61
#D2D23F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.03
#D2D23F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D23F
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D23F#FFFFFF#000000##000000
##D2D23F1.001.6113.0313.03
#FFFFFF1.611.0021.0021.00
#00000013.0321.001.001.00
##00000013.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3C925
Deuteranopia (green-blind)
#E5CE4A
Tritanopia (blue-blind)
#E1C5B5
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d2d23f;
/* rgb */ color: rgb(210, 210, 63);
/* oklch */ color: oklch(83.8% 0.162 109.4);
Tailwind
colors: {
  custom: {
    50: '#e3df7d',
    500: '#d2d23f',
    950: '#000000',
  },
}
SCSS
$custom: #d2d23f;
$custom-light: #e3df7d;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d23f",
  "rgb": {
    "r": 210,
    "g": 210,
    "b": 63
  },
  "hsl": {
    "h": 60,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.8383,
    "c": 0.16172,
    "h": 109.4
  },
  "luminance": 0.60154
}

Semantic roles & 50–950 ramp

primary
#D2D23F
secondary
#333382
accent
#43E543
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #D2D23F

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

Preview Lab → · Contrast checker → · Palette generator →

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