#D7DA52#D7DA52

#D7DA52 is a very light, vivid yellow. Relative luminance 0.652; OKLCH L 86.1% C 0.156 H 110.5°. Best body text is #000000 at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#D7DA52
RGBrgb(215, 218, 82)
HSLhsl(61, 65%, 59%)
HSVhsv(61, 62%, 85%)
CMYKcmyk(1.4%, 0%, 62.4%, 14.5%)
CIE-LABlab(84.59, -17.87, 64.30)
CIE-LCHlch(84.59, 66.73, 105.53°)
OKLaboklab(86.1% -0.0545 0.146)
OKLCHoklch(86.1% 0.156 110.5)
XYZxyz(54.6204, 65.2005, 17.6887)
Luminance0.6520 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7DA52 #5552DA
analogous
#DA9952 #D7DA52 #93DA52
triadic
#D7DA52 #52D7DA #DA52D7
tetradic
#D7DA52 #52DA99 #5552DA #DA5293
square
#D7DA52 #52DA99 #5552DA #DA5293
split-complementary
#D7DA52 #5293DA #9952DA
monochromatic
#90921F #C1C52A #D7DA52 #E3E584 #EEF0B7

Accessibility & contrast

On white

1.50
#D7DA52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.04
#D7DA52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7DA52
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7DA52#FFFFFF#000000##000000
##D7DA521.001.5014.0414.04
#FFFFFF1.501.0021.0021.00
#00000014.0421.001.001.00
##00000014.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD141
Deuteranopia (green-blind)
#EBD55B
Tritanopia (blue-blind)
#E5CDBE
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d7da52;
/* rgb */ color: rgb(215, 218, 82);
/* oklch */ color: oklch(86.1% 0.156 110.5);
Tailwind
colors: {
  custom: {
    50: '#e6e589',
    500: '#d7da52',
    950: '#000000',
  },
}
SCSS
$custom: #d7da52;
$custom-light: #e6e589;
$custom-dark: #000000;
JSON
{
  "hex": "#d7da52",
  "rgb": {
    "r": 215,
    "g": 218,
    "b": 82
  },
  "hsl": {
    "h": 61.324,
    "s": 64.762,
    "l": 58.824
  },
  "oklch": {
    "l": 0.86097,
    "c": 0.15585,
    "h": 110.5
  },
  "luminance": 0.65199
}

Semantic roles & 50–950 ramp

primary
#D7DA52
secondary
#3B3997
accent
#40E844
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D7DA52

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

Preview Lab → · Contrast checker → · Palette generator →

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