#DEDF7F#DEDF7F

#DEDF7F is a very light, moderate yellow. Relative luminance 0.698; OKLCH L 88.2% C 0.119 H 109.1°. Best body text is #000000 at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#DEDF7F
RGBrgb(222, 223, 127)
HSLhsl(61, 60%, 69%)
HSVhsv(61, 43%, 87%)
CMYKcmyk(0.4%, 0%, 43%, 12.5%)
CIE-LABlab(86.92, -13.87, 46.76)
CIE-LCHlch(86.92, 48.78, 106.53°)
OKLaboklab(88.24% -0.039 0.1125)
OKLCHoklch(88.24% 0.119 109.1)
XYZxyz(60.3437, 69.8385, 30.3759)
Luminance0.6984 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEDF7F #807FDF
analogous
#DFB07F #DEDF7F #AEDF7F
triadic
#DEDF7F #7FDEDF #DF7FDE
tetradic
#DEDF7F #7FDFB0 #807FDF #DF7FAE
square
#DEDF7F #7FDFB0 #807FDF #DF7FAE
split-complementary
#DEDF7F #7FAEDF #B07FDF
monochromatic
#B5B62E #D1D34E #DEDF7F #EBEBB0 #F7F7E1

Accessibility & contrast

On white

1.40
#DEDF7F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.97
#DEDF7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEDF7F
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEDF7F#FFFFFF#000000##000000
##DEDF7F1.001.4014.9714.97
#FFFFFF1.401.0021.0021.00
#00000014.9721.001.001.00
##00000014.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD877
Deuteranopia (green-blind)
#EEDB83
Tritanopia (blue-blind)
#EAD4C8
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #dedf7f;
/* rgb */ color: rgb(222, 223, 127);
/* oklch */ color: oklch(88.2% 0.119 109.1);
Tailwind
colors: {
  custom: {
    50: '#eae8a6',
    500: '#dedf7f',
    950: '#000000',
  },
}
SCSS
$custom: #dedf7f;
$custom-light: #eae8a6;
$custom-dark: #000000;
JSON
{
  "hex": "#dedf7f",
  "rgb": {
    "r": 222,
    "g": 223,
    "b": 127
  },
  "hsl": {
    "h": 60.625,
    "s": 60,
    "l": 68.627
  },
  "oklch": {
    "l": 0.88238,
    "c": 0.11912,
    "h": 109.1
  },
  "luminance": 0.69837
}

Semantic roles & 50–950 ramp

primary
#DEDF7F
secondary
#4D4CB6
accent
#1EC820
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16160F
muted
#858480

Preview Lab

Preview with #DEDF7F

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

Preview Lab → · Contrast checker → · Palette generator →

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