#DFD254#DFD254

#DFD254 is a very light, vivid yellow. Relative luminance 0.624; OKLCH L 85.1% C 0.145 H 103.4°. Best body text is #000000 at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#DFD254
RGBrgb(223, 210, 84)
HSLhsl(54, 68%, 60%)
HSVhsv(54, 62%, 87%)
CMYKcmyk(0%, 5.8%, 62.3%, 12.5%)
CIE-LABlab(83.14, -10.46, 62.12)
CIE-LCHlch(83.14, 62.99, 99.56°)
OKLaboklab(85.1% -0.0338 0.1415)
OKLCHoklch(85.1% 0.145 103.4)
XYZxyz(55.0803, 62.4233, 17.5333)
Luminance0.6242 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD254 #5461DF
analogous
#DF8C54 #DFD254 #A7DF54
triadic
#DFD254 #54DFD2 #D254DF
tetradic
#DFD254 #54DF8C #5461DF #DF54A7
square
#DFD254 #54DF8C #5461DF #DF54A7
split-complementary
#DFD254 #54A7DF #8C54DF
monochromatic
#9C901D #CFBF27 #DFD254 #E9E088 #F2EDBB

Accessibility & contrast

On white

1.56
#DFD254 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.48
#DFD254 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD254
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD254#FFFFFF#000000##000000
##DFD2541.001.5613.4813.48
#FFFFFF1.561.0021.0021.00
#00000013.4821.001.001.00
##00000013.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CB45
Deuteranopia (green-blind)
#E8D25B
Tritanopia (blue-blind)
#EFC4B7
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #dfd254;
/* rgb */ color: rgb(223, 210, 84);
/* oklch */ color: oklch(85.1% 0.145 103.4);
Tailwind
colors: {
  custom: {
    50: '#ecdf89',
    500: '#dfd254',
    950: '#000000',
  },
}
SCSS
$custom: #dfd254;
$custom-light: #ecdf89;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd254",
  "rgb": {
    "r": 223,
    "g": 210,
    "b": 84
  },
  "hsl": {
    "h": 54.388,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.85104,
    "c": 0.14546,
    "h": 103.4
  },
  "luminance": 0.62421
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DFD254

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

Preview Lab → · Contrast checker → · Palette generator →

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