#F2EE7F#F2EE7F

#F2EE7F is a very light, vivid yellow. Relative luminance 0.816; OKLCH L 93.0% C 0.134 H 106.9°. Best body text is #000000 at 17.31:1 contrast (WCAG AA passes).

Color values

HEX#F2EE7F
RGBrgb(242, 238, 127)
HSLhsl(58, 82%, 72%)
HSVhsv(58, 48%, 95%)
CMYKcmyk(0%, 1.7%, 47.5%, 5.1%)
CIE-LABlab(92.38, -13.43, 53.79)
CIE-LCHlch(92.38, 55.44, 104.02°)
OKLaboklab(92.97% -0.0388 0.1279)
OKLCHoklch(92.97% 0.134 106.9)
XYZxyz(71.0249, 81.5605, 32.0759)
Luminance0.8156 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EE7F #7F83F2
analogous
#F2B57F #F2EE7F #BDF27F
triadic
#F2EE7F #7FF2EE #EE7FF2
tetradic
#F2EE7F #7FF2B5 #7F83F2 #F27FBD
square
#F2EE7F #7FF2B5 #7F83F2 #F27FBD
split-complementary
#F2EE7F #7FBDF2 #B57FF2
monochromatic
#E0D917 #ECE747 #F2EE7F #F8F5B7 #FCFBE3

Accessibility & contrast

On white

1.21
#F2EE7F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.31
#F2EE7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EE7F
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EE7F#FFFFFF#000000##000000
##F2EE7F1.001.2117.3117.31
#FFFFFF1.211.0021.0021.00
#00000017.3121.001.001.00
##00000017.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE675
Deuteranopia (green-blind)
#FFEB84
Tritanopia (blue-blind)
#FFE2D4
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f2ee7f;
/* rgb */ color: rgb(242, 238, 127);
/* oklch */ color: oklch(93.0% 0.134 106.9);
Tailwind
colors: {
  custom: {
    50: '#f8f3a6',
    500: '#f2ee7f',
    950: '#000000',
  },
}
SCSS
$custom: #f2ee7f;
$custom-light: #f8f3a6;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ee7f",
  "rgb": {
    "r": 242,
    "g": 238,
    "b": 127
  },
  "hsl": {
    "h": 57.913,
    "s": 81.56,
    "l": 72.353
  },
  "oklch": {
    "l": 0.92965,
    "c": 0.13362,
    "h": 106.9
  },
  "luminance": 0.81559
}

Semantic roles & 50–950 ramp

primary
#F2EE7F
secondary
#484DCD
accent
#0FDE08
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#171710
muted
#858580

Preview Lab

Preview with #F2EE7F

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

Preview Lab → · Contrast checker → · Palette generator →

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