#DFD25A#DFD25A

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

Color values

HEX#DFD25A
RGBrgb(223, 210, 90)
HSLhsl(54, 68%, 61%)
HSVhsv(54, 60%, 87%)
CMYKcmyk(0%, 5.8%, 59.6%, 12.5%)
CIE-LABlab(83.19, -10.07, 59.60)
CIE-LCHlch(83.19, 60.44, 99.59°)
OKLaboklab(85.16% -0.032 0.1369)
OKLCHoklch(85.16% 0.141 103.1)
XYZxyz(55.3255, 62.5214, 18.8244)
Luminance0.6252 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD25A #5A67DF
analogous
#DF905A #DFD25A #AADF5A
triadic
#DFD25A #5ADFD2 #D25ADF
tetradic
#DFD25A #5ADF90 #5A67DF #DF5AAA
square
#DFD25A #5ADF90 #5A67DF #DF5AAA
split-complementary
#DFD25A #5AAADF #905ADF
monochromatic
#A0931F #D3C229 #DFD25A #E9E08D #F3EEC1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFD25A#FFFFFF#000000##000000
##DFD25A1.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)
#E3CC4D
Deuteranopia (green-blind)
#E7D260
Tritanopia (blue-blind)
#EEC5B8
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #dfd25a;
/* rgb */ color: rgb(223, 210, 90);
/* oklch */ color: oklch(85.2% 0.141 103.1);
Tailwind
colors: {
  custom: {
    50: '#ecdf8d',
    500: '#dfd25a',
    950: '#000000',
  },
}
SCSS
$custom: #dfd25a;
$custom-light: #ecdf8d;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd25a",
  "rgb": {
    "r": 223,
    "g": 210,
    "b": 90
  },
  "hsl": {
    "h": 54.135,
    "s": 67.513,
    "l": 61.373
  },
  "oklch": {
    "l": 0.85162,
    "c": 0.14064,
    "h": 103.1
  },
  "luminance": 0.62519
}

Semantic roles & 50–950 ramp

primary
#DFD25A
secondary
#3A45A3
accent
#28CF16
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DFD25A

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

Preview Lab → · Contrast checker → · Palette generator →

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