#F2EE74#F2EE74

#F2EE74 is a very light, vivid yellow. Relative luminance 0.813; OKLCH L 92.8% C 0.144 H 107.2°. Best body text is #000000 at 17.26:1 contrast (WCAG AA passes).

Color values

HEX#F2EE74
RGBrgb(242, 238, 116)
HSLhsl(58, 83%, 70%)
HSVhsv(58, 52%, 95%)
CMYKcmyk(0%, 1.7%, 52.1%, 5.1%)
CIE-LABlab(92.26, -14.36, 58.71)
CIE-LCHlch(92.26, 60.44, 103.74°)
OKLaboklab(92.83% -0.0426 0.1376)
OKLCHoklch(92.83% 0.144 107.2)
XYZxyz(70.3467, 81.2892, 28.5043)
Luminance0.8129 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EE74 #7478F2
analogous
#F2AF74 #F2EE74 #B7F274
triadic
#F2EE74 #74F2EE #EE74F2
tetradic
#F2EE74 #74F2AF #7478F2 #F274B7
square
#F2EE74 #74F2AF #7478F2 #F274B7
split-complementary
#F2EE74 #74B7F2 #AF74F2
monochromatic
#D7D114 #EDE73C #F2EE74 #F7F5AC #FCFCE3

Accessibility & contrast

On white

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

On black

17.26
#F2EE74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EE74
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EE74#FFFFFF#000000##000000
##F2EE741.001.2217.2617.26
#FFFFFF1.221.0021.0021.00
#00000017.2621.001.001.00
##00000017.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE668
Deuteranopia (green-blind)
#FFEB7A
Tritanopia (blue-blind)
#FFE1D3
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f2ee74;
/* rgb */ color: rgb(242, 238, 116);
/* oklch */ color: oklch(92.8% 0.144 107.2);
Tailwind
colors: {
  custom: {
    50: '#f9f39f',
    500: '#f2ee74',
    950: '#000000',
  },
}
SCSS
$custom: #f2ee74;
$custom-light: #f9f39f;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ee74",
  "rgb": {
    "r": 242,
    "g": 238,
    "b": 116
  },
  "hsl": {
    "h": 58.095,
    "s": 82.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.9283,
    "c": 0.14406,
    "h": 107.2
  },
  "luminance": 0.81287
}

Semantic roles & 50–950 ramp

primary
#F2EE74
secondary
#3E43CC
accent
#0DDF06
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F2EE74

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

Preview Lab → · Contrast checker → · Palette generator →

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