#F2E077#F2E077

#F2E077 is a very light, vivid yellow. Relative luminance 0.735; OKLCH L 90.0% C 0.128 H 99.8°. Best body text is #000000 at 15.70:1 contrast (WCAG AA passes).

Color values

HEX#F2E077
RGBrgb(242, 224, 119)
HSLhsl(51, 83%, 71%)
HSVhsv(51, 51%, 95%)
CMYKcmyk(0%, 7.4%, 50.8%, 5.1%)
CIE-LABlab(88.70, -7.16, 53.13)
CIE-LCHlch(88.70, 53.61, 97.68°)
OKLaboklab(90.01% -0.0216 0.1258)
OKLCHoklch(90.01% 0.128 99.8)
XYZxyz(66.6055, 73.5229, 28.1321)
Luminance0.7352 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E077 #7789F2
analogous
#F2A377 #F2E077 #C6F277
triadic
#F2E077 #77F2E0 #E077F2
tetradic
#F2E077 #77F2A3 #7789F2 #F277C6
square
#F2E077 #77F2A3 #7789F2 #F277C6
split-complementary
#F2E077 #77C6F2 #A377F2
monochromatic
#DABD15 #EDD33F #F2E077 #F7EDAF #FCF9E3

Accessibility & contrast

On white

1.34
#F2E077 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.70
#F2E077 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E077
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E077#FFFFFF#000000##000000
##F2E0771.001.3415.7015.70
#FFFFFF1.341.0021.0021.00
#00000015.7021.001.001.00
##00000015.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DB6E
Deuteranopia (green-blind)
#F6E27C
Tritanopia (blue-blind)
#FFD3C8
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f2e077;
/* rgb */ color: rgb(242, 224, 119);
/* oklch */ color: oklch(90.0% 0.128 99.8);
Tailwind
colors: {
  custom: {
    50: '#f9e9a0',
    500: '#f2e077',
    950: '#000000',
  },
}
SCSS
$custom: #f2e077;
$custom-light: #f9e9a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e077",
  "rgb": {
    "r": 242,
    "g": 224,
    "b": 119
  },
  "hsl": {
    "h": 51.22,
    "s": 82.55,
    "l": 70.784
  },
  "oklch": {
    "l": 0.9001,
    "c": 0.1276,
    "h": 99.8
  },
  "luminance": 0.7352
}

Semantic roles & 50–950 ramp

primary
#F2E077
secondary
#4155CC
accent
#26DF07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F2E077

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

Preview Lab → · Contrast checker → · Palette generator →

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