#DFD58A#DFD58A

#DFD58A is a very light, moderate yellow. Relative luminance 0.651; OKLCH L 86.4% C 0.096 H 101.6°. Best body text is #000000 at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#DFD58A
RGBrgb(223, 213, 138)
HSLhsl(53, 57%, 71%)
HSVhsv(53, 38%, 87%)
CMYKcmyk(0%, 4.5%, 38.1%, 12.5%)
CIE-LABlab(84.54, -7.30, 38.32)
CIE-LCHlch(84.54, 39.01, 100.78°)
OKLaboklab(86.42% -0.0193 0.094)
OKLCHoklch(86.42% 0.096 101.6)
XYZxyz(58.8141, 65.1130, 33.5097)
Luminance0.6511 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD58A #8A94DF
analogous
#DFAA8A #DFD58A #BEDF8A
triadic
#DFD58A #8ADFD5 #D58ADF
tetradic
#DFD58A #8ADFAA #8A94DF #DF8ABE
square
#DFD58A #8ADFAA #8A94DF #DF8ABE
split-complementary
#DFD58A #8ABEDF #AA8ADF
monochromatic
#BBAB33 #D2C45A #DFD58A #ECE6BA #F8F6E7

Accessibility & contrast

On white

1.50
#DFD58A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.02
#DFD58A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD58A
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD58A#FFFFFF#000000##000000
##DFD58A1.001.5014.0214.02
#FFFFFF1.501.0021.0021.00
#00000014.0221.001.001.00
##00000014.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2D084
Deuteranopia (green-blind)
#E5D58D
Tritanopia (blue-blind)
#EBCBC2
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #dfd58a;
/* rgb */ color: rgb(223, 213, 138);
/* oklch */ color: oklch(86.4% 0.096 101.6);
Tailwind
colors: {
  custom: {
    50: '#eae1ad',
    500: '#dfd58a',
    950: '#000000',
  },
}
SCSS
$custom: #dfd58a;
$custom-light: #eae1ad;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd58a",
  "rgb": {
    "r": 223,
    "g": 213,
    "b": 138
  },
  "hsl": {
    "h": 52.941,
    "s": 57.047,
    "l": 70.784
  },
  "oklch": {
    "l": 0.8642,
    "c": 0.09597,
    "h": 101.6
  },
  "luminance": 0.65111
}

Semantic roles & 50–950 ramp

primary
#DFD58A
secondary
#5762B7
accent
#34C521
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DFD58A

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

Preview Lab → · Contrast checker → · Palette generator →

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