#D7EA5F#D7EA5F

#D7EA5F is a very light, vivid yellow. Relative luminance 0.741; OKLCH L 89.6% C 0.163 H 116.4°. Best body text is #000000 at 15.82:1 contrast (WCAG AA passes).

Color values

HEX#D7EA5F
RGBrgb(215, 234, 95)
HSLhsl(68, 77%, 65%)
HSVhsv(68, 59%, 92%)
CMYKcmyk(8.1%, 0%, 59.4%, 8.2%)
CIE-LABlab(88.98, -24.74, 63.65)
CIE-LCHlch(88.98, 68.29, 111.24°)
OKLaboklab(89.65% -0.0725 0.1464)
OKLCHoklch(89.65% 0.163 116.4)
XYZxyz(59.5139, 74.1197, 21.9956)
Luminance0.7412 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7EA5F #725FEA
analogous
#EAB75F #D7EA5F #92EA5F
triadic
#D7EA5F #5FD7EA #EA5FD7
tetradic
#D7EA5F #5FEAB7 #725FEA #EA5F92
square
#D7EA5F #5FEAB7 #725FEA #EA5F92
split-complementary
#D7EA5F #5F92EA #B75FEA
monochromatic
#A1B718 #C9E329 #D7EA5F #E5F195 #F2F8CB

Accessibility & contrast

On white

1.33
#D7EA5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.82
#D7EA5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7EA5F
15.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7EA5F#FFFFFF#000000##000000
##D7EA5F1.001.3315.8215.82
#FFFFFF1.331.0021.0021.00
#00000015.8221.001.001.00
##00000015.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DF4F
Deuteranopia (green-blind)
#F7E068
Tritanopia (blue-blind)
#E3DECC
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #d7ea5f;
/* rgb */ color: rgb(215, 234, 95);
/* oklch */ color: oklch(89.6% 0.163 116.4);
Tailwind
colors: {
  custom: {
    50: '#e6f092',
    500: '#d7ea5f',
    950: '#000000',
  },
}
SCSS
$custom: #d7ea5f;
$custom-light: #e6f092;
$custom-dark: #000000;
JSON
{
  "hex": "#d7ea5f",
  "rgb": {
    "r": 215,
    "g": 234,
    "b": 95
  },
  "hsl": {
    "h": 68.201,
    "s": 76.796,
    "l": 64.51
  },
  "oklch": {
    "l": 0.89646,
    "c": 0.16333,
    "h": 116.4
  },
  "luminance": 0.74119
}

Semantic roles & 50–950 ramp

primary
#D7EA5F
secondary
#4837B6
accent
#0CD928
background
#FEFFFC
surface
#FDFEF4
border
#D5D6CE
text
#16160D
muted
#84857F

Preview Lab

Preview with #D7EA5F

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

Preview Lab → · Contrast checker → · Palette generator →

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