#F2EE7B#F2EE7B

#F2EE7B is a very light, vivid yellow. Relative luminance 0.815; OKLCH L 92.9% C 0.138 H 107.0°. Best body text is #000000 at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#F2EE7B
RGBrgb(242, 238, 123)
HSLhsl(58, 82%, 72%)
HSVhsv(58, 49%, 95%)
CMYKcmyk(0%, 1.7%, 49.2%, 5.1%)
CIE-LABlab(92.34, -13.78, 55.60)
CIE-LCHlch(92.34, 57.28, 103.92°)
OKLaboklab(92.91% -0.0402 0.1315)
OKLCHoklch(92.91% 0.138 107)
XYZxyz(70.7694, 81.4583, 30.7301)
Luminance0.8146 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EE7B #7B7FF2
analogous
#F2B37B #F2EE7B #BBF27B
triadic
#F2EE7B #7BF2EE #EE7BF2
tetradic
#F2EE7B #7BF2B3 #7B7FF2 #F27BBB
square
#F2EE7B #7BF2B3 #7B7FF2 #F27BBB
split-complementary
#F2EE7B #7BBBF2 #B37BF2
monochromatic
#DDD616 #EDE743 #F2EE7B #F7F5B3 #FCFBE3

Accessibility & contrast

On white

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

On black

17.29
#F2EE7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EE7B
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EE7B#FFFFFF#000000##000000
##F2EE7B1.001.2117.2917.29
#FFFFFF1.211.0021.0021.00
#00000017.2921.001.001.00
##00000017.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE671
Deuteranopia (green-blind)
#FFEB81
Tritanopia (blue-blind)
#FFE1D4
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f2ee7b;
/* rgb */ color: rgb(242, 238, 123);
/* oklch */ color: oklch(92.9% 0.138 107.0);
Tailwind
colors: {
  custom: {
    50: '#f8f3a4',
    500: '#f2ee7b',
    950: '#000000',
  },
}
SCSS
$custom: #f2ee7b;
$custom-light: #f8f3a4;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ee7b",
  "rgb": {
    "r": 242,
    "g": 238,
    "b": 123
  },
  "hsl": {
    "h": 57.983,
    "s": 82.069,
    "l": 71.569
  },
  "oklch": {
    "l": 0.92914,
    "c": 0.1375,
    "h": 107
  },
  "luminance": 0.81456
}

Semantic roles & 50–950 ramp

primary
#F2EE7B
secondary
#4549CD
accent
#0EDE07
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F2EE7B

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

Preview Lab → · Contrast checker → · Palette generator →

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