#DEDF5F#DEDF5F

#DEDF5F is a very light, vivid yellow. Relative luminance 0.691; OKLCH L 87.8% C 0.149 H 109.5°. Best body text is #000000 at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#DEDF5F
RGBrgb(222, 223, 95)
HSLhsl(60, 67%, 62%)
HSVhsv(60, 57%, 87%)
CMYKcmyk(0.4%, 0%, 57.4%, 12.5%)
CIE-LABlab(86.57, -16.61, 61.14)
CIE-LCHlch(86.57, 63.35, 105.20°)
OKLaboklab(87.85% -0.05 0.1409)
OKLCHoklch(87.85% 0.149 109.5)
XYZxyz(58.5791, 69.1327, 21.0824)
Luminance0.6913 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEDF5F #605FDF
analogous
#DFA05F #DEDF5F #9EDF5F
triadic
#DEDF5F #5FDEDF #DF5FDE
tetradic
#DEDF5F #5FDFA0 #605FDF #DF5F9E
square
#DEDF5F #5FDFA0 #605FDF #DF5F9E
split-complementary
#DEDF5F #5F9EDF #A05FDF
monochromatic
#A2A321 #D3D52C #DEDF5F #E9E992 #F3F3C5

Accessibility & contrast

On white

1.42
#DEDF5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.83
#DEDF5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEDF5F
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEDF5F#FFFFFF#000000##000000
##DEDF5F1.001.4214.8314.83
#FFFFFF1.421.0021.0021.00
#00000014.8321.001.001.00
##00000014.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD651
Deuteranopia (green-blind)
#F1DB66
Tritanopia (blue-blind)
#ECD2C3
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #dedf5f;
/* rgb */ color: rgb(222, 223, 95);
/* oklch */ color: oklch(87.8% 0.149 109.5);
Tailwind
colors: {
  custom: {
    50: '#ebe891',
    500: '#dedf5f',
    950: '#000000',
  },
}
SCSS
$custom: #dedf5f;
$custom-light: #ebe891;
$custom-dark: #000000;
JSON
{
  "hex": "#dedf5f",
  "rgb": {
    "r": 222,
    "g": 223,
    "b": 95
  },
  "hsl": {
    "h": 60.469,
    "s": 66.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.87848,
    "c": 0.14949,
    "h": 109.5
  },
  "luminance": 0.69131
}

Semantic roles & 50–950 ramp

primary
#DEDF5F
secondary
#3D3CA6
accent
#17CF18
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #DEDF5F

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

Preview Lab → · Contrast checker → · Palette generator →

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