#DFE231#DFE231

#DFE231 is a very light, vivid yellow. Relative luminance 0.703; OKLCH L 88.2% C 0.182 H 110.6°. Best body text is #000000 at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#DFE231
RGBrgb(223, 226, 49)
HSLhsl(61, 75%, 54%)
HSVhsv(61, 78%, 89%)
CMYKcmyk(1.3%, 0%, 78.3%, 11.4%)
CIE-LABlab(87.15, -20.05, 78.33)
CIE-LCHlch(87.15, 80.85, 104.36°)
OKLaboklab(88.23% -0.064 0.17)
OKLCHoklch(88.23% 0.182 110.6)
XYZxyz(58.1843, 70.3041, 13.4102)
Luminance0.7030 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFE231 #3431E2
analogous
#E28D31 #DFE231 #87E231
triadic
#DFE231 #31DFE2 #E231DF
tetradic
#DFE231 #31E28D #3431E2 #E23187
square
#DFE231 #31E28D #3431E2 #E23187
split-complementary
#DFE231 #3187E2 #8D31E2
monochromatic
#848613 #B9BB1A #DFE231 #E7EA67 #F0F19C

Accessibility & contrast

On white

1.39
#DFE231 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.06
#DFE231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFE231
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFE231#FFFFFF#000000##000000
##DFE2311.001.3915.0615.06
#FFFFFF1.391.0021.0021.00
#00000015.0621.001.001.00
##00000015.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4D800
Deuteranopia (green-blind)
#F6DD42
Tritanopia (blue-blind)
#EFD3C2
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #dfe231;
/* rgb */ color: rgb(223, 226, 49);
/* oklch */ color: oklch(88.2% 0.182 110.6);
Tailwind
colors: {
  custom: {
    50: '#edea79',
    500: '#dfe231',
    950: '#000000',
  },
}
SCSS
$custom: #dfe231;
$custom-light: #edea79;
$custom-dark: #000000;
JSON
{
  "hex": "#dfe231",
  "rgb": {
    "r": 223,
    "g": 226,
    "b": 49
  },
  "hsl": {
    "h": 61.017,
    "s": 75.319,
    "l": 53.922
  },
  "oklch": {
    "l": 0.88232,
    "c": 0.18164,
    "h": 110.6
  },
  "luminance": 0.70302
}

Semantic roles & 50–950 ramp

primary
#DFE231
secondary
#2D2B8C
accent
#36F239
background
#FFFEFB
surface
#FFFDF2
border
#D7D5CC
text
#17160A
muted
#85847D

Preview Lab

Preview with #DFE231

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

Preview Lab → · Contrast checker → · Palette generator →

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