#DFD25D#DFD25D

#DFD25D is a very light, vivid yellow. Relative luminance 0.626; OKLCH L 85.2% C 0.138 H 103.0°. Best body text is #000000 at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#DFD25D
RGBrgb(223, 210, 93)
HSLhsl(54, 67%, 62%)
HSVhsv(54, 58%, 87%)
CMYKcmyk(0%, 5.8%, 58.3%, 12.5%)
CIE-LABlab(83.22, -9.86, 58.31)
CIE-LCHlch(83.22, 59.14, 99.60°)
OKLaboklab(85.19% -0.0311 0.1346)
OKLCHoklch(85.19% 0.138 103)
XYZxyz(55.4557, 62.5735, 19.5105)
Luminance0.6257 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD25D #5D6ADF
analogous
#DF915D #DFD25D #ABDF5D
triadic
#DFD25D #5DDFD2 #D25DDF
tetradic
#DFD25D #5DDF91 #5D6ADF #DF5DAB
square
#DFD25D #5DDF91 #5D6ADF #DF5DAB
split-complementary
#DFD25D #5DABDF #915DDF
monochromatic
#A29520 #D5C42A #DFD25D #E9E090 #F3EEC3

Accessibility & contrast

On white

1.55
#DFD25D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.51
#DFD25D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD25D
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD25D#FFFFFF#000000##000000
##DFD25D1.001.5513.5113.51
#FFFFFF1.551.0021.0021.00
#00000013.5121.001.001.00
##00000013.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CC51
Deuteranopia (green-blind)
#E7D263
Tritanopia (blue-blind)
#EEC5B9
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #dfd25d;
/* rgb */ color: rgb(223, 210, 93);
/* oklch */ color: oklch(85.2% 0.138 103.0);
Tailwind
colors: {
  custom: {
    50: '#ecdf8f',
    500: '#dfd25d',
    950: '#000000',
  },
}
SCSS
$custom: #dfd25d;
$custom-light: #ecdf8f;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd25d",
  "rgb": {
    "r": 223,
    "g": 210,
    "b": 93
  },
  "hsl": {
    "h": 54,
    "s": 67.01,
    "l": 61.961
  },
  "oklch": {
    "l": 0.85193,
    "c": 0.13812,
    "h": 103
  },
  "luminance": 0.62571
}

Semantic roles & 50–950 ramp

primary
#DFD25D
secondary
#3C46A5
accent
#29CF17
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #DFD25D

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

Preview Lab → · Contrast checker → · Palette generator →

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