#DFDA57#DFDA57

#DFDA57 is a very light, vivid yellow. Relative luminance 0.665; OKLCH L 86.8% C 0.151 H 107.1°. Best body text is #000000 at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#DFDA57
RGBrgb(223, 218, 87)
HSLhsl(58, 68%, 61%)
HSVhsv(58, 61%, 87%)
CMYKcmyk(0%, 2.2%, 61%, 12.5%)
CIE-LABlab(85.26, -14.27, 63.14)
CIE-LCHlch(85.26, 64.73, 102.74°)
OKLaboklab(86.8% -0.0443 0.1441)
OKLCHoklch(86.8% 0.151 107.1)
XYZxyz(57.2250, 66.5207, 18.8403)
Luminance0.6652 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDA57 #575CDF
analogous
#DF9657 #DFDA57 #A0DF57
triadic
#DFDA57 #57DFDA #DA57DF
tetradic
#DFDA57 #57DF96 #575CDF #DF57A0
square
#DFDA57 #57DF96 #575CDF #DF57A0
split-complementary
#DFDA57 #57A0DF #9657DF
monochromatic
#9E991E #D1CB28 #DFDA57 #E9E58A #F3F1BE

Accessibility & contrast

On white

1.47
#DFDA57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.30
#DFDA57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFDA57
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFDA57#FFFFFF#000000##000000
##DFDA571.001.4714.3014.30
#FFFFFF1.471.0021.0021.00
#00000014.3021.001.001.00
##00000014.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD247
Deuteranopia (green-blind)
#EED75F
Tritanopia (blue-blind)
#EECDBE
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dfda57;
/* rgb */ color: rgb(223, 218, 87);
/* oklch */ color: oklch(86.8% 0.151 107.1);
Tailwind
colors: {
  custom: {
    50: '#ece58c',
    500: '#dfda57',
    950: '#000000',
  },
}
SCSS
$custom: #dfda57;
$custom-light: #ece58c;
$custom-dark: #000000;
JSON
{
  "hex": "#dfda57",
  "rgb": {
    "r": 223,
    "g": 218,
    "b": 87
  },
  "hsl": {
    "h": 57.794,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.86802,
    "c": 0.15072,
    "h": 107.1
  },
  "luminance": 0.66519
}

Semantic roles & 50–950 ramp

primary
#DFDA57
secondary
#393DA1
accent
#1CD016
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DFDA57

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

Preview Lab → · Contrast checker → · Palette generator →

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