#F2E56A#F2E56A

#F2E56A is a very light, vivid yellow. Relative luminance 0.760; OKLCH L 90.9% C 0.144 H 103.3°. Best body text is #000000 at 16.19:1 contrast (WCAG AA passes).

Color values

HEX#F2E56A
RGBrgb(242, 229, 106)
HSLhsl(54, 84%, 68%)
HSVhsv(54, 56%, 95%)
CMYKcmyk(0%, 5.4%, 56.2%, 5.1%)
CIE-LABlab(89.84, -10.69, 60.42)
CIE-LCHlch(89.84, 61.36, 100.03°)
OKLaboklab(90.87% -0.0331 0.1402)
OKLCHoklch(90.87% 0.144 103.3)
XYZxyz(67.2410, 75.9588, 24.7524)
Luminance0.7596 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E56A #6A77F2
analogous
#F2A16A #F2E56A #BBF26A
triadic
#F2E56A #6AF2E5 #E56AF2
tetradic
#F2E56A #6AF2A1 #6A77F2 #F26ABB
square
#F2E56A #6AF2A1 #6A77F2 #F26ABB
split-complementary
#F2E56A #6ABBF2 #A16AF2
monochromatic
#CFBD12 #EDDB32 #F2E56A #F7EFA2 #FCF9DB

Accessibility & contrast

On white

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

On black

16.19
#F2E56A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E56A
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E56A#FFFFFF#000000##000000
##F2E56A1.001.3016.1916.19
#FFFFFF1.301.0021.0021.00
#00000016.1921.001.001.00
##00000016.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DE5D
Deuteranopia (green-blind)
#FBE570
Tritanopia (blue-blind)
#FFD7CA
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f2e56a;
/* rgb */ color: rgb(242, 229, 106);
/* oklch */ color: oklch(90.9% 0.144 103.3);
Tailwind
colors: {
  custom: {
    50: '#f9ed98',
    500: '#f2e56a',
    950: '#000000',
  },
}
SCSS
$custom: #f2e56a;
$custom-light: #f9ed98;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e56a",
  "rgb": {
    "r": 242,
    "g": 229,
    "b": 106
  },
  "hsl": {
    "h": 54.265,
    "s": 83.951,
    "l": 68.235
  },
  "oklch": {
    "l": 0.90873,
    "c": 0.1441,
    "h": 103.3
  },
  "luminance": 0.75956
}

Semantic roles & 50–950 ramp

primary
#F2E56A
secondary
#3644CB
accent
#1AE005
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F2E56A

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

Preview Lab → · Contrast checker → · Palette generator →

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