#F2DE77#F2DE77

#F2DE77 is a very light, vivid yellow. Relative luminance 0.725; OKLCH L 89.6% C 0.126 H 98.6°. Best body text is #000000 at 15.49:1 contrast (WCAG AA passes).

Color values

HEX#F2DE77
RGBrgb(242, 222, 119)
HSLhsl(50, 83%, 71%)
HSVhsv(50, 51%, 95%)
CMYKcmyk(0%, 8.3%, 50.8%, 5.1%)
CIE-LABlab(88.19, -6.16, 52.52)
CIE-LCHlch(88.19, 52.88, 96.69°)
OKLaboklab(89.61% -0.0187 0.1244)
OKLCHoklch(89.61% 0.126 98.6)
XYZxyz(66.0711, 72.4542, 27.9539)
Luminance0.7245 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DE77 #778BF2
analogous
#F2A077 #F2DE77 #C8F277
triadic
#F2DE77 #77F2DE #DE77F2
tetradic
#F2DE77 #77F2A0 #778BF2 #F277C8
square
#F2DE77 #77F2A0 #778BF2 #F277C8
split-complementary
#F2DE77 #77C8F2 #A077F2
monochromatic
#DABA15 #EDD03F #F2DE77 #F7ECAF #FCF8E3

Accessibility & contrast

On white

1.36
#F2DE77 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.49
#F2DE77 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DE77
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DE77#FFFFFF#000000##000000
##F2DE771.001.3615.4915.49
#FFFFFF1.361.0021.0021.00
#00000015.4921.001.001.00
##00000015.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD96E
Deuteranopia (green-blind)
#F5E07B
Tritanopia (blue-blind)
#FFD1C6
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f2de77;
/* rgb */ color: rgb(242, 222, 119);
/* oklch */ color: oklch(89.6% 0.126 98.6);
Tailwind
colors: {
  custom: {
    50: '#f9e8a0',
    500: '#f2de77',
    950: '#000000',
  },
}
SCSS
$custom: #f2de77;
$custom-light: #f9e8a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f2de77",
  "rgb": {
    "r": 242,
    "g": 222,
    "b": 119
  },
  "hsl": {
    "h": 50.244,
    "s": 82.55,
    "l": 70.784
  },
  "oklch": {
    "l": 0.89606,
    "c": 0.12582,
    "h": 98.6
  },
  "luminance": 0.72452
}

Semantic roles & 50–950 ramp

primary
#F2DE77
secondary
#4158CC
accent
#2ADF07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F2DE77

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

Preview Lab → · Contrast checker → · Palette generator →

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