#F2E573#F2E573

#F2E573 is a very light, vivid yellow. Relative luminance 0.762; OKLCH L 91.0% C 0.136 H 102.8°. Best body text is #000000 at 16.23:1 contrast (WCAG AA passes).

Color values

HEX#F2E573
RGBrgb(242, 229, 115)
HSLhsl(54, 83%, 70%)
HSVhsv(54, 52%, 95%)
CMYKcmyk(0%, 5.4%, 52.5%, 5.1%)
CIE-LABlab(89.93, -10.00, 56.45)
CIE-LCHlch(89.93, 57.33, 100.04°)
OKLaboklab(90.98% -0.0302 0.1326)
OKLCHoklch(90.98% 0.136 102.8)
XYZxyz(67.7338, 76.1560, 27.3480)
Luminance0.7615 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E573 #7380F2
analogous
#F2A573 #F2E573 #C0F273
triadic
#F2E573 #73F2E5 #E573F2
tetradic
#F2E573 #73F2A5 #7380F2 #F273C0
square
#F2E573 #73F2A5 #7380F2 #F273C0
split-complementary
#F2E573 #73C0F2 #A573F2
monochromatic
#D7C314 #EDDB3B #F2E573 #F7EFAB #FCFAE3

Accessibility & contrast

On white

1.29
#F2E573 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.23
#F2E573 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E573
16.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E573#FFFFFF#000000##000000
##F2E5731.001.2916.2316.23
#FFFFFF1.291.0021.0021.00
#00000016.2321.001.001.00
##00000016.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DF68
Deuteranopia (green-blind)
#FBE578
Tritanopia (blue-blind)
#FFD8CB
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f2e573;
/* rgb */ color: rgb(242, 229, 115);
/* oklch */ color: oklch(91.0% 0.136 102.8);
Tailwind
colors: {
  custom: {
    50: '#f9ed9e',
    500: '#f2e573',
    950: '#000000',
  },
}
SCSS
$custom: #f2e573;
$custom-light: #f9ed9e;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e573",
  "rgb": {
    "r": 242,
    "g": 229,
    "b": 115
  },
  "hsl": {
    "h": 53.858,
    "s": 83.007,
    "l": 70
  },
  "oklch": {
    "l": 0.90975,
    "c": 0.13602,
    "h": 102.8
  },
  "luminance": 0.76154
}

Semantic roles & 50–950 ramp

primary
#F2E573
secondary
#3D4CCC
accent
#1CDF06
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F2E573

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

Preview Lab → · Contrast checker → · Palette generator →

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