#F2E793#F2E793

#F2E793 is a very light, moderate yellow. Relative luminance 0.781; OKLCH L 91.8% C 0.105 H 101.8°. Best body text is #000000 at 16.63:1 contrast (WCAG AA passes).

Color values

HEX#F2E793
RGBrgb(242, 231, 147)
HSLhsl(53, 79%, 76%)
HSVhsv(53, 39%, 95%)
CMYKcmyk(0%, 4.5%, 39.3%, 5.1%)
CIE-LABlab(90.84, -8.01, 42.21)
CIE-LCHlch(90.84, 42.97, 100.74°)
OKLaboklab(91.83% -0.0215 0.1032)
OKLCHoklch(91.83% 0.105 101.8)
XYZxyz(70.4616, 78.1376, 38.9685)
Luminance0.7814 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E793 #939EF2
analogous
#F2B893 #F2E793 #CEF293
triadic
#F2E793 #93F2E7 #E793F2
tetradic
#F2E793 #93F2B8 #939EF2 #F293CE
square
#F2E793 #93F2B8 #939EF2 #F293CE
split-complementary
#F2E793 #93CEF2 #B893F2
monochromatic
#E5CF26 #EBDB5C #F2E793 #F9F3CA #FCF9E4

Accessibility & contrast

On white

1.26
#F2E793 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.63
#F2E793 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E793
16.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E793#FFFFFF#000000##000000
##F2E7931.001.2616.6316.63
#FFFFFF1.261.0021.0021.00
#00000016.6321.001.001.00
##00000016.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5E28D
Deuteranopia (green-blind)
#F9E796
Tritanopia (blue-blind)
#FFDCD2
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f2e793;
/* rgb */ color: rgb(242, 231, 147);
/* oklch */ color: oklch(91.8% 0.105 101.8);
Tailwind
colors: {
  custom: {
    50: '#f8eeb4',
    500: '#f2e793',
    950: '#000000',
  },
}
SCSS
$custom: #f2e793;
$custom-light: #f8eeb4;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e793",
  "rgb": {
    "r": 242,
    "g": 231,
    "b": 147
  },
  "hsl": {
    "h": 53.053,
    "s": 78.512,
    "l": 76.275
  },
  "oklch": {
    "l": 0.91827,
    "c": 0.10539,
    "h": 101.8
  },
  "luminance": 0.78136
}

Semantic roles & 50–950 ramp

primary
#F2E793
secondary
#5A68CF
accent
#23DB0B
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #F2E793

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

Preview Lab → · Contrast checker → · Palette generator →

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