#DFD154#DFD154

#DFD154 is a very light, vivid yellow. Relative luminance 0.619; OKLCH L 84.9% C 0.145 H 102.9°. Best body text is #000000 at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#DFD154
RGBrgb(223, 209, 84)
HSLhsl(54, 68%, 60%)
HSVhsv(54, 62%, 87%)
CMYKcmyk(0%, 6.3%, 62.3%, 12.5%)
CIE-LABlab(82.88, -9.96, 61.84)
CIE-LCHlch(82.88, 62.63, 99.15°)
OKLaboklab(84.9% -0.0323 0.1409)
OKLCHoklch(84.9% 0.145 102.9)
XYZxyz(54.8342, 61.9311, 17.4513)
Luminance0.6193 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD154 #5462DF
analogous
#DF8C54 #DFD154 #A7DF54
triadic
#DFD154 #54DFD1 #D154DF
tetradic
#DFD154 #54DF8C #5462DF #DF54A7
square
#DFD154 #54DF8C #5462DF #DF54A7
split-complementary
#DFD154 #54A7DF #8C54DF
monochromatic
#9C8F1D #CFBE27 #DFD154 #E9DF88 #F2EDBB

Accessibility & contrast

On white

1.57
#DFD154 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.39
#DFD154 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD154
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD154#FFFFFF#000000##000000
##DFD1541.001.5713.3913.39
#FFFFFF1.571.0021.0021.00
#00000013.3921.001.001.00
##00000013.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB45
Deuteranopia (green-blind)
#E7D15B
Tritanopia (blue-blind)
#EFC3B7
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #dfd154;
/* rgb */ color: rgb(223, 209, 84);
/* oklch */ color: oklch(84.9% 0.145 102.9);
Tailwind
colors: {
  custom: {
    50: '#ecde89',
    500: '#dfd154',
    950: '#000000',
  },
}
SCSS
$custom: #dfd154;
$custom-light: #ecde89;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd154",
  "rgb": {
    "r": 223,
    "g": 209,
    "b": 84
  },
  "hsl": {
    "h": 53.957,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.84897,
    "c": 0.14455,
    "h": 102.9
  },
  "luminance": 0.61929
}

Semantic roles & 50–950 ramp

primary
#DFD154
secondary
#38429F
accent
#28D015
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DFD154

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

Preview Lab → · Contrast checker → · Palette generator →

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