#F2EE5E#F2EE5E

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

Color values

HEX#F2EE5E
RGBrgb(242, 238, 94)
HSLhsl(58, 85%, 66%)
HSVhsv(58, 61%, 95%)
CMYKcmyk(0%, 1.7%, 61.2%, 5.1%)
CIE-LABlab(92.06, -15.93, 67.99)
CIE-LCHlch(92.06, 69.83, 103.19°)
OKLaboklab(92.61% -0.0493 0.1548)
OKLCHoklch(92.61% 0.163 107.7)
XYZxyz(69.2151, 80.8366, 22.5445)
Luminance0.8083 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EE5E #5E62F2
analogous
#F2A45E #F2EE5E #ACF25E
triadic
#F2EE5E #5EF2EE #EE5EF2
tetradic
#F2EE5E #5EF2A4 #5E62F2 #F25EAC
square
#F2EE5E #5EF2A4 #5E62F2 #F25EAC
split-complementary
#F2EE5E #5EACF2 #A45EF2
monochromatic
#C6C110 #EDE825 #F2EE5E #F7F497 #FBFACF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2EE5E#FFFFFF#000000##000000
##F2EE5E1.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)
#FFE54C
Deuteranopia (green-blind)
#FFEB67
Tritanopia (blue-blind)
#FFE0D0
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f2ee5e;
/* rgb */ color: rgb(242, 238, 94);
/* oklch */ color: oklch(92.6% 0.163 107.7);
Tailwind
colors: {
  custom: {
    50: '#f9f392',
    500: '#f2ee5e',
    950: '#000000',
  },
}
SCSS
$custom: #f2ee5e;
$custom-light: #f9f392;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ee5e",
  "rgb": {
    "r": 242,
    "g": 238,
    "b": 94
  },
  "hsl": {
    "h": 58.378,
    "s": 85.057,
    "l": 65.882
  },
  "oklch": {
    "l": 0.92605,
    "c": 0.16252,
    "h": 107.7
  },
  "luminance": 0.80834
}

Semantic roles & 50–950 ramp

primary
#F2EE5E
secondary
#3135C3
accent
#0AE204
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F2EE5E

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

Preview Lab → · Contrast checker → · Palette generator →

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