#DFD140#DFD140

#DFD140 is a very light, vivid yellow. Relative luminance 0.617; OKLCH L 84.7% C 0.158 H 103.7°. Best body text is #000000 at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#DFD140
RGBrgb(223, 209, 64)
HSLhsl(55, 71%, 56%)
HSVhsv(55, 71%, 87%)
CMYKcmyk(0%, 6.3%, 71.3%, 12.5%)
CIE-LABlab(82.73, -11.05, 69.53)
CIE-LCHlch(82.73, 70.40, 99.03°)
OKLaboklab(84.74% -0.0375 0.1539)
OKLCHoklch(84.74% 0.158 103.7)
XYZxyz(54.1596, 61.6613, 13.8985)
Luminance0.6166 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD140 #404EDF
analogous
#DF8240 #DFD140 #9EDF40
triadic
#DFD140 #40DFD1 #D140DF
tetradic
#DFD140 #40DF82 #404EDF #DF409E
square
#DFD140 #40DF82 #404EDF #DF409E
split-complementary
#DFD140 #409EDF #8240DF
monochromatic
#8D8318 #C1B320 #DFD140 #E8DE74 #F1EAA9

Accessibility & contrast

On white

1.58
#DFD140 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.33
#DFD140 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD140
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD140#FFFFFF#000000##000000
##DFD1401.001.5813.3313.33
#FFFFFF1.581.0021.0021.00
#00000013.3321.001.001.00
##00000013.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CA27
Deuteranopia (green-blind)
#E8D14A
Tritanopia (blue-blind)
#F0C3B5
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #dfd140;
/* rgb */ color: rgb(223, 209, 64);
/* oklch */ color: oklch(84.7% 0.158 103.7);
Tailwind
colors: {
  custom: {
    50: '#edde7e',
    500: '#dfd140',
    950: '#000000',
  },
}
SCSS
$custom: #dfd140;
$custom-light: #edde7e;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd140",
  "rgb": {
    "r": 223,
    "g": 209,
    "b": 64
  },
  "hsl": {
    "h": 54.717,
    "s": 71.3,
    "l": 56.275
  },
  "oklch": {
    "l": 0.84736,
    "c": 0.15844,
    "h": 103.7
  },
  "luminance": 0.61659
}

Semantic roles & 50–950 ramp

primary
#DFD140
secondary
#313992
accent
#4AEE3A
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #DFD140

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

Preview Lab → · Contrast checker → · Palette generator →

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