#DFD65F#DFD65F

#DFD65F is a very light, vivid yellow. Relative luminance 0.646; OKLCH L 86.0% C 0.140 H 105.0°. Best body text is #000000 at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#DFD65F
RGBrgb(223, 214, 95)
HSLhsl(56, 67%, 62%)
HSVhsv(56, 57%, 87%)
CMYKcmyk(0%, 4%, 57.4%, 12.5%)
CIE-LABlab(84.28, -11.73, 58.61)
CIE-LCHlch(84.28, 59.78, 101.31°)
OKLaboklab(86.05% -0.0362 0.1355)
OKLCHoklch(86.05% 0.14 105)
XYZxyz(56.5454, 64.6092, 20.3165)
Luminance0.6461 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD65F #5F68DF
analogous
#DF965F #DFD65F #A8DF5F
triadic
#DFD65F #5FDFD6 #D65FDF
tetradic
#DFD65F #5FDF96 #5F68DF #DF5FA8
square
#DFD65F #5FDF96 #5F68DF #DF5FA8
split-complementary
#DFD65F #5FA8DF #965FDF
monochromatic
#A39A21 #D5C92C #DFD65F #E9E392 #F3F0C5

Accessibility & contrast

On white

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

On black

13.92
#DFD65F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD65F
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD65F#FFFFFF#000000##000000
##DFD65F1.001.5113.9213.92
#FFFFFF1.511.0021.0021.00
#00000013.9221.001.001.00
##00000013.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF52
Deuteranopia (green-blind)
#EAD565
Tritanopia (blue-blind)
#EEC9BC
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #dfd65f;
/* rgb */ color: rgb(223, 214, 95);
/* oklch */ color: oklch(86.0% 0.140 105.0);
Tailwind
colors: {
  custom: {
    50: '#ece290',
    500: '#dfd65f',
    950: '#000000',
  },
}
SCSS
$custom: #dfd65f;
$custom-light: #ece290;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd65f",
  "rgb": {
    "r": 223,
    "g": 214,
    "b": 95
  },
  "hsl": {
    "h": 55.781,
    "s": 66.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.86045,
    "c": 0.14023,
    "h": 105
  },
  "luminance": 0.64607
}

Semantic roles & 50–950 ramp

primary
#DFD65F
secondary
#3C44A6
accent
#24CF17
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #DFD65F

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

Preview Lab → · Contrast checker → · Palette generator →

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