#DFD27C#DFD27C

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

Color values

HEX#DFD27C
RGBrgb(223, 210, 124)
HSLhsl(52, 61%, 68%)
HSVhsv(52, 44%, 87%)
CMYKcmyk(0%, 5.8%, 44.4%, 12.5%)
CIE-LABlab(83.57, -7.23, 44.09)
CIE-LCHlch(83.57, 44.68, 99.32°)
OKLaboklab(85.58% -0.0203 0.1064)
OKLCHoklch(85.58% 0.108 100.8)
XYZxyz(57.1175, 63.2382, 28.2623)
Luminance0.6324 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD27C #7C89DF
analogous
#DFA07C #DFD27C #BADF7C
triadic
#DFD27C #7CDFD2 #D27CDF
tetradic
#DFD27C #7CDFA0 #7C89DF #DF7CBA
square
#DFD27C #7CDFA0 #7C89DF #DF7CBA
split-complementary
#DFD27C #7CBADF #A07CDF
monochromatic
#B5A32C #D3C14B #DFD27C #EBE3AD #F7F4DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFD27C#FFFFFF#000000##000000
##DFD27C1.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)
#E1CD75
Deuteranopia (green-blind)
#E5D380
Tritanopia (blue-blind)
#ECC7BD
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #dfd27c;
/* rgb */ color: rgb(223, 210, 124);
/* oklch */ color: oklch(85.6% 0.108 100.8);
Tailwind
colors: {
  custom: {
    50: '#ebdfa3',
    500: '#dfd27c',
    950: '#000000',
  },
}
SCSS
$custom: #dfd27c;
$custom-light: #ebdfa3;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd27c",
  "rgb": {
    "r": 223,
    "g": 210,
    "b": 124
  },
  "hsl": {
    "h": 52.121,
    "s": 60.736,
    "l": 68.039
  },
  "oklch": {
    "l": 0.85584,
    "c": 0.10828,
    "h": 100.8
  },
  "luminance": 0.63236
}

Semantic roles & 50–950 ramp

primary
#DFD27C
secondary
#4958B6
accent
#34C81D
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16150F
muted
#858480

Preview Lab

Preview with #DFD27C

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

Preview Lab → · Contrast checker → · Palette generator →

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