#DFD57C#DFD57C

#DFD57C is a very light, moderate yellow. Relative luminance 0.647; OKLCH L 86.2% C 0.111 H 102.8°. Best body text is #000000 at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#DFD57C
RGBrgb(223, 213, 124)
HSLhsl(54, 61%, 68%)
HSVhsv(54, 44%, 87%)
CMYKcmyk(0%, 4.5%, 44.4%, 12.5%)
CIE-LABlab(84.35, -8.76, 45.06)
CIE-LCHlch(84.35, 45.90, 101.00°)
OKLaboklab(86.2% -0.0247 0.1085)
OKLCHoklch(86.2% 0.111 102.8)
XYZxyz(57.8651, 64.7334, 28.5115)
Luminance0.6473 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD57C #7C86DF
analogous
#DFA37C #DFD57C #B8DF7C
triadic
#DFD57C #7CDFD5 #D57CDF
tetradic
#DFD57C #7CDFA3 #7C86DF #DF7CB8
square
#DFD57C #7CDFA3 #7C86DF #DF7CB8
split-complementary
#DFD57C #7CB8DF #A37CDF
monochromatic
#B5A72C #D3C54B #DFD57C #EBE5AD #F7F5DE

Accessibility & contrast

On white

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

On black

13.95
#DFD57C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD57C
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD57C#FFFFFF#000000##000000
##DFD57C1.001.5113.9513.95
#FFFFFF1.511.0021.0021.00
#00000013.9521.001.001.00
##00000013.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3D075
Deuteranopia (green-blind)
#E7D580
Tritanopia (blue-blind)
#ECCAC0
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #dfd57c;
/* rgb */ color: rgb(223, 213, 124);
/* oklch */ color: oklch(86.2% 0.111 102.8);
Tailwind
colors: {
  custom: {
    50: '#ebe1a3',
    500: '#dfd57c',
    950: '#000000',
  },
}
SCSS
$custom: #dfd57c;
$custom-light: #ebe1a3;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd57c",
  "rgb": {
    "r": 223,
    "g": 213,
    "b": 124
  },
  "hsl": {
    "h": 53.939,
    "s": 60.736,
    "l": 68.039
  },
  "oklch": {
    "l": 0.86201,
    "c": 0.1113,
    "h": 102.8
  },
  "luminance": 0.64732
}

Semantic roles & 50–950 ramp

primary
#DFD57C
secondary
#4954B6
accent
#2EC81D
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16150F
muted
#858480

Preview Lab

Preview with #DFD57C

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

Preview Lab → · Contrast checker → · Palette generator →

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