#DEDA51#DEDA51

#DEDA51 is a very light, vivid yellow. Relative luminance 0.663; OKLCH L 86.7% C 0.155 H 107.6°. Best body text is #000000 at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#DEDA51
RGBrgb(222, 218, 81)
HSLhsl(58, 68%, 59%)
HSVhsv(58, 64%, 87%)
CMYKcmyk(0%, 1.8%, 63.5%, 12.9%)
CIE-LABlab(85.13, -15.06, 65.44)
CIE-LCHlch(85.13, 67.15, 102.96°)
OKLaboklab(86.67% -0.0471 0.1481)
OKLCHoklch(86.67% 0.155 107.6)
XYZxyz(56.6827, 66.2683, 17.5882)
Luminance0.6627 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEDA51 #5155DE
analogous
#DE9451 #DEDA51 #9CDE51
triadic
#DEDA51 #51DEDA #DA51DE
tetradic
#DEDA51 #51DE94 #5155DE #DE519C
square
#DEDA51 #51DE94 #5155DE #DE519C
split-complementary
#DEDA51 #519CDE #9451DE
monochromatic
#98941D #CBC727 #DEDA51 #E8E584 #F2F0B8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DEDA51#FFFFFF#000000##000000
##DEDA511.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)
#EBD23F
Deuteranopia (green-blind)
#EED75A
Tritanopia (blue-blind)
#EDCDBE
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #deda51;
/* rgb */ color: rgb(222, 218, 81);
/* oklch */ color: oklch(86.7% 0.155 107.6);
Tailwind
colors: {
  custom: {
    50: '#ebe588',
    500: '#deda51',
    950: '#000000',
  },
}
SCSS
$custom: #deda51;
$custom-light: #ebe588;
$custom-dark: #000000;
JSON
{
  "hex": "#deda51",
  "rgb": {
    "r": 222,
    "g": 218,
    "b": 81
  },
  "hsl": {
    "h": 58.298,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.86665,
    "c": 0.15541,
    "h": 107.6
  },
  "luminance": 0.66266
}

Semantic roles & 50–950 ramp

primary
#DEDA51
secondary
#373A9C
accent
#42EB3D
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DEDA51

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

Preview Lab → · Contrast checker → · Palette generator →

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