#D7E74B#D7E74B

#D7E74B is a very light, vivid yellow. Relative luminance 0.721; OKLCH L 88.8% C 0.175 H 115.1°. Best body text is #000000 at 15.42:1 contrast (WCAG AA passes).

Color values

HEX#D7E74B
RGBrgb(215, 231, 75)
HSLhsl(66, 76%, 60%)
HSVhsv(66, 68%, 91%)
CMYKcmyk(6.9%, 0%, 67.5%, 9.4%)
CIE-LABlab(88.02, -24.58, 70.55)
CIE-LCHlch(88.02, 74.71, 109.21°)
OKLaboklab(88.83% -0.074 0.1582)
OKLCHoklch(88.83% 0.175 115.1)
XYZxyz(57.8717, 72.1079, 17.5248)
Luminance0.7211 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7E74B #5B4BE7
analogous
#E7A94B #D7E74B #89E74B
triadic
#D7E74B #4BD7E7 #E74BD7
tetradic
#D7E74B #4BE7A9 #5B4BE7 #E74B89
square
#D7E74B #4BE7A9 #5B4BE7 #E74B89
split-complementary
#D7E74B #4B89E7 #A94BE7
monochromatic
#94A216 #C5D81D #D7E74B #E3EE81 #EFF5B7

Accessibility & contrast

On white

1.36
#D7E74B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.42
#D7E74B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7E74B
15.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7E74B#FFFFFF#000000##000000
##D7E74B1.001.3615.4215.42
#FFFFFF1.361.0021.0021.00
#00000015.4221.001.001.00
##00000015.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DC33
Deuteranopia (green-blind)
#F6DE57
Tritanopia (blue-blind)
#E4DAC8
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #d7e74b;
/* rgb */ color: rgb(215, 231, 75);
/* oklch */ color: oklch(88.8% 0.175 115.1);
Tailwind
colors: {
  custom: {
    50: '#e7ee86',
    500: '#d7e74b',
    950: '#000000',
  },
}
SCSS
$custom: #d7e74b;
$custom-light: #e7ee86;
$custom-dark: #000000;
JSON
{
  "hex": "#d7e74b",
  "rgb": {
    "r": 215,
    "g": 231,
    "b": 75
  },
  "hsl": {
    "h": 66.154,
    "s": 76.471,
    "l": 60
  },
  "oklch": {
    "l": 0.88829,
    "c": 0.17461,
    "h": 115.1
  },
  "luminance": 0.72107
}

Semantic roles & 50–950 ramp

primary
#D7E74B
secondary
#3E32A4
accent
#35F348
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16160C
muted
#85857F

Preview Lab

Preview with #D7E74B

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

Preview Lab → · Contrast checker → · Palette generator →

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