#DCDF7B#DCDF7B

#DCDF7B is a very light, vivid yellow. Relative luminance 0.694; OKLCH L 88.0% C 0.124 H 110.2°. Best body text is #000000 at 14.88:1 contrast (WCAG AA passes).

Color values

HEX#DCDF7B
RGBrgb(220, 223, 123)
HSLhsl(62, 61%, 68%)
HSVhsv(62, 45%, 87%)
CMYKcmyk(1.3%, 0%, 44.8%, 12.5%)
CIE-LABlab(86.71, -15.05, 48.41)
CIE-LCHlch(86.71, 50.70, 107.27°)
OKLaboklab(88.02% -0.0427 0.116)
OKLCHoklch(88.02% 0.124 110.2)
XYZxyz(59.4791, 69.4223, 29.0016)
Luminance0.6942 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDF7B #7E7BDF
analogous
#DFB07B #DCDF7B #AADF7B
triadic
#DCDF7B #7BDCDF #DF7BDC
tetradic
#DCDF7B #7BDFB0 #7E7BDF #DF7BAA
square
#DCDF7B #7BDFB0 #7E7BDF #DF7BAA
split-complementary
#DCDF7B #7BAADF #B07BDF
monochromatic
#B0B42C #CFD34A #DCDF7B #E9EBAC #F6F7DE

Accessibility & contrast

On white

1.41
#DCDF7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.88
#DCDF7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCDF7B
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCDF7B#FFFFFF#000000##000000
##DCDF7B1.001.4114.8814.88
#FFFFFF1.411.0021.0021.00
#00000014.8821.001.001.00
##00000014.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD773
Deuteranopia (green-blind)
#EEDB80
Tritanopia (blue-blind)
#E8D4C7
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #dcdf7b;
/* rgb */ color: rgb(220, 223, 123);
/* oklch */ color: oklch(88.0% 0.124 110.2);
Tailwind
colors: {
  custom: {
    50: '#e8e8a3',
    500: '#dcdf7b',
    950: '#000000',
  },
}
SCSS
$custom: #dcdf7b;
$custom-light: #e8e8a3;
$custom-dark: #000000;
JSON
{
  "hex": "#dcdf7b",
  "rgb": {
    "r": 220,
    "g": 223,
    "b": 123
  },
  "hsl": {
    "h": 61.8,
    "s": 60.976,
    "l": 67.843
  },
  "oklch": {
    "l": 0.8802,
    "c": 0.12356,
    "h": 110.2
  },
  "luminance": 0.69421
}

Semantic roles & 50–950 ramp

primary
#DCDF7B
secondary
#4C49B5
accent
#1DC922
background
#FEFEFC
surface
#FDFCF6
border
#D5D5D0
text
#16160F
muted
#848480

Preview Lab

Preview with #DCDF7B

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

Preview Lab → · Contrast checker → · Palette generator →

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