#DDF262#DDF262

#DDF262 is a very light, vivid yellow. Relative luminance 0.798; OKLCH L 91.8% C 0.168 H 116.8°. Best body text is #000000 at 16.95:1 contrast (WCAG AA passes).

Color values

HEX#DDF262
RGBrgb(221, 242, 98)
HSLhsl(69, 85%, 67%)
HSVhsv(69, 60%, 95%)
CMYKcmyk(8.7%, 0%, 59.5%, 5.1%)
CIE-LABlab(91.58, -25.96, 65.36)
CIE-LCHlch(91.58, 70.32, 111.66°)
OKLaboklab(91.84% -0.076 0.1502)
OKLCHoklch(91.84% 0.168 116.8)
XYZxyz(63.7767, 79.7590, 23.5882)
Luminance0.7976 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDF262 #7762F2
analogous
#F2BF62 #DDF262 #95F262
triadic
#DDF262 #62DDF2 #F262DD
tetradic
#DDF262 #62F2BF #7762F2 #F26295
square
#DDF262 #62F2BF #7762F2 #F26295
split-complementary
#DDF262 #6295F2 #BF62F2
monochromatic
#AEC911 #D1ED29 #DDF262 #E9F79B #F5FBD3

Accessibility & contrast

On white

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

On black

16.95
#DDF262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDF262
16.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDF262#FFFFFF#000000##000000
##DDF2621.001.2416.9516.95
#FFFFFF1.241.0021.0021.00
#00000016.9521.001.001.00
##00000016.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ddf262;
/* rgb */ color: rgb(221, 242, 98);
/* oklch */ color: oklch(91.8% 0.168 116.8);
Tailwind
colors: {
  custom: {
    50: '#eaf694',
    500: '#ddf262',
    950: '#000000',
  },
}
SCSS
$custom: #ddf262;
$custom-light: #eaf694;
$custom-dark: #000000;
JSON
{
  "hex": "#ddf262",
  "rgb": {
    "r": 221,
    "g": 242,
    "b": 98
  },
  "hsl": {
    "h": 68.75,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.91843,
    "c": 0.16836,
    "h": 116.8
  },
  "luminance": 0.79758
}

Semantic roles & 50–950 ramp

primary
#DDF262
secondary
#4833C6
accent
#04E125
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170E
muted
#85857F

Preview Lab

Preview with #DDF262

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

Preview Lab → · Contrast checker → · Palette generator →

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