#F2E555#F2E555

#F2E555 is a very light, vivid yellow. Relative luminance 0.756; OKLCH L 90.7% C 0.161 H 104.1°. Best body text is #000000 at 16.11:1 contrast (WCAG AA passes).

Color values

HEX#F2E555
RGBrgb(242, 229, 85)
HSLhsl(55, 86%, 64%)
HSVhsv(55, 65%, 95%)
CMYKcmyk(0%, 5.4%, 64.9%, 5.1%)
CIE-LABlab(89.66, -12.05, 69.08)
CIE-LCHlch(89.66, 70.12, 99.89°)
OKLaboklab(90.67% -0.0393 0.1558)
OKLCHoklch(90.67% 0.161 104.1)
XYZxyz(66.2795, 75.5742, 19.6886)
Luminance0.7557 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E555 #5562F2
analogous
#F29755 #F2E555 #B1F255
triadic
#F2E555 #55F2E5 #E555F2
tetradic
#F2E555 #55F297 #5562F2 #F255B1
square
#F2E555 #55F297 #5562F2 #F255B1
split-complementary
#F2E555 #55B1F2 #9755F2
monochromatic
#BEB00F #EEDC1C #F2E555 #F6EE8E #FBF6C7

Accessibility & contrast

On white

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

On black

16.11
#F2E555 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E555
16.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E555#FFFFFF#000000##000000
##F2E5551.001.3016.1116.11
#FFFFFF1.301.0021.0021.00
#00000016.1121.001.001.00
##00000016.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DE42
Deuteranopia (green-blind)
#FDE55E
Tritanopia (blue-blind)
#FFD6C7
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f2e555;
/* rgb */ color: rgb(242, 229, 85);
/* oklch */ color: oklch(90.7% 0.161 104.1);
Tailwind
colors: {
  custom: {
    50: '#faec8c',
    500: '#f2e555',
    950: '#000000',
  },
}
SCSS
$custom: #f2e555;
$custom-light: #faec8c;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e555",
  "rgb": {
    "r": 242,
    "g": 229,
    "b": 85
  },
  "hsl": {
    "h": 55.032,
    "s": 85.792,
    "l": 64.118
  },
  "oklch": {
    "l": 0.90674,
    "c": 0.16071,
    "h": 104.1
  },
  "luminance": 0.75572
}

Semantic roles & 50–950 ramp

primary
#F2E555
secondary
#2F3BBC
accent
#16E203
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160C
muted
#86847F

Preview Lab

Preview with #F2E555

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

Preview Lab → · Contrast checker → · Palette generator →

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