#F2EE6A#F2EE6A

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

Color values

HEX#F2EE6A
RGBrgb(242, 238, 106)
HSLhsl(58, 84%, 68%)
HSVhsv(58, 56%, 95%)
CMYKcmyk(0%, 1.7%, 56.2%, 5.1%)
CIE-LABlab(92.16, -15.12, 63.04)
CIE-LCHlch(92.16, 64.83, 103.49°)
OKLaboklab(92.72% -0.0458 0.1459)
OKLCHoklch(92.72% 0.153 107.4)
XYZxyz(69.7961, 81.0690, 25.6041)
Luminance0.8107 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EE6A #6A6EF2
analogous
#F2AA6A #F2EE6A #B2F26A
triadic
#F2EE6A #6AF2EE #EE6AF2
tetradic
#F2EE6A #6AF2AA #6A6EF2 #F26AB2
square
#F2EE6A #6AF2AA #6A6EF2 #F26AB2
split-complementary
#F2EE6A #6AB2F2 #AA6AF2
monochromatic
#CFCA12 #EDE832 #F2EE6A #F7F4A2 #FCFBDB

Accessibility & contrast

On white

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

On black

17.21
#F2EE6A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EE6A
17.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EE6A#FFFFFF#000000##000000
##F2EE6A1.001.2217.2117.21
#FFFFFF1.221.0021.0021.00
#00000017.2121.001.001.00
##00000017.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE65C
Deuteranopia (green-blind)
#FFEB71
Tritanopia (blue-blind)
#FFE0D1
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f2ee6a;
/* rgb */ color: rgb(242, 238, 106);
/* oklch */ color: oklch(92.7% 0.153 107.4);
Tailwind
colors: {
  custom: {
    50: '#f9f399',
    500: '#f2ee6a',
    950: '#000000',
  },
}
SCSS
$custom: #f2ee6a;
$custom-light: #f9f399;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ee6a",
  "rgb": {
    "r": 242,
    "g": 238,
    "b": 106
  },
  "hsl": {
    "h": 58.235,
    "s": 83.951,
    "l": 68.235
  },
  "oklch": {
    "l": 0.9272,
    "c": 0.15287,
    "h": 107.4
  },
  "luminance": 0.81067
}

Semantic roles & 50–950 ramp

primary
#F2EE6A
secondary
#363ACB
accent
#0CE005
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F2EE6A

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

Preview Lab → · Contrast checker → · Palette generator →

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