#F2E56F#F2E56F

#F2E56F is a very light, vivid yellow. Relative luminance 0.761; OKLCH L 90.9% C 0.140 H 103.0°. Best body text is #000000 at 16.21:1 contrast (WCAG AA passes).

Color values

HEX#F2E56F
RGBrgb(242, 229, 111)
HSLhsl(54, 83%, 69%)
HSVhsv(54, 54%, 95%)
CMYKcmyk(0%, 5.4%, 54.1%, 5.1%)
CIE-LABlab(89.89, -10.31, 58.23)
CIE-LCHlch(89.89, 59.14, 100.04°)
OKLaboklab(90.93% -0.0315 0.1361)
OKLCHoklch(90.93% 0.14 103)
XYZxyz(67.5086, 76.0659, 26.1620)
Luminance0.7606 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E56F #6F7CF2
analogous
#F2A46F #F2E56F #BEF26F
triadic
#F2E56F #6FF2E5 #E56FF2
tetradic
#F2E56F #6FF2A4 #6F7CF2 #F26FBE
square
#F2E56F #6FF2A4 #6F7CF2 #F26FBE
split-complementary
#F2E56F #6FBEF2 #A46FF2
monochromatic
#D4C013 #EDDB37 #F2E56F #F7EFA7 #FCF9DF

Accessibility & contrast

On white

1.30
#F2E56F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.21
#F2E56F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E56F
16.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E56F#FFFFFF#000000##000000
##F2E56F1.001.3016.2116.21
#FFFFFF1.301.0021.0021.00
#00000016.2121.001.001.00
##00000016.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2e56f;
/* rgb */ color: rgb(242, 229, 111);
/* oklch */ color: oklch(90.9% 0.140 103.0);
Tailwind
colors: {
  custom: {
    50: '#f9ed9c',
    500: '#f2e56f',
    950: '#000000',
  },
}
SCSS
$custom: #f2e56f;
$custom-light: #f9ed9c;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e56f",
  "rgb": {
    "r": 242,
    "g": 229,
    "b": 111
  },
  "hsl": {
    "h": 54.046,
    "s": 83.439,
    "l": 69.216
  },
  "oklch": {
    "l": 0.90929,
    "c": 0.13968,
    "h": 103
  },
  "luminance": 0.76064
}

Semantic roles & 50–950 ramp

primary
#F2E56F
secondary
#3A48CB
accent
#1BE006
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F2E56F

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

Preview Lab → · Contrast checker → · Palette generator →

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