#F2DD77#F2DD77

#F2DD77 is a very light, vivid yellow. Relative luminance 0.719; OKLCH L 89.4% C 0.125 H 97.9°. Best body text is #000000 at 15.38:1 contrast (WCAG AA passes).

Color values

HEX#F2DD77
RGBrgb(242, 221, 119)
HSLhsl(50, 83%, 71%)
HSVhsv(50, 51%, 95%)
CMYKcmyk(0%, 8.7%, 50.8%, 5.1%)
CIE-LABlab(87.93, -5.65, 52.21)
CIE-LCHlch(87.93, 52.52, 96.18°)
OKLaboklab(89.41% -0.0173 0.1238)
OKLCHoklch(89.41% 0.125 97.9)
XYZxyz(65.8063, 71.9246, 27.8657)
Luminance0.7192 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DD77 #778CF2
analogous
#F29F77 #F2DD77 #C9F277
triadic
#F2DD77 #77F2DD #DD77F2
tetradic
#F2DD77 #77F29F #778CF2 #F277C9
square
#F2DD77 #77F29F #778CF2 #F277C9
split-complementary
#F2DD77 #77C9F2 #9F77F2
monochromatic
#DAB815 #EDCF3F #F2DD77 #F7EBAF #FCF8E3

Accessibility & contrast

On white

1.37
#F2DD77 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.38
#F2DD77 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DD77
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DD77#FFFFFF#000000##000000
##F2DD771.001.3715.3815.38
#FFFFFF1.371.0021.0021.00
#00000015.3821.001.001.00
##00000015.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED86E
Deuteranopia (green-blind)
#F4E07B
Tritanopia (blue-blind)
#FFD0C5
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f2dd77;
/* rgb */ color: rgb(242, 221, 119);
/* oklch */ color: oklch(89.4% 0.125 97.9);
Tailwind
colors: {
  custom: {
    50: '#f9e7a0',
    500: '#f2dd77',
    950: '#000000',
  },
}
SCSS
$custom: #f2dd77;
$custom-light: #f9e7a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f2dd77",
  "rgb": {
    "r": 242,
    "g": 221,
    "b": 119
  },
  "hsl": {
    "h": 49.756,
    "s": 82.55,
    "l": 70.784
  },
  "oklch": {
    "l": 0.89405,
    "c": 0.12495,
    "h": 97.9
  },
  "luminance": 0.71922
}

Semantic roles & 50–950 ramp

primary
#F2DD77
secondary
#4159CC
accent
#2BDF07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F2DD77

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

Preview Lab → · Contrast checker → · Palette generator →

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