#DCEA4F#DCEA4F

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

Color values

HEX#DCEA4F
RGBrgb(220, 234, 79)
HSLhsl(65, 79%, 61%)
HSVhsv(65, 66%, 92%)
CMYKcmyk(6%, 0%, 66.2%, 8.2%)
CIE-LABlab(89.22, -23.77, 70.40)
CIE-LCHlch(89.22, 74.30, 108.66°)
OKLaboklab(89.89% -0.0716 0.1583)
OKLCHoklch(89.89% 0.174 114.4)
XYZxyz(60.3509, 74.6269, 18.6208)
Luminance0.7463 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCEA4F #5D4FEA
analogous
#EAAB4F #DCEA4F #8FEA4F
triadic
#DCEA4F #4FDCEA #EA4FDC
tetradic
#DCEA4F #4FEAAB #5D4FEA #EA4F8F
square
#DCEA4F #4FEAAB #5D4FEA #EA4F8F
split-complementary
#DCEA4F #4F8FEA #AB4FEA
monochromatic
#9DAA14 #CFE11B #DCEA4F #E7F186 #F2F7BC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCEA4F#FFFFFF#000000##000000
##DCEA4F1.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)
#FADF38
Deuteranopia (green-blind)
#FAE25A
Tritanopia (blue-blind)
#EADDCB
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #dcea4f;
/* rgb */ color: rgb(220, 234, 79);
/* oklch */ color: oklch(89.9% 0.174 114.4);
Tailwind
colors: {
  custom: {
    50: '#eaf088',
    500: '#dcea4f',
    950: '#000000',
  },
}
SCSS
$custom: #dcea4f;
$custom-light: #eaf088;
$custom-dark: #000000;
JSON
{
  "hex": "#dcea4f",
  "rgb": {
    "r": 220,
    "g": 234,
    "b": 79
  },
  "hsl": {
    "h": 65.419,
    "s": 78.68,
    "l": 61.373
  },
  "oklch": {
    "l": 0.89888,
    "c": 0.17376,
    "h": 114.4
  },
  "luminance": 0.74626
}

Semantic roles & 50–950 ramp

primary
#DCEA4F
secondary
#3D32AC
accent
#0BDB1D
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17160C
muted
#85857F

Preview Lab

Preview with #DCEA4F

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

Preview Lab → · Contrast checker → · Palette generator →

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