#F2E476#F2E476

#F2E476 is a very light, vivid yellow. Relative luminance 0.757; OKLCH L 90.8% C 0.132 H 102.1°. Best body text is #000000 at 16.13:1 contrast (WCAG AA passes).

Color values

HEX#F2E476
RGBrgb(242, 228, 118)
HSLhsl(53, 83%, 71%)
HSVhsv(53, 51%, 95%)
CMYKcmyk(0%, 5.8%, 51.2%, 5.1%)
CIE-LABlab(89.71, -9.25, 54.80)
CIE-LCHlch(89.71, 55.58, 99.58°)
OKLaboklab(90.81% -0.0277 0.1293)
OKLCHoklch(90.81% 0.132 102.1)
XYZxyz(67.6334, 75.6744, 28.1800)
Luminance0.7567 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E476 #7684F2
analogous
#F2A676 #F2E476 #C2F276
triadic
#F2E476 #76F2E4 #E476F2
tetradic
#F2E476 #76F2A6 #7684F2 #F276C2
square
#F2E476 #76F2A6 #7684F2 #F276C2
split-complementary
#F2E476 #76C2F2 #A676F2
monochromatic
#D9C315 #EDD93E #F2E476 #F7EFAE #FCF9E3

Accessibility & contrast

On white

1.30
#F2E476 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.13
#F2E476 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E476
16.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E476#FFFFFF#000000##000000
##F2E4761.001.3016.1316.13
#FFFFFF1.301.0021.0021.00
#00000016.1321.001.001.00
##00000016.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DE6C
Deuteranopia (green-blind)
#FAE47B
Tritanopia (blue-blind)
#FFD7CB
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f2e476;
/* rgb */ color: rgb(242, 228, 118);
/* oklch */ color: oklch(90.8% 0.132 102.1);
Tailwind
colors: {
  custom: {
    50: '#f9eca0',
    500: '#f2e476',
    950: '#000000',
  },
}
SCSS
$custom: #f2e476;
$custom-light: #f9eca0;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e476",
  "rgb": {
    "r": 242,
    "g": 228,
    "b": 118
  },
  "hsl": {
    "h": 53.226,
    "s": 82.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.90808,
    "c": 0.13225,
    "h": 102.1
  },
  "luminance": 0.75672
}

Semantic roles & 50–950 ramp

primary
#F2E476
secondary
#4050CC
accent
#1FDF06
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F2E476

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

Preview Lab → · Contrast checker → · Palette generator →

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