#DFDA5B#DFDA5B

#DFDA5B is a very light, vivid yellow. Relative luminance 0.666; OKLCH L 86.8% C 0.148 H 107.0°. Best body text is #000000 at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#DFDA5B
RGBrgb(223, 218, 91)
HSLhsl(58, 67%, 62%)
HSVhsv(58, 59%, 87%)
CMYKcmyk(0%, 2.2%, 59.2%, 12.5%)
CIE-LABlab(85.30, -14.00, 61.48)
CIE-LCHlch(85.30, 63.06, 102.83°)
OKLaboklab(86.84% -0.0431 0.1411)
OKLCHoklch(86.84% 0.148 107)
XYZxyz(57.3930, 66.5879, 19.7250)
Luminance0.6659 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDA5B #5B60DF
analogous
#DF985B #DFDA5B #A2DF5B
triadic
#DFDA5B #5BDFDA #DA5BDF
tetradic
#DFDA5B #5BDF98 #5B60DF #DF5BA2
square
#DFDA5B #5BDF98 #5B60DF #DF5BA2
split-complementary
#DFDA5B #5BA2DF #985BDF
monochromatic
#A09B1F #D4CD29 #DFDA5B #E9E68E #F3F1C1

Accessibility & contrast

On white

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

On black

14.32
#DFDA5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFDA5B
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFDA5B#FFFFFF#000000##000000
##DFDA5B1.001.4714.3214.32
#FFFFFF1.471.0021.0021.00
#00000014.3221.001.001.00
##00000014.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD24D
Deuteranopia (green-blind)
#EDD862
Tritanopia (blue-blind)
#EECDBF
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dfda5b;
/* rgb */ color: rgb(223, 218, 91);
/* oklch */ color: oklch(86.8% 0.148 107.0);
Tailwind
colors: {
  custom: {
    50: '#ece58e',
    500: '#dfda5b',
    950: '#000000',
  },
}
SCSS
$custom: #dfda5b;
$custom-light: #ece58e;
$custom-dark: #000000;
JSON
{
  "hex": "#dfda5b",
  "rgb": {
    "r": 223,
    "g": 218,
    "b": 91
  },
  "hsl": {
    "h": 57.727,
    "s": 67.347,
    "l": 61.569
  },
  "oklch": {
    "l": 0.8684,
    "c": 0.14751,
    "h": 107
  },
  "luminance": 0.66586
}

Semantic roles & 50–950 ramp

primary
#DFDA5B
secondary
#3B3FA3
accent
#1DCF16
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #DFDA5B

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

Preview Lab → · Contrast checker → · Palette generator →

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