#DFD37C#DFD37C

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

Color values

HEX#DFD37C
RGBrgb(223, 211, 124)
HSLhsl(53, 61%, 68%)
HSVhsv(53, 44%, 87%)
CMYKcmyk(0%, 5.4%, 44.4%, 12.5%)
CIE-LABlab(83.83, -7.74, 44.41)
CIE-LCHlch(83.83, 45.08, 99.89°)
OKLaboklab(85.79% -0.0218 0.1071)
OKLCHoklch(85.79% 0.109 101.5)
XYZxyz(57.3651, 63.7335, 28.3449)
Luminance0.6373 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD37C #7C88DF
analogous
#DFA17C #DFD37C #B9DF7C
triadic
#DFD37C #7CDFD3 #D37CDF
tetradic
#DFD37C #7CDFA1 #7C88DF #DF7CB9
square
#DFD37C #7CDFA1 #7C88DF #DF7CB9
split-complementary
#DFD37C #7CB9DF #A17CDF
monochromatic
#B5A42C #D3C24B #DFD37C #EBE4AD #F7F4DE

Accessibility & contrast

On white

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

On black

13.75
#DFD37C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD37C
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD37C#FFFFFF#000000##000000
##DFD37C1.001.5313.7513.75
#FFFFFF1.531.0021.0021.00
#00000013.7521.001.001.00
##00000013.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfd37c;
/* rgb */ color: rgb(223, 211, 124);
/* oklch */ color: oklch(85.8% 0.109 101.5);
Tailwind
colors: {
  custom: {
    50: '#ebe0a3',
    500: '#dfd37c',
    950: '#000000',
  },
}
SCSS
$custom: #dfd37c;
$custom-light: #ebe0a3;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd37c",
  "rgb": {
    "r": 223,
    "g": 211,
    "b": 124
  },
  "hsl": {
    "h": 52.727,
    "s": 60.736,
    "l": 68.039
  },
  "oklch": {
    "l": 0.85789,
    "c": 0.10928,
    "h": 101.5
  },
  "luminance": 0.63732
}

Semantic roles & 50–950 ramp

primary
#DFD37C
secondary
#4957B6
accent
#32C81D
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16150F
muted
#858480

Preview Lab

Preview with #DFD37C

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

Preview Lab → · Contrast checker → · Palette generator →

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