#DCF162#DCF162

#DCF162 is a very light, vivid yellow. Relative luminance 0.790; OKLCH L 91.6% C 0.168 H 116.9°. Best body text is #000000 at 16.80:1 contrast (WCAG AA passes).

Color values

HEX#DCF162
RGBrgb(220, 241, 98)
HSLhsl(69, 84%, 66%)
HSVhsv(69, 59%, 95%)
CMYKcmyk(8.7%, 0%, 59.3%, 5.5%)
CIE-LABlab(91.24, -25.88, 64.97)
CIE-LCHlch(91.24, 69.93, 111.72°)
OKLaboklab(91.55% -0.0757 0.1494)
OKLCHoklch(91.55% 0.168 116.9)
XYZxyz(63.1763, 79.0088, 23.4750)
Luminance0.7901 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCF162 #7762F1
analogous
#F1BF62 #DCF162 #95F162
triadic
#DCF162 #62DCF1 #F162DC
tetradic
#DCF162 #62F1BF #7762F1 #F16295
square
#DCF162 #62F1BF #7762F1 #F16295
split-complementary
#DCF162 #6295F1 #BF62F1
monochromatic
#ACC712 #CFEC2A #DCF162 #E9F69A #F5FBD2

Accessibility & contrast

On white

1.25
#DCF162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.80
#DCF162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCF162
16.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCF162#FFFFFF#000000##000000
##DCF1621.001.2516.8016.80
#FFFFFF1.251.0021.0021.00
#00000016.8021.001.001.00
##00000016.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE552
Deuteranopia (green-blind)
#FEE76B
Tritanopia (blue-blind)
#E8E5D3
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #dcf162;
/* rgb */ color: rgb(220, 241, 98);
/* oklch */ color: oklch(91.6% 0.168 116.9);
Tailwind
colors: {
  custom: {
    50: '#eaf594',
    500: '#dcf162',
    950: '#000000',
  },
}
SCSS
$custom: #dcf162;
$custom-light: #eaf594;
$custom-dark: #000000;
JSON
{
  "hex": "#dcf162",
  "rgb": {
    "r": 220,
    "g": 241,
    "b": 98
  },
  "hsl": {
    "h": 68.811,
    "s": 83.626,
    "l": 66.471
  },
  "oklch": {
    "l": 0.91554,
    "c": 0.16752,
    "h": 116.9
  },
  "luminance": 0.79008
}

Semantic roles & 50–950 ramp

primary
#DCF162
secondary
#4833C4
accent
#05E026
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170E
muted
#85857F

Preview Lab

Preview with #DCF162

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

Preview Lab → · Contrast checker → · Palette generator →

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