#F2E076#F2E076

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

Color values

HEX#F2E076
RGBrgb(242, 224, 118)
HSLhsl(51, 83%, 71%)
HSVhsv(51, 51%, 95%)
CMYKcmyk(0%, 7.4%, 51.2%, 5.1%)
CIE-LABlab(88.69, -7.25, 53.59)
CIE-LCHlch(88.69, 54.07, 97.70°)
OKLaboklab(90% -0.022 0.1267)
OKLCHoklch(90% 0.129 99.8)
XYZxyz(66.5457, 73.4990, 27.8174)
Luminance0.7350 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E076 #7688F2
analogous
#F2A276 #F2E076 #C6F276
triadic
#F2E076 #76F2E0 #E076F2
tetradic
#F2E076 #76F2A2 #7688F2 #F276C6
square
#F2E076 #76F2A2 #7688F2 #F276C6
split-complementary
#F2E076 #76C6F2 #A276F2
monochromatic
#D9BC15 #EDD33E #F2E076 #F7EDAE #FCF9E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2E076#FFFFFF#000000##000000
##F2E0761.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)
#F1DB6C
Deuteranopia (green-blind)
#F7E27B
Tritanopia (blue-blind)
#FFD3C8
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f2e076;
/* rgb */ color: rgb(242, 224, 118);
/* oklch */ color: oklch(90.0% 0.129 99.8);
Tailwind
colors: {
  custom: {
    50: '#f9e9a0',
    500: '#f2e076',
    950: '#000000',
  },
}
SCSS
$custom: #f2e076;
$custom-light: #f9e9a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e076",
  "rgb": {
    "r": 242,
    "g": 224,
    "b": 118
  },
  "hsl": {
    "h": 51.29,
    "s": 82.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.89997,
    "c": 0.12855,
    "h": 99.8
  },
  "luminance": 0.73497
}

Semantic roles & 50–950 ramp

primary
#F2E076
secondary
#4054CC
accent
#26DF06
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F2E076

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

Preview Lab → · Contrast checker → · Palette generator →

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