#F2E176#F2E176

#F2E176 is a very light, vivid yellow. Relative luminance 0.740; OKLCH L 90.2% C 0.129 H 100.4°. Best body text is #000000 at 15.81:1 contrast (WCAG AA passes).

Color values

HEX#F2E176
RGBrgb(242, 225, 118)
HSLhsl(52, 83%, 71%)
HSVhsv(52, 51%, 95%)
CMYKcmyk(0%, 7%, 51.2%, 5.1%)
CIE-LABlab(88.94, -7.75, 53.89)
CIE-LCHlch(88.94, 54.44, 98.18°)
OKLaboklab(90.2% -0.0234 0.1273)
OKLCHoklch(90.2% 0.129 100.4)
XYZxyz(66.8153, 74.0381, 27.9073)
Luminance0.7404 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E176 #7687F2
analogous
#F2A376 #F2E176 #C5F276
triadic
#F2E176 #76F2E1 #E176F2
tetradic
#F2E176 #76F2A3 #7687F2 #F276C5
square
#F2E176 #76F2A3 #7687F2 #F276C5
split-complementary
#F2E176 #76C5F2 #A376F2
monochromatic
#D9BE15 #EDD53E #F2E176 #F7EDAE #FCF9E3

Accessibility & contrast

On white

1.33
#F2E176 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.81
#F2E176 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E176
15.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E176#FFFFFF#000000##000000
##F2E1761.001.3315.8115.81
#FFFFFF1.331.0021.0021.00
#00000015.8121.001.001.00
##00000015.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DB6C
Deuteranopia (green-blind)
#F7E27B
Tritanopia (blue-blind)
#FFD4C8
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f2e176;
/* rgb */ color: rgb(242, 225, 118);
/* oklch */ color: oklch(90.2% 0.129 100.4);
Tailwind
colors: {
  custom: {
    50: '#f9eaa0',
    500: '#f2e176',
    950: '#000000',
  },
}
SCSS
$custom: #f2e176;
$custom-light: #f9eaa0;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e176",
  "rgb": {
    "r": 242,
    "g": 225,
    "b": 118
  },
  "hsl": {
    "h": 51.774,
    "s": 82.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.902,
    "c": 0.12947,
    "h": 100.4
  },
  "luminance": 0.74036
}

Semantic roles & 50–950 ramp

primary
#F2E176
secondary
#4053CC
accent
#24DF06
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F2E176

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

Preview Lab → · Contrast checker → · Palette generator →

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