#DCE172#DCE172

#DCE172 is a very light, vivid yellow. Relative luminance 0.703; OKLCH L 88.3% C 0.135 H 111.2°. Best body text is #000000 at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#DCE172
RGBrgb(220, 225, 114)
HSLhsl(63, 65%, 66%)
HSVhsv(63, 49%, 88%)
CMYKcmyk(2.2%, 0%, 49.3%, 11.8%)
CIE-LABlab(87.14, -16.88, 53.19)
CIE-LCHlch(87.14, 55.80, 107.60°)
OKLaboklab(88.32% -0.0487 0.1258)
OKLCHoklch(88.32% 0.135 111.2)
XYZxyz(59.4789, 70.2822, 26.3489)
Luminance0.7028 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCE172 #7772E1
analogous
#E1AF72 #DCE172 #A5E172
triadic
#DCE172 #72DCE1 #E172DC
tetradic
#DCE172 #72E1AF #7772E1 #E172A5
square
#DCE172 #72E1AF #7772E1 #E172A5
split-complementary
#DCE172 #72A5E1 #AF72E1
monochromatic
#ACB326 #CFD640 #DCE172 #E9ECA4 #F5F6D7

Accessibility & contrast

On white

1.39
#DCE172 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.06
#DCE172 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCE172
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCE172#FFFFFF#000000##000000
##DCE1721.001.3915.0615.06
#FFFFFF1.391.0021.0021.00
#00000015.0621.001.001.00
##00000015.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD968
Deuteranopia (green-blind)
#F0DC78
Tritanopia (blue-blind)
#E8D6C8
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #dce172;
/* rgb */ color: rgb(220, 225, 114);
/* oklch */ color: oklch(88.3% 0.135 111.2);
Tailwind
colors: {
  custom: {
    50: '#e9ea9d',
    500: '#dce172',
    950: '#000000',
  },
}
SCSS
$custom: #dce172;
$custom-light: #e9ea9d;
$custom-dark: #000000;
JSON
{
  "hex": "#dce172",
  "rgb": {
    "r": 220,
    "g": 225,
    "b": 114
  },
  "hsl": {
    "h": 62.703,
    "s": 64.912,
    "l": 66.471
  },
  "oklch": {
    "l": 0.88323,
    "c": 0.13487,
    "h": 111.2
  },
  "luminance": 0.70281
}

Semantic roles & 50–950 ramp

primary
#DCE172
secondary
#4843B4
accent
#19CD21
background
#FFFEFC
surface
#FEFDF5
border
#D6D5CF
text
#16160E
muted
#85847F

Preview Lab

Preview with #DCE172

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

Preview Lab → · Contrast checker → · Palette generator →

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