#DFD25C#DFD25C

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

Color values

HEX#DFD25C
RGBrgb(223, 210, 92)
HSLhsl(54, 67%, 62%)
HSVhsv(54, 59%, 87%)
CMYKcmyk(0%, 5.8%, 58.7%, 12.5%)
CIE-LABlab(83.21, -9.93, 58.74)
CIE-LCHlch(83.21, 59.58, 99.59°)
OKLaboklab(85.18% -0.0314 0.1354)
OKLCHoklch(85.18% 0.139 103.1)
XYZxyz(55.4117, 62.5559, 19.2788)
Luminance0.6255 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD25C #5C69DF
analogous
#DF915C #DFD25C #ABDF5C
triadic
#DFD25C #5CDFD2 #D25CDF
tetradic
#DFD25C #5CDF91 #5C69DF #DF5CAB
square
#DFD25C #5CDF91 #5C69DF #DF5CAB
split-complementary
#DFD25C #5CABDF #915CDF
monochromatic
#A19420 #D4C32A #DFD25C #E9E08F #F3EEC2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFD25C#FFFFFF#000000##000000
##DFD25C1.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)
#E3CC4F
Deuteranopia (green-blind)
#E7D262
Tritanopia (blue-blind)
#EEC5B8
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #dfd25c;
/* rgb */ color: rgb(223, 210, 92);
/* oklch */ color: oklch(85.2% 0.139 103.1);
Tailwind
colors: {
  custom: {
    50: '#ecdf8e',
    500: '#dfd25c',
    950: '#000000',
  },
}
SCSS
$custom: #dfd25c;
$custom-light: #ecdf8e;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd25c",
  "rgb": {
    "r": 223,
    "g": 210,
    "b": 92
  },
  "hsl": {
    "h": 54.046,
    "s": 67.179,
    "l": 61.765
  },
  "oklch": {
    "l": 0.85183,
    "c": 0.13897,
    "h": 103.1
  },
  "luminance": 0.62554
}

Semantic roles & 50–950 ramp

primary
#DFD25C
secondary
#3B46A4
accent
#29CF16
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #DFD25C

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

Preview Lab → · Contrast checker → · Palette generator →

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