#DFDA7B#DFDA7B

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

Color values

HEX#DFDA7B
RGBrgb(223, 218, 123)
HSLhsl(57, 61%, 68%)
HSVhsv(57, 45%, 87%)
CMYKcmyk(0%, 2.2%, 44.8%, 12.5%)
CIE-LABlab(85.64, -11.37, 47.14)
CIE-LCHlch(85.64, 48.49, 103.57°)
OKLaboklab(87.22% -0.0323 0.1131)
OKLCHoklch(87.22% 0.118 105.9)
XYZxyz(59.0792, 67.2624, 28.6059)
Luminance0.6726 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDA7B #7B80DF
analogous
#DFA87B #DFDA7B #B2DF7B
triadic
#DFDA7B #7BDFDA #DA7BDF
tetradic
#DFDA7B #7BDFA8 #7B80DF #DF7BB2
square
#DFDA7B #7BDFA8 #7B80DF #DF7BB2
split-complementary
#DFDA7B #7BB2DF #A87BDF
monochromatic
#B4AD2C #D3CC4A #DFDA7B #EBE8AC #F7F6DE

Accessibility & contrast

On white

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

On black

14.45
#DFDA7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFDA7B
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFDA7B#FFFFFF#000000##000000
##DFDA7B1.001.4514.4514.45
#FFFFFF1.451.0021.0021.00
#00000014.4521.001.001.00
##00000014.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D473
Deuteranopia (green-blind)
#EBD87F
Tritanopia (blue-blind)
#ECCFC3
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #dfda7b;
/* rgb */ color: rgb(223, 218, 123);
/* oklch */ color: oklch(87.2% 0.118 105.9);
Tailwind
colors: {
  custom: {
    50: '#ebe5a3',
    500: '#dfda7b',
    950: '#000000',
  },
}
SCSS
$custom: #dfda7b;
$custom-light: #ebe5a3;
$custom-dark: #000000;
JSON
{
  "hex": "#dfda7b",
  "rgb": {
    "r": 223,
    "g": 218,
    "b": 123
  },
  "hsl": {
    "h": 57,
    "s": 60.976,
    "l": 67.843
  },
  "oklch": {
    "l": 0.87221,
    "c": 0.11763,
    "h": 105.9
  },
  "luminance": 0.67261
}

Semantic roles & 50–950 ramp

primary
#DFDA7B
secondary
#494EB5
accent
#25C91D
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150F
muted
#858480

Preview Lab

Preview with #DFDA7B

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

Preview Lab → · Contrast checker → · Palette generator →

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