#F2EE6F#F2EE6F

#F2EE6F is a very light, vivid yellow. Relative luminance 0.812; OKLCH L 92.8% C 0.149 H 107.3°. Best body text is #000000 at 17.23:1 contrast (WCAG AA passes).

Color values

HEX#F2EE6F
RGBrgb(242, 238, 111)
HSLhsl(58, 83%, 69%)
HSVhsv(58, 54%, 95%)
CMYKcmyk(0%, 1.7%, 54.1%, 5.1%)
CIE-LABlab(92.21, -14.75, 60.90)
CIE-LCHlch(92.21, 62.66, 103.62°)
OKLaboklab(92.77% -0.0442 0.1418)
OKLCHoklch(92.77% 0.149 107.3)
XYZxyz(70.0637, 81.1760, 27.0136)
Luminance0.8117 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EE6F #6F73F2
analogous
#F2AD6F #F2EE6F #B5F26F
triadic
#F2EE6F #6FF2EE #EE6FF2
tetradic
#F2EE6F #6FF2AD #6F73F2 #F26FB5
square
#F2EE6F #6FF2AD #6F73F2 #F26FB5
split-complementary
#F2EE6F #6FB5F2 #AD6FF2
monochromatic
#D4CE13 #EDE737 #F2EE6F #F7F5A7 #FCFBDF

Accessibility & contrast

On white

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

On black

17.23
#F2EE6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EE6F
17.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EE6F#FFFFFF#000000##000000
##F2EE6F1.001.2217.2317.23
#FFFFFF1.221.0021.0021.00
#00000017.2321.001.001.00
##00000017.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE662
Deuteranopia (green-blind)
#FFEB76
Tritanopia (blue-blind)
#FFE1D2
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f2ee6f;
/* rgb */ color: rgb(242, 238, 111);
/* oklch */ color: oklch(92.8% 0.149 107.3);
Tailwind
colors: {
  custom: {
    50: '#f9f39c',
    500: '#f2ee6f',
    950: '#000000',
  },
}
SCSS
$custom: #f2ee6f;
$custom-light: #f9f39c;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ee6f",
  "rgb": {
    "r": 242,
    "g": 238,
    "b": 111
  },
  "hsl": {
    "h": 58.168,
    "s": 83.439,
    "l": 69.216
  },
  "oklch": {
    "l": 0.92774,
    "c": 0.14855,
    "h": 107.3
  },
  "luminance": 0.81174
}

Semantic roles & 50–950 ramp

primary
#F2EE6F
secondary
#3A3ECB
accent
#0CE006
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F2EE6F

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

Preview Lab → · Contrast checker → · Palette generator →

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