#D2D258#D2D258

#D2D258 is a very light, vivid yellow. Relative luminance 0.605; OKLCH L 84.0% C 0.144 H 109.1°. Best body text is #000000 at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#D2D258
RGBrgb(210, 210, 88)
HSLhsl(60, 58%, 58%)
HSVhsv(60, 58%, 82%)
CMYKcmyk(0%, 0%, 58.1%, 17.6%)
CIE-LABlab(82.11, -15.56, 58.98)
CIE-LCHlch(82.11, 61.00, 104.78°)
OKLaboklab(84.04% -0.0471 0.1357)
OKLCHoklch(84.04% 0.144 109.1)
XYZxyz(51.3879, 60.5008, 18.2015)
Luminance0.6050 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D258 #5858D2
analogous
#D29558 #D2D258 #95D258
triadic
#D2D258 #58D2D2 #D258D2
tetradic
#D2D258 #58D295 #5858D2 #D25895
square
#D2D258 #58D295 #5858D2 #D25895
split-complementary
#D2D258 #5895D2 #9558D2
monochromatic
#8A8A25 #BBBB32 #D2D258 #DFDF88 #ECECB8

Accessibility & contrast

On white

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

On black

13.10
#D2D258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D258
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D258#FFFFFF#000000##000000
##D2D2581.001.6013.1013.10
#FFFFFF1.601.0021.0021.00
#00000013.1021.001.001.00
##00000013.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CA4A
Deuteranopia (green-blind)
#E3CE5F
Tritanopia (blue-blind)
#E0C6B8
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d2d258;
/* rgb */ color: rgb(210, 210, 88);
/* oklch */ color: oklch(84.0% 0.144 109.1);
Tailwind
colors: {
  custom: {
    50: '#e2df8c',
    500: '#d2d258',
    950: '#000000',
  },
}
SCSS
$custom: #d2d258;
$custom-light: #e2df8c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d258",
  "rgb": {
    "r": 210,
    "g": 210,
    "b": 88
  },
  "hsl": {
    "h": 60,
    "s": 57.547,
    "l": 58.431
  },
  "oklch": {
    "l": 0.8404,
    "c": 0.1436,
    "h": 109.1
  },
  "luminance": 0.60499
}

Semantic roles & 50–950 ramp

primary
#D2D258
secondary
#3E3E91
accent
#47E147
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2D258

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

Preview Lab → · Contrast checker → · Palette generator →

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