#DFD27F#DFD27F

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

Color values

HEX#DFD27F
RGBrgb(223, 210, 127)
HSLhsl(52, 60%, 69%)
HSVhsv(52, 43%, 87%)
CMYKcmyk(0%, 5.8%, 43%, 12.5%)
CIE-LABlab(83.61, -6.93, 42.65)
CIE-LCHlch(83.61, 43.21, 99.23°)
OKLaboklab(85.63% -0.0192 0.1033)
OKLCHoklch(85.63% 0.105 100.5)
XYZxyz(57.3101, 63.3152, 29.2767)
Luminance0.6331 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD27F #7F8CDF
analogous
#DFA27F #DFD27F #BCDF7F
triadic
#DFD27F #7FDFD2 #D27FDF
tetradic
#DFD27F #7FDFA2 #7F8CDF #DF7FBC
square
#DFD27F #7FDFA2 #7F8CDF #DF7FBC
split-complementary
#DFD27F #7FBCDF #A27FDF
monochromatic
#B6A42E #D3C14E #DFD27F #EBE3B0 #F7F4E1

Accessibility & contrast

On white

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

On black

13.66
#DFD27F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD27F
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD27F#FFFFFF#000000##000000
##DFD27F1.001.5413.6613.66
#FFFFFF1.541.0021.0021.00
#00000013.6621.001.001.00
##00000013.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CD78
Deuteranopia (green-blind)
#E4D382
Tritanopia (blue-blind)
#ECC7BE
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #dfd27f;
/* rgb */ color: rgb(223, 210, 127);
/* oklch */ color: oklch(85.6% 0.105 100.5);
Tailwind
colors: {
  custom: {
    50: '#eadfa5',
    500: '#dfd27f',
    950: '#000000',
  },
}
SCSS
$custom: #dfd27f;
$custom-light: #eadfa5;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd27f",
  "rgb": {
    "r": 223,
    "g": 210,
    "b": 127
  },
  "hsl": {
    "h": 51.875,
    "s": 60,
    "l": 68.627
  },
  "oklch": {
    "l": 0.85629,
    "c": 0.10507,
    "h": 100.5
  },
  "luminance": 0.63313
}

Semantic roles & 50–950 ramp

primary
#DFD27F
secondary
#4C5BB6
accent
#35C81E
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16150F
muted
#858480

Preview Lab

Preview with #DFD27F

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

Preview Lab → · Contrast checker → · Palette generator →

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