#F2E373#F2E373

#F2E373 is a very light, vivid yellow. Relative luminance 0.751; OKLCH L 90.6% C 0.134 H 101.8°. Best body text is #000000 at 16.01:1 contrast (WCAG AA passes).

Color values

HEX#F2E373
RGBrgb(242, 227, 115)
HSLhsl(53, 83%, 70%)
HSVhsv(53, 52%, 95%)
CMYKcmyk(0%, 6.2%, 52.5%, 5.1%)
CIE-LABlab(89.42, -9.00, 55.85)
CIE-LCHlch(89.42, 56.57, 99.15°)
OKLaboklab(90.57% -0.0273 0.1313)
OKLCHoklch(90.57% 0.134 101.8)
XYZxyz(67.1836, 75.0556, 27.1646)
Luminance0.7505 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E373 #7382F2
analogous
#F2A373 #F2E373 #C2F273
triadic
#F2E373 #73F2E3 #E373F2
tetradic
#F2E373 #73F2A3 #7382F2 #F273C2
square
#F2E373 #73F2A3 #7382F2 #F273C2
split-complementary
#F2E373 #73C2F2 #A373F2
monochromatic
#D7C014 #EDD83B #F2E373 #F7EEAB #FCF9E3

Accessibility & contrast

On white

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

On black

16.01
#F2E373 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E373
16.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E373#FFFFFF#000000##000000
##F2E3731.001.3116.0116.01
#FFFFFF1.311.0021.0021.00
#00000016.0121.001.001.00
##00000016.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DD69
Deuteranopia (green-blind)
#F9E478
Tritanopia (blue-blind)
#FFD6CA
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f2e373;
/* rgb */ color: rgb(242, 227, 115);
/* oklch */ color: oklch(90.6% 0.134 101.8);
Tailwind
colors: {
  custom: {
    50: '#f9eb9e',
    500: '#f2e373',
    950: '#000000',
  },
}
SCSS
$custom: #f2e373;
$custom-light: #f9eb9e;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e373",
  "rgb": {
    "r": 242,
    "g": 227,
    "b": 115
  },
  "hsl": {
    "h": 52.913,
    "s": 83.007,
    "l": 70
  },
  "oklch": {
    "l": 0.90568,
    "c": 0.13413,
    "h": 101.8
  },
  "luminance": 0.75053
}

Semantic roles & 50–950 ramp

primary
#F2E373
secondary
#3D4ECC
accent
#20DF06
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F2E373

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

Preview Lab → · Contrast checker → · Palette generator →

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