#DFD25B#DFD25B

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

Color values

HEX#DFD25B
RGBrgb(223, 210, 91)
HSLhsl(54, 67%, 62%)
HSVhsv(54, 59%, 87%)
CMYKcmyk(0%, 5.8%, 59.2%, 12.5%)
CIE-LABlab(83.20, -10.00, 59.17)
CIE-LCHlch(83.20, 60.01, 99.59°)
OKLaboklab(85.17% -0.0317 0.1362)
OKLCHoklch(85.17% 0.14 103.1)
XYZxyz(55.3683, 62.5385, 19.0501)
Luminance0.6254 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD25B #5B68DF
analogous
#DF905B #DFD25B #AADF5B
triadic
#DFD25B #5BDFD2 #D25BDF
tetradic
#DFD25B #5BDF90 #5B68DF #DF5BAA
square
#DFD25B #5BDF90 #5B68DF #DF5BAA
split-complementary
#DFD25B #5BAADF #905BDF
monochromatic
#A0941F #D4C329 #DFD25B #E9E08E #F3EEC1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFD25B#FFFFFF#000000##000000
##DFD25B1.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)
#E3CC4E
Deuteranopia (green-blind)
#E7D261
Tritanopia (blue-blind)
#EEC5B8
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #dfd25b;
/* rgb */ color: rgb(223, 210, 91);
/* oklch */ color: oklch(85.2% 0.140 103.1);
Tailwind
colors: {
  custom: {
    50: '#ecdf8e',
    500: '#dfd25b',
    950: '#000000',
  },
}
SCSS
$custom: #dfd25b;
$custom-light: #ecdf8e;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd25b",
  "rgb": {
    "r": 223,
    "g": 210,
    "b": 91
  },
  "hsl": {
    "h": 54.091,
    "s": 67.347,
    "l": 61.569
  },
  "oklch": {
    "l": 0.85172,
    "c": 0.13981,
    "h": 103.1
  },
  "luminance": 0.62536
}

Semantic roles & 50–950 ramp

primary
#DFD25B
secondary
#3B45A3
accent
#28CF16
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #DFD25B

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

Preview Lab → · Contrast checker → · Palette generator →

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