#D7E231#D7E231

#D7E231 is a very light, vivid yellow. Relative luminance 0.691; OKLCH L 87.6% C 0.184 H 113.3°. Best body text is #000000 at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#D7E231
RGBrgb(215, 226, 49)
HSLhsl(64, 75%, 54%)
HSVhsv(64, 78%, 89%)
CMYKcmyk(4.9%, 0%, 78.3%, 11.4%)
CIE-LABlab(86.54, -23.35, 77.56)
CIE-LCHlch(86.54, 81.00, 106.76°)
OKLaboklab(87.59% -0.0728 0.1686)
OKLCHoklch(87.59% 0.184 113.3)
XYZxyz(55.7769, 69.0628, 13.2974)
Luminance0.6906 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7E231 #3C31E2
analogous
#E29531 #D7E231 #7FE231
triadic
#D7E231 #31D7E2 #E231D7
tetradic
#D7E231 #31E295 #3C31E2 #E2317F
square
#D7E231 #31E295 #3C31E2 #E2317F
split-complementary
#D7E231 #317FE2 #9531E2
monochromatic
#7F8613 #B1BB1A #D7E231 #E1EA67 #ECF19C

Accessibility & contrast

On white

1.42
#D7E231 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.81
#D7E231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7E231
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7E231#FFFFFF#000000##000000
##D7E2311.001.4214.8114.81
#FFFFFF1.421.0021.0021.00
#00000014.8121.001.001.00
##00000014.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3D700
Deuteranopia (green-blind)
#F3DA42
Tritanopia (blue-blind)
#E6D4C2
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #d7e231;
/* rgb */ color: rgb(215, 226, 49);
/* oklch */ color: oklch(87.6% 0.184 113.3);
Tailwind
colors: {
  custom: {
    50: '#e8ea79',
    500: '#d7e231',
    950: '#000000',
  },
}
SCSS
$custom: #d7e231;
$custom-light: #e8ea79;
$custom-dark: #000000;
JSON
{
  "hex": "#d7e231",
  "rgb": {
    "r": 215,
    "g": 226,
    "b": 49
  },
  "hsl": {
    "h": 63.729,
    "s": 75.319,
    "l": 53.922
  },
  "oklch": {
    "l": 0.87593,
    "c": 0.18367,
    "h": 113.3
  },
  "luminance": 0.69062
}

Semantic roles & 50–950 ramp

primary
#D7E231
secondary
#312B8C
accent
#36F242
background
#FFFEFB
surface
#FEFDF2
border
#D6D5CC
text
#17160A
muted
#85847D

Preview Lab

Preview with #D7E231

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

Preview Lab → · Contrast checker → · Palette generator →

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