#DFEB5A#DFEB5A

#DFEB5A is a very light, vivid yellow. Relative luminance 0.758; OKLCH L 90.4% C 0.166 H 113.7°. Best body text is #000000 at 16.17:1 contrast (WCAG AA passes).

Color values

HEX#DFEB5A
RGBrgb(223, 235, 90)
HSLhsl(65, 78%, 64%)
HSVhsv(65, 62%, 92%)
CMYKcmyk(5.1%, 0%, 61.7%, 7.8%)
CIE-LABlab(89.79, -22.38, 66.76)
CIE-LCHlch(89.79, 70.41, 108.53°)
OKLaboklab(90.42% -0.0668 0.1521)
OKLCHoklch(90.42% 0.166 113.7)
XYZxyz(61.9868, 75.8440, 21.0449)
Luminance0.7584 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFEB5A #665AEB
analogous
#EBAF5A #DFEB5A #96EB5A
triadic
#DFEB5A #5ADFEB #EB5ADF
tetradic
#DFEB5A #5AEBAF #665AEB #EB5A96
square
#DFEB5A #5AEBAF #665AEB #EB5A96
split-complementary
#DFEB5A #5A96EB #AF5AEB
monochromatic
#A8B516 #D4E423 #DFEB5A #EAF291 #F4F8C7

Accessibility & contrast

On white

1.30
#DFEB5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.17
#DFEB5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFEB5A
16.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFEB5A#FFFFFF#000000##000000
##DFEB5A1.001.3016.1716.17
#FFFFFF1.301.0021.0021.00
#00000016.1721.001.001.00
##00000016.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE048
Deuteranopia (green-blind)
#FBE363
Tritanopia (blue-blind)
#EDDECD
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #dfeb5a;
/* rgb */ color: rgb(223, 235, 90);
/* oklch */ color: oklch(90.4% 0.166 113.7);
Tailwind
colors: {
  custom: {
    50: '#ecf18f',
    500: '#dfeb5a',
    950: '#000000',
  },
}
SCSS
$custom: #dfeb5a;
$custom-light: #ecf18f;
$custom-dark: #000000;
JSON
{
  "hex": "#dfeb5a",
  "rgb": {
    "r": 223,
    "g": 235,
    "b": 90
  },
  "hsl": {
    "h": 64.966,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.90424,
    "c": 0.16617,
    "h": 113.7
  },
  "luminance": 0.75843
}

Semantic roles & 50–950 ramp

primary
#DFEB5A
secondary
#3F35B5
accent
#0BDB1C
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #DFEB5A

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

Preview Lab → · Contrast checker → · Palette generator →

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