#F2E291#F2E291

#F2E291 is a very light, moderate yellow. Relative luminance 0.753; OKLCH L 90.8% C 0.103 H 98.4°. Best body text is #000000 at 16.06:1 contrast (WCAG AA passes).

Color values

HEX#F2E291
RGBrgb(242, 226, 145)
HSLhsl(50, 79%, 76%)
HSVhsv(50, 40%, 95%)
CMYKcmyk(0%, 6.6%, 40.1%, 5.1%)
CIE-LABlab(89.54, -5.70, 41.54)
CIE-LCHlch(89.54, 41.93, 97.82°)
OKLaboklab(90.79% -0.015 0.1016)
OKLCHoklch(90.79% 0.103 98.4)
XYZxyz(68.9266, 75.3164, 37.6893)
Luminance0.7531 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E291 #91A1F2
analogous
#F2B191 #F2E291 #D1F291
triadic
#F2E291 #91F2E2 #E291F2
tetradic
#F2E291 #91F2B1 #91A1F2 #F291D1
square
#F2E291 #91F2B1 #91A1F2 #F291D1
split-complementary
#F2E291 #91D1F2 #B191F2
monochromatic
#E5C524 #ECD45A #F2E291 #F8F0C8 #FCF8E4

Accessibility & contrast

On white

1.31
#F2E291 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.06
#F2E291 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E291
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E291#FFFFFF#000000##000000
##F2E2911.001.3116.0616.06
#FFFFFF1.311.0021.0021.00
#00000016.0621.001.001.00
##00000016.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DE8B
Deuteranopia (green-blind)
#F5E494
Tritanopia (blue-blind)
#FFD7CE
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f2e291;
/* rgb */ color: rgb(242, 226, 145);
/* oklch */ color: oklch(90.8% 0.103 98.4);
Tailwind
colors: {
  custom: {
    50: '#f8ebb2',
    500: '#f2e291',
    950: '#000000',
  },
}
SCSS
$custom: #f2e291;
$custom-light: #f8ebb2;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e291",
  "rgb": {
    "r": 242,
    "g": 226,
    "b": 145
  },
  "hsl": {
    "h": 50.103,
    "s": 78.862,
    "l": 75.882
  },
  "oklch": {
    "l": 0.90787,
    "c": 0.10265,
    "h": 98.4
  },
  "luminance": 0.75314
}

Semantic roles & 50–950 ramp

primary
#F2E291
secondary
#586CCF
accent
#2DDB0A
background
#FFFEFD
surface
#FFFDF8
border
#D7D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #F2E291

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

Preview Lab → · Contrast checker → · Palette generator →

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