#DFEA7B#DFEA7B

#DFEA7B is a very light, vivid yellow. Relative luminance 0.760; OKLCH L 90.6% C 0.136 H 113.8°. Best body text is #000000 at 16.19:1 contrast (WCAG AA passes).

Color values

HEX#DFEA7B
RGBrgb(223, 234, 123)
HSLhsl(66, 73%, 70%)
HSVhsv(66, 47%, 92%)
CMYKcmyk(4.7%, 0%, 47.4%, 8.2%)
CIE-LABlab(89.84, -19.28, 52.26)
CIE-LCHlch(89.84, 55.71, 110.25°)
OKLaboklab(90.57% -0.0548 0.1244)
OKLCHoklch(90.57% 0.136 113.8)
XYZxyz(63.4304, 75.9646, 30.0562)
Luminance0.7596 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFEA7B #867BEA
analogous
#EABE7B #DFEA7B #A7EA7B
triadic
#DFEA7B #7BDFEA #EA7BDF
tetradic
#DFEA7B #7BEABE #867BEA #EA7BA7
square
#DFEA7B #7BEABE #867BEA #EA7BA7
split-complementary
#DFEA7B #7BA7EA #BE7BEA
monochromatic
#BACA20 #D2E246 #DFEA7B #ECF2B0 #F9FBE5

Accessibility & contrast

On white

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

On black

16.19
#DFEA7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFEA7B
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFEA7B#FFFFFF#000000##000000
##DFEA7B1.001.3016.1916.19
#FFFFFF1.301.0021.0021.00
#00000016.1921.001.001.00
##00000016.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E171
Deuteranopia (green-blind)
#F7E381
Tritanopia (blue-blind)
#EBDFD0
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #dfea7b;
/* rgb */ color: rgb(223, 234, 123);
/* oklch */ color: oklch(90.6% 0.136 113.8);
Tailwind
colors: {
  custom: {
    50: '#ebf0a3',
    500: '#dfea7b',
    950: '#000000',
  },
}
SCSS
$custom: #dfea7b;
$custom-light: #ebf0a3;
$custom-dark: #000000;
JSON
{
  "hex": "#dfea7b",
  "rgb": {
    "r": 223,
    "g": 234,
    "b": 123
  },
  "hsl": {
    "h": 65.946,
    "s": 72.549,
    "l": 70
  },
  "oklch": {
    "l": 0.90573,
    "c": 0.13599,
    "h": 113.8
  },
  "luminance": 0.75964
}

Semantic roles & 50–950 ramp

primary
#DFEA7B
secondary
#5346C3
accent
#11D524
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#16160F
muted
#858580

Preview Lab

Preview with #DFEA7B

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

Preview Lab → · Contrast checker → · Palette generator →

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