#DFD27E#DFD27E

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

Color values

HEX#DFD27E
RGBrgb(223, 210, 126)
HSLhsl(52, 60%, 68%)
HSVhsv(52, 43%, 87%)
CMYKcmyk(0%, 5.8%, 43.5%, 12.5%)
CIE-LABlab(83.59, -7.04, 43.13)
CIE-LCHlch(83.59, 43.70, 99.26°)
OKLaboklab(85.61% -0.0195 0.1043)
OKLCHoklch(85.61% 0.106 100.6)
XYZxyz(57.2452, 63.2893, 28.9352)
Luminance0.6329 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD27E #7E8BDF
analogous
#DFA17E #DFD27E #BBDF7E
triadic
#DFD27E #7EDFD2 #D27EDF
tetradic
#DFD27E #7EDFA1 #7E8BDF #DF7EBB
square
#DFD27E #7EDFA1 #7E8BDF #DF7EBB
split-complementary
#DFD27E #7EBBDF #A17EDF
monochromatic
#B6A32D #D3C14D #DFD27E #EBE3AF #F7F4E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFD27E#FFFFFF#000000##000000
##DFD27E1.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)
#E0CD77
Deuteranopia (green-blind)
#E4D381
Tritanopia (blue-blind)
#ECC7BE
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #dfd27e;
/* rgb */ color: rgb(223, 210, 126);
/* oklch */ color: oklch(85.6% 0.106 100.6);
Tailwind
colors: {
  custom: {
    50: '#eadfa5',
    500: '#dfd27e',
    950: '#000000',
  },
}
SCSS
$custom: #dfd27e;
$custom-light: #eadfa5;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd27e",
  "rgb": {
    "r": 223,
    "g": 210,
    "b": 126
  },
  "hsl": {
    "h": 51.959,
    "s": 60.248,
    "l": 68.431
  },
  "oklch": {
    "l": 0.85614,
    "c": 0.10614,
    "h": 100.6
  },
  "luminance": 0.63288
}

Semantic roles & 50–950 ramp

primary
#DFD27E
secondary
#4B5AB6
accent
#34C81E
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16150F
muted
#858480

Preview Lab

Preview with #DFD27E

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

Preview Lab → · Contrast checker → · Palette generator →

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