#D7DA3C#D7DA3C

#D7DA3C is a very light, vivid yellow. Relative luminance 0.649; OKLCH L 85.9% C 0.170 H 110.6°. Best body text is #000000 at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#D7DA3C
RGBrgb(215, 218, 60)
HSLhsl(61, 68%, 55%)
HSVhsv(61, 72%, 85%)
CMYKcmyk(1.4%, 0%, 72.5%, 14.5%)
CIE-LABlab(84.44, -19.04, 72.31)
CIE-LCHlch(84.44, 74.78, 104.75°)
OKLaboklab(85.93% -0.0599 0.1594)
OKLCHoklch(85.93% 0.17 110.6)
XYZxyz(53.9132, 64.9176, 13.9645)
Luminance0.6492 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7DA3C #3F3CDA
analogous
#DA8E3C #D7DA3C #88DA3C
triadic
#D7DA3C #3CD7DA #DA3CD7
tetradic
#D7DA3C #3CDA8E #3F3CDA #DA3C88
square
#D7DA3C #3CDA8E #3F3CDA #DA3C88
split-complementary
#D7DA3C #3C88DA #8E3CDA
monochromatic
#818319 #B3B623 #D7DA3C #E2E46F #ECEEA3

Accessibility & contrast

On white

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

On black

13.98
#D7DA3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7DA3C
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7DA3C#FFFFFF#000000##000000
##D7DA3C1.001.5013.9813.98
#FFFFFF1.501.0021.0021.00
#00000013.9821.001.001.00
##00000013.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD01B
Deuteranopia (green-blind)
#ECD549
Tritanopia (blue-blind)
#E6CCBC
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d7da3c;
/* rgb */ color: rgb(215, 218, 60);
/* oklch */ color: oklch(85.9% 0.170 110.6);
Tailwind
colors: {
  custom: {
    50: '#e7e57d',
    500: '#d7da3c',
    950: '#000000',
  },
}
SCSS
$custom: #d7da3c;
$custom-light: #e7e57d;
$custom-dark: #000000;
JSON
{
  "hex": "#d7da3c",
  "rgb": {
    "r": 215,
    "g": 218,
    "b": 60
  },
  "hsl": {
    "h": 61.139,
    "s": 68.103,
    "l": 54.51
  },
  "oklch": {
    "l": 0.85934,
    "c": 0.17029,
    "h": 110.6
  },
  "luminance": 0.64916
}

Semantic roles & 50–950 ramp

primary
#D7DA3C
secondary
#323189
accent
#3DEB40
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150A
muted
#85847D

Preview Lab

Preview with #D7DA3C

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

Preview Lab → · Contrast checker → · Palette generator →

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