#DED27F#DED27F

#DED27F is a very light, moderate yellow. Relative luminance 0.632; OKLCH L 85.5% C 0.105 H 101.1°. Best body text is #000000 at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#DED27F
RGBrgb(222, 210, 127)
HSLhsl(52, 59%, 68%)
HSVhsv(52, 43%, 87%)
CMYKcmyk(0%, 5.4%, 42.8%, 12.9%)
CIE-LABlab(83.52, -7.33, 42.53)
CIE-LCHlch(83.52, 43.16, 99.78°)
OKLaboklab(85.54% -0.0203 0.103)
OKLCHoklch(85.54% 0.105 101.1)
XYZxyz(57.0028, 63.1568, 29.2623)
Luminance0.6315 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED27F #7F8BDE
analogous
#DEA27F #DED27F #BADE7F
triadic
#DED27F #7FDED2 #D27FDE
tetradic
#DED27F #7FDEA2 #7F8BDE #DE7FBA
square
#DED27F #7FDEA2 #7F8BDE #DE7FBA
split-complementary
#DED27F #7FBADE #A27FDE
monochromatic
#B4A32E #D1C14E #DED27F #EBE3B0 #F7F4E0

Accessibility & contrast

On white

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

On black

13.63
#DED27F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED27F
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED27F#FFFFFF#000000##000000
##DED27F1.001.5413.6313.63
#FFFFFF1.541.0021.0021.00
#00000013.6321.001.001.00
##00000013.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ded27f;
/* rgb */ color: rgb(222, 210, 127);
/* oklch */ color: oklch(85.5% 0.105 101.1);
Tailwind
colors: {
  custom: {
    50: '#eadfa5',
    500: '#ded27f',
    950: '#000000',
  },
}
SCSS
$custom: #ded27f;
$custom-light: #eadfa5;
$custom-dark: #000000;
JSON
{
  "hex": "#ded27f",
  "rgb": {
    "r": 222,
    "g": 210,
    "b": 127
  },
  "hsl": {
    "h": 52.421,
    "s": 59.006,
    "l": 68.431
  },
  "oklch": {
    "l": 0.85543,
    "c": 0.10501,
    "h": 101.1
  },
  "luminance": 0.63155
}

Semantic roles & 50–950 ramp

primary
#DED27F
secondary
#4C5AB5
accent
#34C71F
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16150F
muted
#858480

Preview Lab

Preview with #DED27F

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

Preview Lab → · Contrast checker → · Palette generator →

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