#DFD18A#DFD18A

#DFD18A is a very light, moderate yellow. Relative luminance 0.631; OKLCH L 85.6% C 0.092 H 98.4°. Best body text is #000000 at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#DFD18A
RGBrgb(223, 209, 138)
HSLhsl(50, 57%, 71%)
HSVhsv(50, 38%, 87%)
CMYKcmyk(0%, 6.3%, 38.1%, 12.5%)
CIE-LABlab(83.51, -5.26, 36.98)
CIE-LCHlch(83.51, 37.35, 98.09°)
OKLaboklab(85.6% -0.0134 0.0909)
OKLCHoklch(85.6% 0.092 98.4)
XYZxyz(57.8204, 63.1256, 33.1785)
Luminance0.6312 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD18A #8A98DF
analogous
#DFA68A #DFD18A #C2DF8A
triadic
#DFD18A #8ADFD1 #D18ADF
tetradic
#DFD18A #8ADFA6 #8A98DF #DF8AC2
square
#DFD18A #8ADFA6 #8A98DF #DF8AC2
split-complementary
#DFD18A #8AC2DF #A68ADF
monochromatic
#BBA533 #D2BE5A #DFD18A #ECE4BA #F8F6E7

Accessibility & contrast

On white

1.54
#DFD18A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.62
#DFD18A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD18A
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD18A#FFFFFF#000000##000000
##DFD18A1.001.5413.6213.62
#FFFFFF1.541.0021.0021.00
#00000013.6221.001.001.00
##00000013.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECD85
Deuteranopia (green-blind)
#E2D28D
Tritanopia (blue-blind)
#EBC7BF
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #dfd18a;
/* rgb */ color: rgb(223, 209, 138);
/* oklch */ color: oklch(85.6% 0.092 98.4);
Tailwind
colors: {
  custom: {
    50: '#eadfad',
    500: '#dfd18a',
    950: '#000000',
  },
}
SCSS
$custom: #dfd18a;
$custom-light: #eadfad;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd18a",
  "rgb": {
    "r": 223,
    "g": 209,
    "b": 138
  },
  "hsl": {
    "h": 50.118,
    "s": 57.047,
    "l": 70.784
  },
  "oklch": {
    "l": 0.85602,
    "c": 0.09191,
    "h": 98.4
  },
  "luminance": 0.63124
}

Semantic roles & 50–950 ramp

primary
#DFD18A
secondary
#5766B7
accent
#3CC521
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DFD18A

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

Preview Lab → · Contrast checker → · Palette generator →

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