#DFD05F#DFD05F

#DFD05F is a very light, vivid yellow. Relative luminance 0.616; OKLCH L 84.8% C 0.135 H 101.8°. Best body text is #000000 at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#DFD05F
RGBrgb(223, 208, 95)
HSLhsl(53, 67%, 62%)
HSVhsv(53, 57%, 87%)
CMYKcmyk(0%, 6.7%, 57.4%, 12.5%)
CIE-LABlab(82.72, -8.70, 56.85)
CIE-LCHlch(82.72, 57.51, 98.70°)
OKLaboklab(84.8% -0.0275 0.1317)
OKLCHoklch(84.8% 0.135 101.8)
XYZxyz(55.0548, 61.6280, 19.8196)
Luminance0.6163 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD05F #5F6EDF
analogous
#DF905F #DFD05F #AEDF5F
triadic
#DFD05F #5FDFD0 #D05FDF
tetradic
#DFD05F #5FDF90 #5F6EDF #DF5FAE
square
#DFD05F #5FDF90 #5F6EDF #DF5FAE
split-complementary
#DFD05F #5FAEDF #905FDF
monochromatic
#A39421 #D5C12C #DFD05F #E9DF92 #F3EEC5

Accessibility & contrast

On white

1.58
#DFD05F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.33
#DFD05F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD05F
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD05F#FFFFFF#000000##000000
##DFD05F1.001.5813.3313.33
#FFFFFF1.581.0021.0021.00
#00000013.3321.001.001.00
##00000013.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CA53
Deuteranopia (green-blind)
#E6D165
Tritanopia (blue-blind)
#EEC3B7
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #dfd05f;
/* rgb */ color: rgb(223, 208, 95);
/* oklch */ color: oklch(84.8% 0.135 101.8);
Tailwind
colors: {
  custom: {
    50: '#ecde90',
    500: '#dfd05f',
    950: '#000000',
  },
}
SCSS
$custom: #dfd05f;
$custom-light: #ecde90;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd05f",
  "rgb": {
    "r": 223,
    "g": 208,
    "b": 95
  },
  "hsl": {
    "h": 52.969,
    "s": 66.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.848,
    "c": 0.13456,
    "h": 101.8
  },
  "luminance": 0.61626
}

Semantic roles & 50–950 ramp

primary
#DFD05F
secondary
#3C49A6
accent
#2CCF17
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #DFD05F

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

Preview Lab → · Contrast checker → · Palette generator →

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