#DFD07F#DFD07F

#DFD07F is a very light, moderate yellow. Relative luminance 0.623; OKLCH L 85.2% C 0.103 H 99.0°. Best body text is #000000 at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#DFD07F
RGBrgb(223, 208, 127)
HSLhsl(51, 60%, 69%)
HSVhsv(51, 43%, 87%)
CMYKcmyk(0%, 6.7%, 43%, 12.5%)
CIE-LABlab(83.09, -5.91, 42.00)
CIE-LCHlch(83.09, 42.41, 98.02°)
OKLaboklab(85.22% -0.0162 0.1018)
OKLCHoklch(85.22% 0.103 99)
XYZxyz(56.8194, 62.3339, 29.1132)
Luminance0.6233 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD07F #7F8EDF
analogous
#DFA07F #DFD07F #BEDF7F
triadic
#DFD07F #7FDFD0 #D07FDF
tetradic
#DFD07F #7FDFA0 #7F8EDF #DF7FBE
square
#DFD07F #7FDFA0 #7F8EDF #DF7FBE
split-complementary
#DFD07F #7FBEDF #A07FDF
monochromatic
#B6A12E #D3BE4E #DFD07F #EBE2B0 #F7F4E1

Accessibility & contrast

On white

1.56
#DFD07F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.47
#DFD07F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD07F
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD07F#FFFFFF#000000##000000
##DFD07F1.001.5613.4713.47
#FFFFFF1.561.0021.0021.00
#00000013.4721.001.001.00
##00000013.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECC79
Deuteranopia (green-blind)
#E3D182
Tritanopia (blue-blind)
#ECC5BC
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #dfd07f;
/* rgb */ color: rgb(223, 208, 127);
/* oklch */ color: oklch(85.2% 0.103 99.0);
Tailwind
colors: {
  custom: {
    50: '#eadea5',
    500: '#dfd07f',
    950: '#000000',
  },
}
SCSS
$custom: #dfd07f;
$custom-light: #eadea5;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd07f",
  "rgb": {
    "r": 223,
    "g": 208,
    "b": 127
  },
  "hsl": {
    "h": 50.625,
    "s": 60,
    "l": 68.627
  },
  "oklch": {
    "l": 0.85219,
    "c": 0.10312,
    "h": 99
  },
  "luminance": 0.62332
}

Semantic roles & 50–950 ramp

primary
#DFD07F
secondary
#4C5DB6
accent
#38C81E
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16150F
muted
#858480

Preview Lab

Preview with #DFD07F

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

Preview Lab → · Contrast checker → · Palette generator →

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