#F2EE5F#F2EE5F

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

Color values

HEX#F2EE5F
RGBrgb(242, 238, 95)
HSLhsl(58, 85%, 66%)
HSVhsv(58, 61%, 95%)
CMYKcmyk(0%, 1.7%, 60.7%, 5.1%)
CIE-LABlab(92.07, -15.87, 67.59)
CIE-LCHlch(92.07, 69.43, 103.21°)
OKLaboklab(92.61% -0.0491 0.1541)
OKLCHoklch(92.61% 0.162 107.7)
XYZxyz(69.2603, 80.8546, 22.7824)
Luminance0.8085 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EE5F #5F63F2
analogous
#F2A45F #F2EE5F #ACF25F
triadic
#F2EE5F #5FF2EE #EE5FF2
tetradic
#F2EE5F #5FF2A4 #5F63F2 #F25FAC
square
#F2EE5F #5FF2A4 #5F63F2 #F25FAC
split-complementary
#F2EE5F #5FACF2 #A45FF2
monochromatic
#C6C210 #EDE826 #F2EE5F #F7F498 #FBFAD0

Accessibility & contrast

On white

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

On black

17.17
#F2EE5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EE5F
17.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EE5F#FFFFFF#000000##000000
##F2EE5F1.001.2217.1717.17
#FFFFFF1.221.0021.0021.00
#00000017.1721.001.001.00
##00000017.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE54E
Deuteranopia (green-blind)
#FFEB68
Tritanopia (blue-blind)
#FFE0D0
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f2ee5f;
/* rgb */ color: rgb(242, 238, 95);
/* oklch */ color: oklch(92.6% 0.162 107.7);
Tailwind
colors: {
  custom: {
    50: '#f9f392',
    500: '#f2ee5f',
    950: '#000000',
  },
}
SCSS
$custom: #f2ee5f;
$custom-light: #f9f392;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ee5f",
  "rgb": {
    "r": 242,
    "g": 238,
    "b": 95
  },
  "hsl": {
    "h": 58.367,
    "s": 84.971,
    "l": 66.078
  },
  "oklch": {
    "l": 0.92614,
    "c": 0.16175,
    "h": 107.7
  },
  "luminance": 0.80853
}

Semantic roles & 50–950 ramp

primary
#F2EE5F
secondary
#3236C4
accent
#0AE104
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F2EE5F

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

Preview Lab → · Contrast checker → · Palette generator →

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