#DFD37F#DFD37F

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

Color values

HEX#DFD37F
RGBrgb(223, 211, 127)
HSLhsl(53, 60%, 69%)
HSVhsv(53, 43%, 87%)
CMYKcmyk(0%, 5.4%, 43%, 12.5%)
CIE-LABlab(83.87, -7.44, 42.98)
CIE-LCHlch(83.87, 43.62, 99.83°)
OKLaboklab(85.83% -0.0206 0.104)
OKLCHoklch(85.83% 0.106 101.2)
XYZxyz(57.5577, 63.8105, 29.3593)
Luminance0.6381 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD37F #7F8BDF
analogous
#DFA37F #DFD37F #BBDF7F
triadic
#DFD37F #7FDFD3 #D37FDF
tetradic
#DFD37F #7FDFA3 #7F8BDF #DF7FBB
square
#DFD37F #7FDFA3 #7F8BDF #DF7FBB
split-complementary
#DFD37F #7FBBDF #A37FDF
monochromatic
#B6A52E #D3C24E #DFD37F #EBE4B0 #F7F5E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFD37F#FFFFFF#000000##000000
##DFD37F1.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)
#E1CE78
Deuteranopia (green-blind)
#E5D382
Tritanopia (blue-blind)
#ECC8BF
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #dfd37f;
/* rgb */ color: rgb(223, 211, 127);
/* oklch */ color: oklch(85.8% 0.106 101.2);
Tailwind
colors: {
  custom: {
    50: '#eae0a5',
    500: '#dfd37f',
    950: '#000000',
  },
}
SCSS
$custom: #dfd37f;
$custom-light: #eae0a5;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd37f",
  "rgb": {
    "r": 223,
    "g": 211,
    "b": 127
  },
  "hsl": {
    "h": 52.5,
    "s": 60,
    "l": 68.627
  },
  "oklch": {
    "l": 0.85834,
    "c": 0.10607,
    "h": 101.2
  },
  "luminance": 0.63809
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DFD37F

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

Preview Lab → · Contrast checker → · Palette generator →

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