#F2EE5B#F2EE5B

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

Color values

HEX#F2EE5B
RGBrgb(242, 238, 91)
HSLhsl(58, 85%, 65%)
HSVhsv(58, 62%, 95%)
CMYKcmyk(0%, 1.7%, 62.4%, 5.1%)
CIE-LABlab(92.04, -16.12, 69.18)
CIE-LCHlch(92.04, 71.03, 103.11°)
OKLaboklab(92.58% -0.0502 0.1569)
OKLCHoklch(92.58% 0.165 107.7)
XYZxyz(69.0831, 80.7838, 21.8493)
Luminance0.8078 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EE5B #5B5FF2
analogous
#F2A35B #F2EE5B #AAF25B
triadic
#F2EE5B #5BF2EE #EE5BF2
tetradic
#F2EE5B #5BF2A3 #5B5FF2 #F25BAA
square
#F2EE5B #5BF2A3 #5B5FF2 #F25BAA
split-complementary
#F2EE5B #5BAAF2 #A35BF2
monochromatic
#C3BE0F #EEE822 #F2EE5B #F6F494 #FBFACC

Accessibility & contrast

On white

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

On black

17.16
#F2EE5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EE5B
17.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EE5B#FFFFFF#000000##000000
##F2EE5B1.001.2217.1617.16
#FFFFFF1.221.0021.0021.00
#00000017.1621.001.001.00
##00000017.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE548
Deuteranopia (green-blind)
#FFEB64
Tritanopia (blue-blind)
#FFE0CF
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f2ee5b;
/* rgb */ color: rgb(242, 238, 91);
/* oklch */ color: oklch(92.6% 0.165 107.7);
Tailwind
colors: {
  custom: {
    50: '#faf390',
    500: '#f2ee5b',
    950: '#000000',
  },
}
SCSS
$custom: #f2ee5b;
$custom-light: #faf390;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ee5b",
  "rgb": {
    "r": 242,
    "g": 238,
    "b": 91
  },
  "hsl": {
    "h": 58.411,
    "s": 85.311,
    "l": 65.294
  },
  "oklch": {
    "l": 0.92578,
    "c": 0.16477,
    "h": 107.7
  },
  "luminance": 0.80782
}

Semantic roles & 50–950 ramp

primary
#F2EE5B
secondary
#3134C1
accent
#0AE204
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F2EE5B

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

Preview Lab → · Contrast checker → · Palette generator →

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