#F2E893#F2E893

#F2E893 is a very light, moderate yellow. Relative luminance 0.787; OKLCH L 92.0% C 0.106 H 102.4°. Best body text is #000000 at 16.74:1 contrast (WCAG AA passes).

Color values

HEX#F2E893
RGBrgb(242, 232, 147)
HSLhsl(54, 79%, 76%)
HSVhsv(54, 39%, 95%)
CMYKcmyk(0%, 4.1%, 39.3%, 5.1%)
CIE-LABlab(91.10, -8.50, 42.54)
CIE-LCHlch(91.10, 43.38, 101.31°)
OKLaboklab(92.03% -0.0229 0.1039)
OKLCHoklch(92.03% 0.106 102.4)
XYZxyz(70.7423, 78.6989, 39.0620)
Luminance0.7870 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E893 #939DF2
analogous
#F2B993 #F2E893 #CDF293
triadic
#F2E893 #93F2E8 #E893F2
tetradic
#F2E893 #93F2B9 #939DF2 #F293CD
square
#F2E893 #93F2B9 #939DF2 #F293CD
split-complementary
#F2E893 #93CDF2 #B993F2
monochromatic
#E5D126 #EBDC5C #F2E893 #F9F4CA #FCF9E4

Accessibility & contrast

On white

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

On black

16.74
#F2E893 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E893
16.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E893#FFFFFF#000000##000000
##F2E8931.001.2516.7416.74
#FFFFFF1.251.0021.0021.00
#00000016.7421.001.001.00
##00000016.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E38D
Deuteranopia (green-blind)
#FAE896
Tritanopia (blue-blind)
#FFDDD3
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f2e893;
/* rgb */ color: rgb(242, 232, 147);
/* oklch */ color: oklch(92.0% 0.106 102.4);
Tailwind
colors: {
  custom: {
    50: '#f8efb4',
    500: '#f2e893',
    950: '#000000',
  },
}
SCSS
$custom: #f2e893;
$custom-light: #f8efb4;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e893",
  "rgb": {
    "r": 242,
    "g": 232,
    "b": 147
  },
  "hsl": {
    "h": 53.684,
    "s": 78.512,
    "l": 76.275
  },
  "oklch": {
    "l": 0.9203,
    "c": 0.10643,
    "h": 102.4
  },
  "luminance": 0.78697
}

Semantic roles & 50–950 ramp

primary
#F2E893
secondary
#5A66CF
accent
#21DB0B
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #F2E893

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

Preview Lab → · Contrast checker → · Palette generator →

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