#F2E572#F2E572

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

Color values

HEX#F2E572
RGBrgb(242, 229, 114)
HSLhsl(54, 83%, 70%)
HSVhsv(54, 53%, 95%)
CMYKcmyk(0%, 5.4%, 52.9%, 5.1%)
CIE-LABlab(89.92, -10.08, 56.90)
CIE-LCHlch(89.92, 57.78, 100.04°)
OKLaboklab(90.96% -0.0305 0.1335)
OKLCHoklch(90.96% 0.137 102.9)
XYZxyz(67.6766, 76.1331, 27.0466)
Luminance0.7613 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E572 #727FF2
analogous
#F2A572 #F2E572 #BFF272
triadic
#F2E572 #72F2E5 #E572F2
tetradic
#F2E572 #72F2A5 #727FF2 #F272BF
square
#F2E572 #72F2A5 #727FF2 #F272BF
split-complementary
#F2E572 #72BFF2 #A572F2
monochromatic
#D6C214 #EDDB3A #F2E572 #F7EFAA #FCFAE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2E572#FFFFFF#000000##000000
##F2E5721.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)
#F6DF67
Deuteranopia (green-blind)
#FBE578
Tritanopia (blue-blind)
#FFD8CB
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f2e572;
/* rgb */ color: rgb(242, 229, 114);
/* oklch */ color: oklch(91.0% 0.137 102.9);
Tailwind
colors: {
  custom: {
    50: '#f9ed9d',
    500: '#f2e572',
    950: '#000000',
  },
}
SCSS
$custom: #f2e572;
$custom-light: #f9ed9d;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e572",
  "rgb": {
    "r": 242,
    "g": 229,
    "b": 114
  },
  "hsl": {
    "h": 53.906,
    "s": 83.117,
    "l": 69.804
  },
  "oklch": {
    "l": 0.90964,
    "c": 0.13694,
    "h": 102.9
  },
  "luminance": 0.76131
}

Semantic roles & 50–950 ramp

primary
#F2E572
secondary
#3D4BCC
accent
#1CE006
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F2E572

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

Preview Lab → · Contrast checker → · Palette generator →

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