#DFD55F#DFD55F

#DFD55F is a very light, vivid yellow. Relative luminance 0.641; OKLCH L 85.8% C 0.139 H 104.5°. Best body text is #000000 at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#DFD55F
RGBrgb(223, 213, 95)
HSLhsl(55, 67%, 62%)
HSVhsv(55, 57%, 87%)
CMYKcmyk(0%, 4.5%, 57.4%, 12.5%)
CIE-LABlab(84.02, -11.23, 58.32)
CIE-LCHlch(84.02, 59.39, 100.89°)
OKLaboklab(85.84% -0.0348 0.1349)
OKLCHoklch(85.84% 0.139 104.5)
XYZxyz(56.2931, 64.1046, 20.2324)
Luminance0.6410 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD55F #5F69DF
analogous
#DF955F #DFD55F #A9DF5F
triadic
#DFD55F #5FDFD5 #D55FDF
tetradic
#DFD55F #5FDF95 #5F69DF #DF5FA9
square
#DFD55F #5FDF95 #5F69DF #DF5FA9
split-complementary
#DFD55F #5FA9DF #955FDF
monochromatic
#A39921 #D5C82C #DFD55F #E9E292 #F3F0C5

Accessibility & contrast

On white

1.52
#DFD55F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.82
#DFD55F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD55F
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD55F#FFFFFF#000000##000000
##DFD55F1.001.5213.8213.82
#FFFFFF1.521.0021.0021.00
#00000013.8221.001.001.00
##00000013.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CE53
Deuteranopia (green-blind)
#E9D465
Tritanopia (blue-blind)
#EEC8BB
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #dfd55f;
/* rgb */ color: rgb(223, 213, 95);
/* oklch */ color: oklch(85.8% 0.139 104.5);
Tailwind
colors: {
  custom: {
    50: '#ece190',
    500: '#dfd55f',
    950: '#000000',
  },
}
SCSS
$custom: #dfd55f;
$custom-light: #ece190;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd55f",
  "rgb": {
    "r": 223,
    "g": 213,
    "b": 95
  },
  "hsl": {
    "h": 55.313,
    "s": 66.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.85837,
    "c": 0.13926,
    "h": 104.5
  },
  "luminance": 0.64103
}

Semantic roles & 50–950 ramp

primary
#DFD55F
secondary
#3C45A6
accent
#25CF17
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #DFD55F

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

Preview Lab → · Contrast checker → · Palette generator →

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