#F2E293#F2E293

#F2E293 is a very light, moderate yellow. Relative luminance 0.754; OKLCH L 90.8% C 0.100 H 98.1°. Best body text is #000000 at 16.08:1 contrast (WCAG AA passes).

Color values

HEX#F2E293
RGBrgb(242, 226, 147)
HSLhsl(50, 79%, 76%)
HSVhsv(50, 39%, 95%)
CMYKcmyk(0%, 6.6%, 39.3%, 5.1%)
CIE-LABlab(89.57, -5.49, 40.58)
CIE-LCHlch(89.57, 40.95, 97.71°)
OKLaboklab(90.82% -0.0142 0.0994)
OKLCHoklch(90.82% 0.1 98.1)
XYZxyz(69.0821, 75.3787, 38.5086)
Luminance0.7538 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E293 #93A3F2
analogous
#F2B393 #F2E293 #D3F293
triadic
#F2E293 #93F2E2 #E293F2
tetradic
#F2E293 #93F2B3 #93A3F2 #F293D3
square
#F2E293 #93F2B3 #93A3F2 #F293D3
split-complementary
#F2E293 #93D3F2 #B393F2
monochromatic
#E5C526 #EBD35C #F2E293 #F9F1CA #FCF8E4

Accessibility & contrast

On white

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

On black

16.08
#F2E293 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E293
16.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E293#FFFFFF#000000##000000
##F2E2931.001.3116.0816.08
#FFFFFF1.311.0021.0021.00
#00000016.0821.001.001.00
##00000016.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2e293;
/* rgb */ color: rgb(242, 226, 147);
/* oklch */ color: oklch(90.8% 0.100 98.1);
Tailwind
colors: {
  custom: {
    50: '#f8ebb3',
    500: '#f2e293',
    950: '#000000',
  },
}
SCSS
$custom: #f2e293;
$custom-light: #f8ebb3;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e293",
  "rgb": {
    "r": 242,
    "g": 226,
    "b": 147
  },
  "hsl": {
    "h": 49.895,
    "s": 78.512,
    "l": 76.275
  },
  "oklch": {
    "l": 0.9082,
    "c": 0.10045,
    "h": 98.1
  },
  "luminance": 0.75377
}

Semantic roles & 50–950 ramp

primary
#F2E293
secondary
#5A6ECF
accent
#2EDB0B
background
#FFFEFD
surface
#FFFDF8
border
#D7D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #F2E293

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

Preview Lab → · Contrast checker → · Palette generator →

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