#DFD37E#DFD37E

#DFD37E is a very light, moderate yellow. Relative luminance 0.638; OKLCH L 85.8% C 0.107 H 101.3°. Best body text is #000000 at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#DFD37E
RGBrgb(223, 211, 126)
HSLhsl(53, 60%, 68%)
HSVhsv(53, 43%, 87%)
CMYKcmyk(0%, 5.4%, 43.5%, 12.5%)
CIE-LABlab(83.85, -7.54, 43.46)
CIE-LCHlch(83.85, 44.11, 99.85°)
OKLaboklab(85.82% -0.021 0.1051)
OKLCHoklch(85.82% 0.107 101.3)
XYZxyz(57.4929, 63.7846, 29.0177)
Luminance0.6378 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD37E #7E8ADF
analogous
#DFA27E #DFD37E #BADF7E
triadic
#DFD37E #7EDFD3 #D37EDF
tetradic
#DFD37E #7EDFA2 #7E8ADF #DF7EBA
square
#DFD37E #7EDFA2 #7E8ADF #DF7EBA
split-complementary
#DFD37E #7EBADF #A27EDF
monochromatic
#B6A52D #D3C24D #DFD37E #EBE4AF #F7F4E0

Accessibility & contrast

On white

1.53
#DFD37E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.76
#DFD37E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD37E
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD37E#FFFFFF#000000##000000
##DFD37E1.001.5313.7613.76
#FFFFFF1.531.0021.0021.00
#00000013.7621.001.001.00
##00000013.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CE77
Deuteranopia (green-blind)
#E5D382
Tritanopia (blue-blind)
#ECC8BE
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #dfd37e;
/* rgb */ color: rgb(223, 211, 126);
/* oklch */ color: oklch(85.8% 0.107 101.3);
Tailwind
colors: {
  custom: {
    50: '#eae0a5',
    500: '#dfd37e',
    950: '#000000',
  },
}
SCSS
$custom: #dfd37e;
$custom-light: #eae0a5;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd37e",
  "rgb": {
    "r": 223,
    "g": 211,
    "b": 126
  },
  "hsl": {
    "h": 52.577,
    "s": 60.248,
    "l": 68.431
  },
  "oklch": {
    "l": 0.85819,
    "c": 0.10714,
    "h": 101.3
  },
  "luminance": 0.63783
}

Semantic roles & 50–950 ramp

primary
#DFD37E
secondary
#4B58B6
accent
#33C81E
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16150F
muted
#858480

Preview Lab

Preview with #DFD37E

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

Preview Lab → · Contrast checker → · Palette generator →

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