#D2D85B#D2D85B

#D2D85B is a very light, vivid yellow. Relative luminance 0.636; OKLCH L 85.4% C 0.148 H 111.7°. Best body text is #000000 at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#D2D85B
RGBrgb(210, 216, 91)
HSLhsl(63, 62%, 60%)
HSVhsv(63, 58%, 85%)
CMYKcmyk(2.8%, 0%, 57.9%, 15.3%)
CIE-LABlab(83.74, -18.31, 59.48)
CIE-LCHlch(83.74, 62.24, 107.11°)
OKLaboklab(85.35% -0.0545 0.1371)
OKLCHoklch(85.35% 0.148 111.7)
XYZxyz(53.0239, 63.5699, 19.3725)
Luminance0.6357 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D85B #615BD8
analogous
#D89F5B #D2D85B #93D85B
triadic
#D2D85B #5BD2D8 #D85BD2
tetradic
#D2D85B #5BD89F #615BD8 #D85B93
square
#D2D85B #5BD89F #615BD8 #D85B93
split-complementary
#D2D85B #5B93D8 #9F5BD8
monochromatic
#909523 #BFC72F #D2D85B #E0E48C #EDF0BE

Accessibility & contrast

On white

1.53
#D2D85B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.71
#D2D85B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D85B
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D85B#FFFFFF#000000##000000
##D2D85B1.001.5313.7113.71
#FFFFFF1.531.0021.0021.00
#00000013.7121.001.001.00
##00000013.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF4D
Deuteranopia (green-blind)
#E8D262
Tritanopia (blue-blind)
#DFCCBD
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d2d85b;
/* rgb */ color: rgb(210, 216, 91);
/* oklch */ color: oklch(85.4% 0.148 111.7);
Tailwind
colors: {
  custom: {
    50: '#e2e38e',
    500: '#d2d85b',
    950: '#000000',
  },
}
SCSS
$custom: #d2d85b;
$custom-light: #e2e38e;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d85b",
  "rgb": {
    "r": 210,
    "g": 216,
    "b": 91
  },
  "hsl": {
    "h": 62.88,
    "s": 61.576,
    "l": 60.196
  },
  "oklch": {
    "l": 0.85351,
    "c": 0.14755,
    "h": 111.7
  },
  "luminance": 0.63569
}

Semantic roles & 50–950 ramp

primary
#D2D85B
secondary
#423D9A
accent
#1CC925
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D2D85B

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

Preview Lab → · Contrast checker → · Palette generator →

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