#DFD47B#DFD47B

#DFD47B is a very light, moderate yellow. Relative luminance 0.642; OKLCH L 86.0% C 0.111 H 102.2°. Best body text is #000000 at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#DFD47B
RGBrgb(223, 212, 123)
HSLhsl(53, 61%, 68%)
HSVhsv(53, 45%, 87%)
CMYKcmyk(0%, 4.9%, 44.8%, 12.5%)
CIE-LABlab(84.07, -8.35, 45.21)
CIE-LCHlch(84.07, 45.98, 100.46°)
OKLaboklab(85.98% -0.0236 0.1088)
OKLCHoklch(85.98% 0.111 102.2)
XYZxyz(57.5514, 64.2067, 28.0966)
Luminance0.6421 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD47B #7B86DF
analogous
#DFA27B #DFD47B #B8DF7B
triadic
#DFD47B #7BDFD4 #D47BDF
tetradic
#DFD47B #7BDFA2 #7B86DF #DF7BB8
square
#DFD47B #7BDFA2 #7B86DF #DF7BB8
split-complementary
#DFD47B #7BB8DF #A27BDF
monochromatic
#B4A52C #D3C44A #DFD47B #EBE4AC #F7F4DE

Accessibility & contrast

On white

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

On black

13.84
#DFD47B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD47B
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD47B#FFFFFF#000000##000000
##DFD47B1.001.5213.8413.84
#FFFFFF1.521.0021.0021.00
#00000013.8421.001.001.00
##00000013.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CF74
Deuteranopia (green-blind)
#E6D47F
Tritanopia (blue-blind)
#ECC9BF
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #dfd47b;
/* rgb */ color: rgb(223, 212, 123);
/* oklch */ color: oklch(86.0% 0.111 102.2);
Tailwind
colors: {
  custom: {
    50: '#ebe1a3',
    500: '#dfd47b',
    950: '#000000',
  },
}
SCSS
$custom: #dfd47b;
$custom-light: #ebe1a3;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd47b",
  "rgb": {
    "r": 223,
    "g": 212,
    "b": 123
  },
  "hsl": {
    "h": 53.4,
    "s": 60.976,
    "l": 67.843
  },
  "oklch": {
    "l": 0.85981,
    "c": 0.11134,
    "h": 102.2
  },
  "luminance": 0.64205
}

Semantic roles & 50–950 ramp

primary
#DFD47B
secondary
#4955B5
accent
#30C91D
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150F
muted
#858480

Preview Lab

Preview with #DFD47B

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

Preview Lab → · Contrast checker → · Palette generator →

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