#DCEA51#DCEA51

#DCEA51 is a very light, vivid yellow. Relative luminance 0.747; OKLCH L 89.9% C 0.172 H 114.4°. Best body text is #000000 at 15.93:1 contrast (WCAG AA passes).

Color values

HEX#DCEA51
RGBrgb(220, 234, 81)
HSLhsl(65, 78%, 62%)
HSVhsv(65, 65%, 92%)
CMYKcmyk(6%, 0%, 65.4%, 8.2%)
CIE-LABlab(89.23, -23.66, 69.65)
CIE-LCHlch(89.23, 73.56, 108.76°)
OKLaboklab(89.9% -0.0711 0.157)
OKLCHoklch(89.9% 0.172 114.4)
XYZxyz(60.4248, 74.6564, 19.0100)
Luminance0.7466 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCEA51 #5F51EA
analogous
#EAAC51 #DCEA51 #90EA51
triadic
#DCEA51 #51DCEA #EA51DC
tetradic
#DCEA51 #51EAAC #5F51EA #EA5190
square
#DCEA51 #51EAAC #5F51EA #EA5190
split-complementary
#DCEA51 #5190EA #AC51EA
monochromatic
#9EAC15 #D0E21B #DCEA51 #E7F188 #F2F7BE

Accessibility & contrast

On white

1.32
#DCEA51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.93
#DCEA51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCEA51
15.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCEA51#FFFFFF#000000##000000
##DCEA511.001.3215.9315.93
#FFFFFF1.321.0021.0021.00
#00000015.9321.001.001.00
##00000015.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FADF3B
Deuteranopia (green-blind)
#FAE25C
Tritanopia (blue-blind)
#EADDCB
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #dcea51;
/* rgb */ color: rgb(220, 234, 81);
/* oklch */ color: oklch(89.9% 0.172 114.4);
Tailwind
colors: {
  custom: {
    50: '#eaf08a',
    500: '#dcea51',
    950: '#000000',
  },
}
SCSS
$custom: #dcea51;
$custom-light: #eaf08a;
$custom-dark: #000000;
JSON
{
  "hex": "#dcea51",
  "rgb": {
    "r": 220,
    "g": 234,
    "b": 81
  },
  "hsl": {
    "h": 65.49,
    "s": 78.462,
    "l": 61.765
  },
  "oklch": {
    "l": 0.89903,
    "c": 0.17239,
    "h": 114.4
  },
  "luminance": 0.74655
}

Semantic roles & 50–950 ramp

primary
#DCEA51
secondary
#3E32AD
accent
#0BDB1E
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17160C
muted
#85857F

Preview Lab

Preview with #DCEA51

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

Preview Lab → · Contrast checker → · Palette generator →

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