#F2E571#F2E571

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

Color values

HEX#F2E571
RGBrgb(242, 229, 113)
HSLhsl(54, 83%, 70%)
HSVhsv(54, 53%, 95%)
CMYKcmyk(0%, 5.4%, 53.3%, 5.1%)
CIE-LABlab(89.91, -10.15, 57.35)
CIE-LCHlch(89.91, 58.24, 100.04°)
OKLaboklab(90.95% -0.0309 0.1344)
OKLCHoklch(90.95% 0.138 102.9)
XYZxyz(67.6200, 76.1104, 26.7484)
Luminance0.7611 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E571 #717EF2
analogous
#F2A471 #F2E571 #BFF271
triadic
#F2E571 #71F2E5 #E571F2
tetradic
#F2E571 #71F2A4 #717EF2 #F271BF
square
#F2E571 #71F2A4 #717EF2 #F271BF
split-complementary
#F2E571 #71BFF2 #A471F2
monochromatic
#D5C214 #EDDB39 #F2E571 #F7EFA9 #FCFAE1

Accessibility & contrast

On white

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

On black

16.22
#F2E571 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E571
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E571#FFFFFF#000000##000000
##F2E5711.001.2916.2216.22
#FFFFFF1.291.0021.0021.00
#00000016.2221.001.001.00
##00000016.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2e571;
/* rgb */ color: rgb(242, 229, 113);
/* oklch */ color: oklch(91.0% 0.138 102.9);
Tailwind
colors: {
  custom: {
    50: '#f9ed9d',
    500: '#f2e571',
    950: '#000000',
  },
}
SCSS
$custom: #f2e571;
$custom-light: #f9ed9d;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e571",
  "rgb": {
    "r": 242,
    "g": 229,
    "b": 113
  },
  "hsl": {
    "h": 53.953,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.90952,
    "c": 0.13786,
    "h": 102.9
  },
  "luminance": 0.76108
}

Semantic roles & 50–950 ramp

primary
#F2E571
secondary
#3C4ACB
accent
#1CE006
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F2E571

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

Preview Lab → · Contrast checker → · Palette generator →

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