#DFD370#DFD370

#DFD370 is a very light, vivid yellow. Relative luminance 0.634; OKLCH L 85.6% C 0.122 H 102.4°. Best body text is #000000 at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#DFD370
RGBrgb(223, 211, 112)
HSLhsl(54, 63%, 66%)
HSVhsv(54, 50%, 87%)
CMYKcmyk(0%, 5.4%, 49.8%, 12.5%)
CIE-LABlab(83.68, -8.86, 50.07)
CIE-LCHlch(83.68, 50.84, 100.03°)
OKLaboklab(85.62% -0.0261 0.1187)
OKLCHoklch(85.62% 0.122 102.4)
XYZxyz(56.6519, 63.4482, 24.5886)
Luminance0.6345 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD370 #707CDF
analogous
#DF9C70 #DFD370 #B3DF70
triadic
#DFD370 #70DFD3 #D370DF
tetradic
#DFD370 #70DF9C #707CDF #DF70B3
square
#DFD370 #70DF9C #707CDF #DF70B3
split-complementary
#DFD370 #70B3DF #9C70DF
monochromatic
#AE9F27 #D4C43E #DFD370 #EAE2A2 #F5F2D4

Accessibility & contrast

On white

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

On black

13.69
#DFD370 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD370
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD370#FFFFFF#000000##000000
##DFD3701.001.5313.6913.69
#FFFFFF1.531.0021.0021.00
#00000013.6921.001.001.00
##00000013.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CD67
Deuteranopia (green-blind)
#E6D374
Tritanopia (blue-blind)
#EDC7BC
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #dfd370;
/* rgb */ color: rgb(223, 211, 112);
/* oklch */ color: oklch(85.6% 0.122 102.4);
Tailwind
colors: {
  custom: {
    50: '#ebe09b',
    500: '#dfd370',
    950: '#000000',
  },
}
SCSS
$custom: #dfd370;
$custom-light: #ebe09b;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd370",
  "rgb": {
    "r": 223,
    "g": 211,
    "b": 112
  },
  "hsl": {
    "h": 53.514,
    "s": 63.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.85623,
    "c": 0.12157,
    "h": 102.4
  },
  "luminance": 0.63446
}

Semantic roles & 50–950 ramp

primary
#DFD370
secondary
#444FB0
accent
#2DCB1A
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DFD370

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

Preview Lab → · Contrast checker → · Palette generator →

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