#DFD258#DFD258

#DFD258 is a very light, vivid yellow. Relative luminance 0.625; OKLCH L 85.1% C 0.142 H 103.2°. Best body text is #000000 at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#DFD258
RGBrgb(223, 210, 88)
HSLhsl(54, 68%, 61%)
HSVhsv(54, 61%, 87%)
CMYKcmyk(0%, 5.8%, 60.5%, 12.5%)
CIE-LABlab(83.17, -10.20, 60.45)
CIE-LCHlch(83.17, 61.30, 99.58°)
OKLaboklab(85.14% -0.0326 0.1385)
OKLCHoklch(85.14% 0.142 103.2)
XYZxyz(55.2415, 62.4878, 18.3821)
Luminance0.6249 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD258 #5865DF
analogous
#DF8E58 #DFD258 #A8DF58
triadic
#DFD258 #58DFD2 #D258DF
tetradic
#DFD258 #58DF8E #5865DF #DF58A8
square
#DFD258 #58DF8E #5865DF #DF58A8
split-complementary
#DFD258 #58A8DF #8E58DF
monochromatic
#9E921E #D2C128 #DFD258 #E9E08B #F3EEBF

Accessibility & contrast

On white

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

On black

13.50
#DFD258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD258
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD258#FFFFFF#000000##000000
##DFD2581.001.5613.5013.50
#FFFFFF1.561.0021.0021.00
#00000013.5021.001.001.00
##00000013.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CC4A
Deuteranopia (green-blind)
#E8D25F
Tritanopia (blue-blind)
#EFC5B8
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #dfd258;
/* rgb */ color: rgb(223, 210, 88);
/* oklch */ color: oklch(85.1% 0.142 103.2);
Tailwind
colors: {
  custom: {
    50: '#ecdf8c',
    500: '#dfd258',
    950: '#000000',
  },
}
SCSS
$custom: #dfd258;
$custom-light: #ecdf8c;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd258",
  "rgb": {
    "r": 223,
    "g": 210,
    "b": 88
  },
  "hsl": {
    "h": 54.222,
    "s": 67.839,
    "l": 60.98
  },
  "oklch": {
    "l": 0.85142,
    "c": 0.14228,
    "h": 103.2
  },
  "luminance": 0.62486
}

Semantic roles & 50–950 ramp

primary
#DFD258
secondary
#3A44A2
accent
#28D016
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DFD258

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

Preview Lab → · Contrast checker → · Palette generator →

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