#DFD38A#DFD38A

#DFD38A is a very light, moderate yellow. Relative luminance 0.641; OKLCH L 86.0% C 0.094 H 100.1°. Best body text is #000000 at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#DFD38A
RGBrgb(223, 211, 138)
HSLhsl(52, 57%, 71%)
HSVhsv(52, 38%, 87%)
CMYKcmyk(0%, 5.4%, 38.1%, 12.5%)
CIE-LABlab(84.02, -6.28, 37.65)
CIE-LCHlch(84.02, 38.17, 99.47°)
OKLaboklab(86.01% -0.0164 0.0925)
OKLCHoklch(86.01% 0.094 100.1)
XYZxyz(58.3142, 64.1131, 33.3431)
Luminance0.6411 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD38A #8A96DF
analogous
#DFA88A #DFD38A #C0DF8A
triadic
#DFD38A #8ADFD3 #D38ADF
tetradic
#DFD38A #8ADFA8 #8A96DF #DF8AC0
square
#DFD38A #8ADFA8 #8A96DF #DF8AC0
split-complementary
#DFD38A #8AC0DF #A88ADF
monochromatic
#BBA833 #D2C15A #DFD38A #ECE5BA #F8F6E7

Accessibility & contrast

On white

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

On black

13.82
#DFD38A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD38A
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD38A#FFFFFF#000000##000000
##DFD38A1.001.5213.8213.82
#FFFFFF1.521.0021.0021.00
#00000013.8221.001.001.00
##00000013.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CF85
Deuteranopia (green-blind)
#E4D48D
Tritanopia (blue-blind)
#EBC9C1
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #dfd38a;
/* rgb */ color: rgb(223, 211, 138);
/* oklch */ color: oklch(86.0% 0.094 100.1);
Tailwind
colors: {
  custom: {
    50: '#eae0ad',
    500: '#dfd38a',
    950: '#000000',
  },
}
SCSS
$custom: #dfd38a;
$custom-light: #eae0ad;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd38a",
  "rgb": {
    "r": 223,
    "g": 211,
    "b": 138
  },
  "hsl": {
    "h": 51.529,
    "s": 57.047,
    "l": 70.784
  },
  "oklch": {
    "l": 0.86011,
    "c": 0.0939,
    "h": 100.1
  },
  "luminance": 0.64111
}

Semantic roles & 50–950 ramp

primary
#DFD38A
secondary
#5764B7
accent
#38C521
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DFD38A

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

Preview Lab → · Contrast checker → · Palette generator →

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