#DCE231#DCE231

#DCE231 is a very light, vivid yellow. Relative luminance 0.698; OKLCH L 88.0% C 0.182 H 111.7°. Best body text is #000000 at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#DCE231
RGBrgb(220, 226, 49)
HSLhsl(62, 75%, 54%)
HSVhsv(62, 78%, 89%)
CMYKcmyk(2.7%, 0%, 78.3%, 11.4%)
CIE-LABlab(86.91, -21.29, 78.04)
CIE-LCHlch(86.91, 80.89, 105.26°)
OKLaboklab(87.99% -0.0673 0.1695)
OKLCHoklch(87.99% 0.182 111.7)
XYZxyz(57.2680, 69.8316, 13.3673)
Luminance0.6983 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCE231 #3731E2
analogous
#E29031 #DCE231 #84E231
triadic
#DCE231 #31DCE2 #E231DC
tetradic
#DCE231 #31E290 #3731E2 #E23184
square
#DCE231 #31E290 #3731E2 #E23184
split-complementary
#DCE231 #3184E2 #9031E2
monochromatic
#828613 #B6BB1A #DCE231 #E5EA67 #EEF19C

Accessibility & contrast

On white

1.40
#DCE231 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.97
#DCE231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCE231
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCE231#FFFFFF#000000##000000
##DCE2311.001.4014.9714.97
#FFFFFF1.401.0021.0021.00
#00000014.9721.001.001.00
##00000014.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4D700
Deuteranopia (green-blind)
#F5DC42
Tritanopia (blue-blind)
#EBD4C2
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #dce231;
/* rgb */ color: rgb(220, 226, 49);
/* oklch */ color: oklch(88.0% 0.182 111.7);
Tailwind
colors: {
  custom: {
    50: '#ebea79',
    500: '#dce231',
    950: '#000000',
  },
}
SCSS
$custom: #dce231;
$custom-light: #ebea79;
$custom-dark: #000000;
JSON
{
  "hex": "#dce231",
  "rgb": {
    "r": 220,
    "g": 226,
    "b": 49
  },
  "hsl": {
    "h": 62.034,
    "s": 75.319,
    "l": 53.922
  },
  "oklch": {
    "l": 0.8799,
    "c": 0.18235,
    "h": 111.7
  },
  "luminance": 0.6983
}

Semantic roles & 50–950 ramp

primary
#DCE231
secondary
#2F2B8C
accent
#36F23C
background
#FFFEFB
surface
#FEFDF2
border
#D6D5CC
text
#17160A
muted
#85847D

Preview Lab

Preview with #DCE231

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

Preview Lab → · Contrast checker → · Palette generator →

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