#F2EE5A#F2EE5A

#F2EE5A is a very light, vivid yellow. Relative luminance 0.808; OKLCH L 92.6% C 0.166 H 107.7°. Best body text is #000000 at 17.15:1 contrast (WCAG AA passes).

Color values

HEX#F2EE5A
RGBrgb(242, 238, 90)
HSLhsl(58, 85%, 65%)
HSVhsv(58, 63%, 95%)
CMYKcmyk(0%, 1.7%, 62.8%, 5.1%)
CIE-LABlab(92.03, -16.18, 69.57)
CIE-LCHlch(92.03, 71.42, 103.09°)
OKLaboklab(92.57% -0.0504 0.1576)
OKLCHoklch(92.57% 0.166 107.7)
XYZxyz(69.0403, 80.7666, 21.6236)
Luminance0.8076 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EE5A #5A5EF2
analogous
#F2A25A #F2EE5A #AAF25A
triadic
#F2EE5A #5AF2EE #EE5AF2
tetradic
#F2EE5A #5AF2A2 #5A5EF2 #F25AAA
square
#F2EE5A #5AF2A2 #5A5EF2 #F25AAA
split-complementary
#F2EE5A #5AAAF2 #A25AF2
monochromatic
#C2BE0F #EEE821 #F2EE5A #F6F493 #FBFACB

Accessibility & contrast

On white

1.22
#F2EE5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.15
#F2EE5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EE5A
17.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EE5A#FFFFFF#000000##000000
##F2EE5A1.001.2217.1517.15
#FFFFFF1.221.0021.0021.00
#00000017.1521.001.001.00
##00000017.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE547
Deuteranopia (green-blind)
#FFEB63
Tritanopia (blue-blind)
#FFDFCF
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f2ee5a;
/* rgb */ color: rgb(242, 238, 90);
/* oklch */ color: oklch(92.6% 0.166 107.7);
Tailwind
colors: {
  custom: {
    50: '#faf38f',
    500: '#f2ee5a',
    950: '#000000',
  },
}
SCSS
$custom: #f2ee5a;
$custom-light: #faf38f;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ee5a",
  "rgb": {
    "r": 242,
    "g": 238,
    "b": 90
  },
  "hsl": {
    "h": 58.421,
    "s": 85.393,
    "l": 65.098
  },
  "oklch": {
    "l": 0.9257,
    "c": 0.1655,
    "h": 107.7
  },
  "luminance": 0.80765
}

Semantic roles & 50–950 ramp

primary
#F2EE5A
secondary
#3034C0
accent
#09E204
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F2EE5A

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

Preview Lab → · Contrast checker → · Palette generator →

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