#F2E993#F2E993

#F2E993 is a very light, moderate yellow. Relative luminance 0.793; OKLCH L 92.2% C 0.107 H 103.1°. Best body text is #000000 at 16.85:1 contrast (WCAG AA passes).

Color values

HEX#F2E993
RGBrgb(242, 233, 147)
HSLhsl(54, 79%, 76%)
HSVhsv(54, 39%, 95%)
CMYKcmyk(0%, 3.7%, 39.3%, 5.1%)
CIE-LABlab(91.35, -9.00, 42.87)
CIE-LCHlch(91.35, 43.80, 101.86°)
OKLaboklab(92.23% -0.0244 0.1047)
OKLCHoklch(92.23% 0.107 103.1)
XYZxyz(71.0246, 79.2635, 39.1561)
Luminance0.7926 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E993 #939CF2
analogous
#F2BA93 #F2E993 #CCF293
triadic
#F2E993 #93F2E9 #E993F2
tetradic
#F2E993 #93F2BA #939CF2 #F293CC
square
#F2E993 #93F2BA #939CF2 #F293CC
split-complementary
#F2E993 #93CCF2 #BA93F2
monochromatic
#E5D326 #EBDE5C #F2E993 #F9F4CA #FCF9E4

Accessibility & contrast

On white

1.25
#F2E993 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.85
#F2E993 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E993
16.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E993#FFFFFF#000000##000000
##F2E9931.001.2516.8516.85
#FFFFFF1.251.0021.0021.00
#00000016.8521.001.001.00
##00000016.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E38C
Deuteranopia (green-blind)
#FBE896
Tritanopia (blue-blind)
#FFDED4
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f2e993;
/* rgb */ color: rgb(242, 233, 147);
/* oklch */ color: oklch(92.2% 0.107 103.1);
Tailwind
colors: {
  custom: {
    50: '#f8efb4',
    500: '#f2e993',
    950: '#000000',
  },
}
SCSS
$custom: #f2e993;
$custom-light: #f8efb4;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e993",
  "rgb": {
    "r": 242,
    "g": 233,
    "b": 147
  },
  "hsl": {
    "h": 54.316,
    "s": 78.512,
    "l": 76.275
  },
  "oklch": {
    "l": 0.92232,
    "c": 0.10747,
    "h": 103.1
  },
  "luminance": 0.79262
}

Semantic roles & 50–950 ramp

primary
#F2E993
secondary
#5A65CF
accent
#1EDB0B
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #F2E993

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

Preview Lab → · Contrast checker → · Palette generator →

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