#DFD38F#DFD38F

#DFD38F is a very light, moderate yellow. Relative luminance 0.643; OKLCH L 86.1% C 0.088 H 99.4°. Best body text is #000000 at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#DFD38F
RGBrgb(223, 211, 143)
HSLhsl(51, 56%, 72%)
HSVhsv(51, 36%, 87%)
CMYKcmyk(0%, 5.4%, 35.9%, 12.5%)
CIE-LABlab(84.10, -5.71, 35.20)
CIE-LCHlch(84.10, 35.66, 99.22°)
OKLaboklab(86.1% -0.0144 0.087)
OKLCHoklch(86.1% 0.088 99.4)
XYZxyz(58.6845, 64.2613, 35.2936)
Luminance0.6426 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD38F #8F9BDF
analogous
#DFAB8F #DFD38F #C3DF8F
triadic
#DFD38F #8FDFD3 #D38FDF
tetradic
#DFD38F #8FDFAB #8F9BDF #DF8FC3
square
#DFD38F #8FDFAB #8F9BDF #DF8FC3
split-complementary
#DFD38F #8FC3DF #AB8FDF
monochromatic
#BDA936 #D1C05F #DFD38F #EDE6BF #F8F6E7

Accessibility & contrast

On white

1.52
#DFD38F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.85
#DFD38F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD38F
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD38F#FFFFFF#000000##000000
##DFD38F1.001.5213.8513.85
#FFFFFF1.521.0021.0021.00
#00000013.8521.001.001.00
##00000013.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CF8A
Deuteranopia (green-blind)
#E3D492
Tritanopia (blue-blind)
#EBCAC2
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #dfd38f;
/* rgb */ color: rgb(223, 211, 143);
/* oklch */ color: oklch(86.1% 0.088 99.4);
Tailwind
colors: {
  custom: {
    50: '#eae0b0',
    500: '#dfd38f',
    950: '#000000',
  },
}
SCSS
$custom: #dfd38f;
$custom-light: #eae0b0;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd38f",
  "rgb": {
    "r": 223,
    "g": 211,
    "b": 143
  },
  "hsl": {
    "h": 51,
    "s": 55.556,
    "l": 71.765
  },
  "oklch": {
    "l": 0.86097,
    "c": 0.08818,
    "h": 99.4
  },
  "luminance": 0.6426
}

Semantic roles & 50–950 ramp

primary
#DFD38F
secondary
#5B69B7
accent
#3BC322
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DFD38F

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

Preview Lab → · Contrast checker → · Palette generator →

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