#DFD27D#DFD27D

#DFD27D is a very light, moderate yellow. Relative luminance 0.633; OKLCH L 85.6% C 0.107 H 100.7°. Best body text is #000000 at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#DFD27D
RGBrgb(223, 210, 125)
HSLhsl(52, 60%, 68%)
HSVhsv(52, 44%, 87%)
CMYKcmyk(0%, 5.8%, 43.9%, 12.5%)
CIE-LABlab(83.58, -7.14, 43.61)
CIE-LCHlch(83.58, 44.19, 99.29°)
OKLaboklab(85.6% -0.0199 0.1054)
OKLCHoklch(85.6% 0.107 100.7)
XYZxyz(57.1810, 63.2636, 28.5971)
Luminance0.6326 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD27D #7D8ADF
analogous
#DFA17D #DFD27D #BBDF7D
triadic
#DFD27D #7DDFD2 #D27DDF
tetradic
#DFD27D #7DDFA1 #7D8ADF #DF7DBB
square
#DFD27D #7DDFA1 #7D8ADF #DF7DBB
split-complementary
#DFD27D #7DBBDF #A17DDF
monochromatic
#B5A32D #D3C14C #DFD27D #EBE3AE #F7F4DF

Accessibility & contrast

On white

1.54
#DFD27D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.65
#DFD27D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD27D
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD27D#FFFFFF#000000##000000
##DFD27D1.001.5413.6513.65
#FFFFFF1.541.0021.0021.00
#00000013.6521.001.001.00
##00000013.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CD76
Deuteranopia (green-blind)
#E4D380
Tritanopia (blue-blind)
#ECC7BD
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #dfd27d;
/* rgb */ color: rgb(223, 210, 125);
/* oklch */ color: oklch(85.6% 0.107 100.7);
Tailwind
colors: {
  custom: {
    50: '#eadfa4',
    500: '#dfd27d',
    950: '#000000',
  },
}
SCSS
$custom: #dfd27d;
$custom-light: #eadfa4;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd27d",
  "rgb": {
    "r": 223,
    "g": 210,
    "b": 125
  },
  "hsl": {
    "h": 52.041,
    "s": 60.494,
    "l": 68.235
  },
  "oklch": {
    "l": 0.85599,
    "c": 0.10722,
    "h": 100.7
  },
  "luminance": 0.63262
}

Semantic roles & 50–950 ramp

primary
#DFD27D
secondary
#4A59B6
accent
#34C81D
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16150F
muted
#858480

Preview Lab

Preview with #DFD27D

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

Preview Lab → · Contrast checker → · Palette generator →

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