#DFDC7B#DFDC7B

#DFDC7B is a very light, moderate yellow. Relative luminance 0.683; OKLCH L 87.6% C 0.120 H 107.1°. Best body text is #000000 at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#DFDC7B
RGBrgb(223, 220, 123)
HSLhsl(58, 61%, 68%)
HSVhsv(58, 45%, 87%)
CMYKcmyk(0%, 1.3%, 44.8%, 12.5%)
CIE-LABlab(86.16, -12.38, 47.78)
CIE-LCHlch(86.16, 49.36, 104.52°)
OKLaboklab(87.64% -0.0352 0.1145)
OKLCHoklch(87.64% 0.12 107.1)
XYZxyz(59.6010, 68.3059, 28.7798)
Luminance0.6830 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDC7B #7B7EDF
analogous
#DFAA7B #DFDC7B #B0DF7B
triadic
#DFDC7B #7BDFDC #DC7BDF
tetradic
#DFDC7B #7BDFAA #7B7EDF #DF7BB0
square
#DFDC7B #7BDFAA #7B7EDF #DF7BB0
split-complementary
#DFDC7B #7BB0DF #AA7BDF
monochromatic
#B4B02C #D3CF4A #DFDC7B #EBE9AC #F7F6DE

Accessibility & contrast

On white

1.43
#DFDC7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.66
#DFDC7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFDC7B
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFDC7B#FFFFFF#000000##000000
##DFDC7B1.001.4314.6614.66
#FFFFFF1.431.0021.0021.00
#00000014.6621.001.001.00
##00000014.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD573
Deuteranopia (green-blind)
#ECD97F
Tritanopia (blue-blind)
#ECD1C5
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #dfdc7b;
/* rgb */ color: rgb(223, 220, 123);
/* oklch */ color: oklch(87.6% 0.120 107.1);
Tailwind
colors: {
  custom: {
    50: '#ebe6a3',
    500: '#dfdc7b',
    950: '#000000',
  },
}
SCSS
$custom: #dfdc7b;
$custom-light: #ebe6a3;
$custom-dark: #000000;
JSON
{
  "hex": "#dfdc7b",
  "rgb": {
    "r": 223,
    "g": 220,
    "b": 123
  },
  "hsl": {
    "h": 58.2,
    "s": 60.976,
    "l": 67.843
  },
  "oklch": {
    "l": 0.87637,
    "c": 0.11982,
    "h": 107.1
  },
  "luminance": 0.68304
}

Semantic roles & 50–950 ramp

primary
#DFDC7B
secondary
#494CB5
accent
#22C91D
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16150F
muted
#858480

Preview Lab

Preview with #DFDC7B

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

Preview Lab → · Contrast checker → · Palette generator →

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