#DCF262#DCF262

#DCF262 is a very light, vivid yellow. Relative luminance 0.796; OKLCH L 91.8% C 0.169 H 117.2°. Best body text is #000000 at 16.92:1 contrast (WCAG AA passes).

Color values

HEX#DCF262
RGBrgb(220, 242, 98)
HSLhsl(69, 85%, 67%)
HSVhsv(69, 60%, 95%)
CMYKcmyk(9.1%, 0%, 59.5%, 5.1%)
CIE-LABlab(91.51, -26.35, 65.26)
CIE-LCHlch(91.51, 70.38, 111.99°)
OKLaboklab(91.77% -0.077 0.1501)
OKLCHoklch(91.77% 0.169 117.2)
XYZxyz(63.4731, 79.6024, 23.5739)
Luminance0.7960 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCF262 #7862F2
analogous
#F2C062 #DCF262 #94F262
triadic
#DCF262 #62DCF2 #F262DC
tetradic
#DCF262 #62F2C0 #7862F2 #F26294
square
#DCF262 #62F2C0 #7862F2 #F26294
split-complementary
#DCF262 #6294F2 #C062F2
monochromatic
#ADC911 #CFED29 #DCF262 #E9F79B #F5FBD3

Accessibility & contrast

On white

1.24
#DCF262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.92
#DCF262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCF262
16.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCF262#FFFFFF#000000##000000
##DCF2621.001.2416.9216.92
#FFFFFF1.241.0021.0021.00
#00000016.9221.001.001.00
##00000016.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE651
Deuteranopia (green-blind)
#FFE86B
Tritanopia (blue-blind)
#E8E6D3
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #dcf262;
/* rgb */ color: rgb(220, 242, 98);
/* oklch */ color: oklch(91.8% 0.169 117.2);
Tailwind
colors: {
  custom: {
    50: '#eaf694',
    500: '#dcf262',
    950: '#000000',
  },
}
SCSS
$custom: #dcf262;
$custom-light: #eaf694;
$custom-dark: #000000;
JSON
{
  "hex": "#dcf262",
  "rgb": {
    "r": 220,
    "g": 242,
    "b": 98
  },
  "hsl": {
    "h": 69.167,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.91769,
    "c": 0.16867,
    "h": 117.2
  },
  "luminance": 0.79602
}

Semantic roles & 50–950 ramp

primary
#DCF262
secondary
#4933C6
accent
#04E126
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170E
muted
#85857F

Preview Lab

Preview with #DCF262

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

Preview Lab → · Contrast checker → · Palette generator →

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