#DEDA4F#DEDA4F

#DEDA4F is a very light, vivid yellow. Relative luminance 0.662; OKLCH L 86.6% C 0.157 H 107.7°. Best body text is #000000 at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#DEDA4F
RGBrgb(222, 218, 79)
HSLhsl(58, 68%, 59%)
HSVhsv(58, 64%, 87%)
CMYKcmyk(0%, 1.8%, 64.4%, 12.9%)
CIE-LABlab(85.12, -15.17, 66.23)
CIE-LCHlch(85.12, 67.94, 102.90°)
OKLaboklab(86.65% -0.0476 0.1495)
OKLCHoklch(86.65% 0.157 107.7)
XYZxyz(56.6088, 66.2387, 17.1990)
Luminance0.6624 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEDA4F #4F53DE
analogous
#DE934F #DEDA4F #9BDE4F
triadic
#DEDA4F #4FDEDA #DA4FDE
tetradic
#DEDA4F #4FDE93 #4F53DE #DE4F9B
square
#DEDA4F #4FDE93 #4F53DE #DE4F9B
split-complementary
#DEDA4F #4F9BDE #934FDE
monochromatic
#96931C #CAC526 #DEDA4F #E8E583 #F1F0B6

Accessibility & contrast

On white

1.47
#DEDA4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.25
#DEDA4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEDA4F
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEDA4F#FFFFFF#000000##000000
##DEDA4F1.001.4714.2514.25
#FFFFFF1.471.0021.0021.00
#00000014.2521.001.001.00
##00000014.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD23C
Deuteranopia (green-blind)
#EED758
Tritanopia (blue-blind)
#EDCCBE
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #deda4f;
/* rgb */ color: rgb(222, 218, 79);
/* oklch */ color: oklch(86.6% 0.157 107.7);
Tailwind
colors: {
  custom: {
    50: '#ece587',
    500: '#deda4f',
    950: '#000000',
  },
}
SCSS
$custom: #deda4f;
$custom-light: #ece587;
$custom-dark: #000000;
JSON
{
  "hex": "#deda4f",
  "rgb": {
    "r": 222,
    "g": 218,
    "b": 79
  },
  "hsl": {
    "h": 58.322,
    "s": 68.421,
    "l": 59.02
  },
  "oklch": {
    "l": 0.86648,
    "c": 0.15686,
    "h": 107.7
  },
  "luminance": 0.66237
}

Semantic roles & 50–950 ramp

primary
#DEDA4F
secondary
#37399B
accent
#41EB3D
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DEDA4F

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

Preview Lab → · Contrast checker → · Palette generator →

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