#DFD37B#DFD37B

#DFD37B is a very light, moderate yellow. Relative luminance 0.637; OKLCH L 85.8% C 0.110 H 101.6°. Best body text is #000000 at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#DFD37B
RGBrgb(223, 211, 123)
HSLhsl(53, 61%, 68%)
HSVhsv(53, 45%, 87%)
CMYKcmyk(0%, 5.4%, 44.8%, 12.5%)
CIE-LABlab(83.81, -7.84, 44.89)
CIE-LCHlch(83.81, 45.57, 99.91°)
OKLaboklab(85.78% -0.0221 0.1081)
OKLCHoklch(85.78% 0.11 101.6)
XYZxyz(57.3022, 63.7083, 28.0135)
Luminance0.6371 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD37B #7B87DF
analogous
#DFA17B #DFD37B #B9DF7B
triadic
#DFD37B #7BDFD3 #D37BDF
tetradic
#DFD37B #7BDFA1 #7B87DF #DF7BB9
square
#DFD37B #7BDFA1 #7B87DF #DF7BB9
split-complementary
#DFD37B #7BB9DF #A17BDF
monochromatic
#B4A42C #D3C34A #DFD37B #EBE3AC #F7F4DE

Accessibility & contrast

On white

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

On black

13.74
#DFD37B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD37B
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD37B#FFFFFF#000000##000000
##DFD37B1.001.5313.7413.74
#FFFFFF1.531.0021.0021.00
#00000013.7421.001.001.00
##00000013.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CE74
Deuteranopia (green-blind)
#E5D37F
Tritanopia (blue-blind)
#ECC8BE
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #dfd37b;
/* rgb */ color: rgb(223, 211, 123);
/* oklch */ color: oklch(85.8% 0.110 101.6);
Tailwind
colors: {
  custom: {
    50: '#ebe0a3',
    500: '#dfd37b',
    950: '#000000',
  },
}
SCSS
$custom: #dfd37b;
$custom-light: #ebe0a3;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd37b",
  "rgb": {
    "r": 223,
    "g": 211,
    "b": 123
  },
  "hsl": {
    "h": 52.8,
    "s": 60.976,
    "l": 67.843
  },
  "oklch": {
    "l": 0.85775,
    "c": 0.11033,
    "h": 101.6
  },
  "luminance": 0.63707
}

Semantic roles & 50–950 ramp

primary
#DFD37B
secondary
#4956B5
accent
#31C91D
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150F
muted
#858480

Preview Lab

Preview with #DFD37B

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

Preview Lab → · Contrast checker → · Palette generator →

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