#F2ED77#F2ED77

#F2ED77 is a very light, vivid yellow. Relative luminance 0.808; OKLCH L 92.7% C 0.140 H 106.6°. Best body text is #000000 at 17.16:1 contrast (WCAG AA passes).

Color values

HEX#F2ED77
RGBrgb(242, 237, 119)
HSLhsl(58, 83%, 71%)
HSVhsv(58, 51%, 95%)
CMYKcmyk(0%, 2.1%, 50.8%, 5.1%)
CIE-LABlab(92.03, -13.63, 57.08)
CIE-LCHlch(92.03, 58.69, 103.43°)
OKLaboklab(92.66% -0.0402 0.1344)
OKLCHoklch(92.66% 0.14 106.6)
XYZxyz(70.2337, 80.7795, 29.3415)
Luminance0.8078 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2ED77 #777CF2
analogous
#F2AF77 #F2ED77 #B9F277
triadic
#F2ED77 #77F2ED #ED77F2
tetradic
#F2ED77 #77F2AF #777CF2 #F277B9
square
#F2ED77 #77F2AF #777CF2 #F277B9
split-complementary
#F2ED77 #77B9F2 #AF77F2
monochromatic
#DAD215 #EDE63F #F2ED77 #F7F4AF #FCFBE3

Accessibility & contrast

On white

1.22
#F2ED77 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.16
#F2ED77 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2ED77
17.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2ED77#FFFFFF#000000##000000
##F2ED771.001.2217.1617.16
#FFFFFF1.221.0021.0021.00
#00000017.1621.001.001.00
##00000017.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE56C
Deuteranopia (green-blind)
#FFEB7D
Tritanopia (blue-blind)
#FFE0D2
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f2ed77;
/* rgb */ color: rgb(242, 237, 119);
/* oklch */ color: oklch(92.7% 0.140 106.6);
Tailwind
colors: {
  custom: {
    50: '#f9f2a1',
    500: '#f2ed77',
    950: '#000000',
  },
}
SCSS
$custom: #f2ed77;
$custom-light: #f9f2a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ed77",
  "rgb": {
    "r": 242,
    "g": 237,
    "b": 119
  },
  "hsl": {
    "h": 57.561,
    "s": 82.55,
    "l": 70.784
  },
  "oklch": {
    "l": 0.9266,
    "c": 0.14025,
    "h": 106.6
  },
  "luminance": 0.80778
}

Semantic roles & 50–950 ramp

primary
#F2ED77
secondary
#4147CC
accent
#0FDF07
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F2ED77

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

Preview Lab → · Contrast checker → · Palette generator →

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