#DFD56B#DFD56B

#DFD56B is a very light, vivid yellow. Relative luminance 0.643; OKLCH L 86.0% C 0.128 H 103.9°. Best body text is #000000 at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#DFD56B
RGBrgb(223, 213, 107)
HSLhsl(55, 64%, 65%)
HSVhsv(55, 52%, 87%)
CMYKcmyk(0%, 4.5%, 52%, 12.5%)
CIE-LABlab(84.14, -10.29, 52.98)
CIE-LCHlch(84.14, 53.97, 101.00°)
OKLaboklab(85.97% -0.0308 0.1246)
OKLCHoklch(85.97% 0.128 103.9)
XYZxyz(56.8812, 64.3398, 23.3296)
Luminance0.6434 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD56B #6B75DF
analogous
#DF9B6B #DFD56B #AFDF6B
triadic
#DFD56B #6BDFD5 #D56BDF
tetradic
#DFD56B #6BDF9B #6B75DF #DF6BAF
square
#DFD56B #6BDF9B #6B75DF #DF6BAF
split-complementary
#DFD56B #6BAFDF #9B6BDF
monochromatic
#AB9F25 #D4C739 #DFD56B #EAE39D #F5F2D0

Accessibility & contrast

On white

1.51
#DFD56B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.87
#DFD56B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD56B
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD56B#FFFFFF#000000##000000
##DFD56B1.001.5113.8713.87
#FFFFFF1.511.0021.0021.00
#00000013.8721.001.001.00
##00000013.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CF61
Deuteranopia (green-blind)
#E8D470
Tritanopia (blue-blind)
#EDC9BD
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #dfd56b;
/* rgb */ color: rgb(223, 213, 107);
/* oklch */ color: oklch(86.0% 0.128 103.9);
Tailwind
colors: {
  custom: {
    50: '#ebe198',
    500: '#dfd56b',
    950: '#000000',
  },
}
SCSS
$custom: #dfd56b;
$custom-light: #ebe198;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd56b",
  "rgb": {
    "r": 223,
    "g": 213,
    "b": 107
  },
  "hsl": {
    "h": 54.828,
    "s": 64.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.85974,
    "c": 0.12839,
    "h": 103.9
  },
  "luminance": 0.64338
}

Semantic roles & 50–950 ramp

primary
#DFD56B
secondary
#414BAD
accent
#29CC19
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DFD56B

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

Preview Lab → · Contrast checker → · Palette generator →

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