#DFD25F#DFD25F

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

Color values

HEX#DFD25F
RGBrgb(223, 210, 95)
HSLhsl(54, 67%, 62%)
HSVhsv(54, 57%, 87%)
CMYKcmyk(0%, 5.8%, 57.4%, 12.5%)
CIE-LABlab(83.24, -9.71, 57.44)
CIE-LCHlch(83.24, 58.26, 99.60°)
OKLaboklab(85.21% -0.0304 0.133)
OKLCHoklch(85.21% 0.136 102.9)
XYZxyz(55.5455, 62.6094, 19.9832)
Luminance0.6261 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD25F #5F6CDF
analogous
#DF925F #DFD25F #ACDF5F
triadic
#DFD25F #5FDFD2 #D25FDF
tetradic
#DFD25F #5FDF92 #5F6CDF #DF5FAC
square
#DFD25F #5FDF92 #5F6CDF #DF5FAC
split-complementary
#DFD25F #5FACDF #925FDF
monochromatic
#A39621 #D5C42C #DFD25F #E9E092 #F3EFC5

Accessibility & contrast

On white

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

On black

13.52
#DFD25F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD25F
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD25F#FFFFFF#000000##000000
##DFD25F1.001.5513.5213.52
#FFFFFF1.551.0021.0021.00
#00000013.5221.001.001.00
##00000013.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfd25f;
/* rgb */ color: rgb(223, 210, 95);
/* oklch */ color: oklch(85.2% 0.136 102.9);
Tailwind
colors: {
  custom: {
    50: '#ecdf90',
    500: '#dfd25f',
    950: '#000000',
  },
}
SCSS
$custom: #dfd25f;
$custom-light: #ecdf90;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd25f",
  "rgb": {
    "r": 223,
    "g": 210,
    "b": 95
  },
  "hsl": {
    "h": 53.906,
    "s": 66.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.85214,
    "c": 0.1364,
    "h": 102.9
  },
  "luminance": 0.62607
}

Semantic roles & 50–950 ramp

primary
#DFD25F
secondary
#3C47A6
accent
#2ACF17
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #DFD25F

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

Preview Lab → · Contrast checker → · Palette generator →

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