#F2EE6B#F2EE6B

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

Color values

HEX#F2EE6B
RGBrgb(242, 238, 107)
HSLhsl(58, 84%, 68%)
HSVhsv(58, 56%, 95%)
CMYKcmyk(0%, 1.7%, 55.8%, 5.1%)
CIE-LABlab(92.17, -15.05, 62.61)
CIE-LCHlch(92.17, 64.40, 103.52°)
OKLaboklab(92.73% -0.0455 0.1451)
OKLCHoklch(92.73% 0.152 107.4)
XYZxyz(69.8484, 81.0899, 25.8796)
Luminance0.8109 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EE6B #6B6FF2
analogous
#F2AA6B #F2EE6B #B2F26B
triadic
#F2EE6B #6BF2EE #EE6BF2
tetradic
#F2EE6B #6BF2AA #6B6FF2 #F26BB2
square
#F2EE6B #6BF2AA #6B6FF2 #F26BB2
split-complementary
#F2EE6B #6BB2F2 #AA6BF2
monochromatic
#D0CB12 #EDE833 #F2EE6B #F7F4A3 #FCFBDC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2EE6B#FFFFFF#000000##000000
##F2EE6B1.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)
#FFE65D
Deuteranopia (green-blind)
#FFEB72
Tritanopia (blue-blind)
#FFE0D1
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f2ee6b;
/* rgb */ color: rgb(242, 238, 107);
/* oklch */ color: oklch(92.7% 0.152 107.4);
Tailwind
colors: {
  custom: {
    50: '#f9f399',
    500: '#f2ee6b',
    950: '#000000',
  },
}
SCSS
$custom: #f2ee6b;
$custom-light: #f9f399;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ee6b",
  "rgb": {
    "r": 242,
    "g": 238,
    "b": 107
  },
  "hsl": {
    "h": 58.222,
    "s": 83.851,
    "l": 68.431
  },
  "oklch": {
    "l": 0.92731,
    "c": 0.15202,
    "h": 107.4
  },
  "luminance": 0.81088
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2EE6B

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

Preview Lab → · Contrast checker → · Palette generator →

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