#DFDA7C#DFDA7C

#DFDA7C is a very light, moderate yellow. Relative luminance 0.673; OKLCH L 87.2% C 0.117 H 105.9°. Best body text is #000000 at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#DFDA7C
RGBrgb(223, 218, 124)
HSLhsl(57, 61%, 68%)
HSVhsv(57, 44%, 87%)
CMYKcmyk(0%, 2.2%, 44.4%, 12.5%)
CIE-LABlab(85.65, -11.28, 46.67)
CIE-LCHlch(85.65, 48.01, 103.59°)
OKLaboklab(87.24% -0.0319 0.1121)
OKLCHoklch(87.24% 0.117 105.9)
XYZxyz(59.1421, 67.2875, 28.9372)
Luminance0.6729 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDA7C #7C81DF
analogous
#DFA87C #DFDA7C #B2DF7C
triadic
#DFDA7C #7CDFDA #DA7CDF
tetradic
#DFDA7C #7CDFA8 #7C81DF #DF7CB2
square
#DFDA7C #7CDFA8 #7C81DF #DF7CB2
split-complementary
#DFDA7C #7CB2DF #A87CDF
monochromatic
#B5AE2C #D3CC4B #DFDA7C #EBE8AD #F7F6DE

Accessibility & contrast

On white

1.45
#DFDA7C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.46
#DFDA7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFDA7C
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFDA7C#FFFFFF#000000##000000
##DFDA7C1.001.4514.4614.46
#FFFFFF1.451.0021.0021.00
#00000014.4621.001.001.00
##00000014.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D474
Deuteranopia (green-blind)
#EBD880
Tritanopia (blue-blind)
#ECCFC4
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #dfda7c;
/* rgb */ color: rgb(223, 218, 124);
/* oklch */ color: oklch(87.2% 0.117 105.9);
Tailwind
colors: {
  custom: {
    50: '#ebe5a3',
    500: '#dfda7c',
    950: '#000000',
  },
}
SCSS
$custom: #dfda7c;
$custom-light: #ebe5a3;
$custom-dark: #000000;
JSON
{
  "hex": "#dfda7c",
  "rgb": {
    "r": 223,
    "g": 218,
    "b": 124
  },
  "hsl": {
    "h": 56.97,
    "s": 60.736,
    "l": 68.039
  },
  "oklch": {
    "l": 0.87236,
    "c": 0.11659,
    "h": 105.9
  },
  "luminance": 0.67286
}

Semantic roles & 50–950 ramp

primary
#DFDA7C
secondary
#494FB6
accent
#26C81D
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16150F
muted
#858480

Preview Lab

Preview with #DFDA7C

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

Preview Lab → · Contrast checker → · Palette generator →

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