#D6E231#D6E231

#D6E231 is a very light, vivid yellow. Relative luminance 0.689; OKLCH L 87.5% C 0.184 H 113.7°. Best body text is #000000 at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#D6E231
RGBrgb(214, 226, 49)
HSLhsl(64, 75%, 54%)
HSVhsv(64, 78%, 89%)
CMYKcmyk(5.3%, 0%, 78.3%, 11.4%)
CIE-LABlab(86.46, -23.76, 77.46)
CIE-LCHlch(86.46, 81.03, 107.06°)
OKLaboklab(87.52% -0.0739 0.1685)
OKLCHoklch(87.52% 0.184 113.7)
XYZxyz(55.4841, 68.9118, 13.2836)
Luminance0.6891 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6E231 #3D31E2
analogous
#E29631 #D6E231 #7EE231
triadic
#D6E231 #31D6E2 #E231D6
tetradic
#D6E231 #31E296 #3D31E2 #E2317E
square
#D6E231 #31E296 #3D31E2 #E2317E
split-complementary
#D6E231 #317EE2 #9631E2
monochromatic
#7E8613 #B0BB1A #D6E231 #E1EA67 #EBF19C

Accessibility & contrast

On white

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

On black

14.78
#D6E231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6E231
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6E231#FFFFFF#000000##000000
##D6E2311.001.4214.7814.78
#FFFFFF1.421.0021.0021.00
#00000014.7821.001.001.00
##00000014.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d6e231;
/* rgb */ color: rgb(214, 226, 49);
/* oklch */ color: oklch(87.5% 0.184 113.7);
Tailwind
colors: {
  custom: {
    50: '#e7ea79',
    500: '#d6e231',
    950: '#000000',
  },
}
SCSS
$custom: #d6e231;
$custom-light: #e7ea79;
$custom-dark: #000000;
JSON
{
  "hex": "#d6e231",
  "rgb": {
    "r": 214,
    "g": 226,
    "b": 49
  },
  "hsl": {
    "h": 64.068,
    "s": 75.319,
    "l": 53.922
  },
  "oklch": {
    "l": 0.87515,
    "c": 0.18396,
    "h": 113.7
  },
  "luminance": 0.68911
}

Semantic roles & 50–950 ramp

primary
#D6E231
secondary
#322B8C
accent
#36F243
background
#FFFEFB
surface
#FEFDF2
border
#D6D5CC
text
#17160A
muted
#85847D

Preview Lab

Preview with #D6E231

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

Preview Lab → · Contrast checker → · Palette generator →

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