#F2EE6C#F2EE6C

#F2EE6C is a very light, vivid yellow. Relative luminance 0.811; OKLCH L 92.7% C 0.151 H 107.4°. Best body text is #000000 at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#F2EE6C
RGBrgb(242, 238, 108)
HSLhsl(58, 84%, 69%)
HSVhsv(58, 55%, 95%)
CMYKcmyk(0%, 1.7%, 55.4%, 5.1%)
CIE-LABlab(92.18, -14.98, 62.19)
CIE-LCHlch(92.18, 63.97, 103.54°)
OKLaboklab(92.74% -0.0452 0.1443)
OKLCHoklch(92.74% 0.151 107.4)
XYZxyz(69.9013, 81.1110, 26.1583)
Luminance0.8111 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EE6C #6C70F2
analogous
#F2AB6C #F2EE6C #B3F26C
triadic
#F2EE6C #6CF2EE #EE6CF2
tetradic
#F2EE6C #6CF2AB #6C70F2 #F26CB3
square
#F2EE6C #6CF2AB #6C70F2 #F26CB3
split-complementary
#F2EE6C #6CB3F2 #AB6CF2
monochromatic
#D1CB12 #EDE734 #F2EE6C #F7F5A4 #FCFBDC

Accessibility & contrast

On white

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

On black

17.22
#F2EE6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EE6C
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EE6C#FFFFFF#000000##000000
##F2EE6C1.001.2217.2217.22
#FFFFFF1.221.0021.0021.00
#00000017.2221.001.001.00
##00000017.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE65E
Deuteranopia (green-blind)
#FFEB73
Tritanopia (blue-blind)
#FFE0D1
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f2ee6c;
/* rgb */ color: rgb(242, 238, 108);
/* oklch */ color: oklch(92.7% 0.151 107.4);
Tailwind
colors: {
  custom: {
    50: '#f9f39a',
    500: '#f2ee6c',
    950: '#000000',
  },
}
SCSS
$custom: #f2ee6c;
$custom-light: #f9f39a;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ee6c",
  "rgb": {
    "r": 242,
    "g": 238,
    "b": 108
  },
  "hsl": {
    "h": 58.209,
    "s": 83.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.92741,
    "c": 0.15116,
    "h": 107.4
  },
  "luminance": 0.81109
}

Semantic roles & 50–950 ramp

primary
#F2EE6C
secondary
#373CCB
accent
#0CE005
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F2EE6C

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

Preview Lab → · Contrast checker → · Palette generator →

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