#F2E56E#F2E56E

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

Color values

HEX#F2E56E
RGBrgb(242, 229, 110)
HSLhsl(54, 84%, 69%)
HSVhsv(54, 55%, 95%)
CMYKcmyk(0%, 5.4%, 54.5%, 5.1%)
CIE-LABlab(89.88, -10.39, 58.67)
CIE-LCHlch(89.88, 59.59, 100.04°)
OKLaboklab(90.92% -0.0319 0.1369)
OKLCHoklch(90.92% 0.141 103.1)
XYZxyz(67.4539, 76.0440, 25.8736)
Luminance0.7604 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E56E #6E7BF2
analogous
#F2A36E #F2E56E #BDF26E
triadic
#F2E56E #6EF2E5 #E56EF2
tetradic
#F2E56E #6EF2A3 #6E7BF2 #F26EBD
square
#F2E56E #6EF2A3 #6E7BF2 #F26EBD
split-complementary
#F2E56E #6EBDF2 #A36EF2
monochromatic
#D3C013 #EDDB36 #F2E56E #F7EFA6 #FCF9DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2E56E#FFFFFF#000000##000000
##F2E56E1.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)
#F7DE62
Deuteranopia (green-blind)
#FBE574
Tritanopia (blue-blind)
#FFD7CA
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f2e56e;
/* rgb */ color: rgb(242, 229, 110);
/* oklch */ color: oklch(90.9% 0.141 103.1);
Tailwind
colors: {
  custom: {
    50: '#f9ed9b',
    500: '#f2e56e',
    950: '#000000',
  },
}
SCSS
$custom: #f2e56e;
$custom-light: #f9ed9b;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e56e",
  "rgb": {
    "r": 242,
    "g": 229,
    "b": 110
  },
  "hsl": {
    "h": 54.091,
    "s": 83.544,
    "l": 69.02
  },
  "oklch": {
    "l": 0.90917,
    "c": 0.14058,
    "h": 103.1
  },
  "luminance": 0.76042
}

Semantic roles & 50–950 ramp

primary
#F2E56E
secondary
#3947CB
accent
#1BE006
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F2E56E

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

Preview Lab → · Contrast checker → · Palette generator →

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