#F2EE7C#F2EE7C

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

Color values

HEX#F2EE7C
RGBrgb(242, 238, 124)
HSLhsl(58, 82%, 72%)
HSVhsv(58, 49%, 95%)
CMYKcmyk(0%, 1.7%, 48.8%, 5.1%)
CIE-LABlab(92.35, -13.69, 55.15)
CIE-LCHlch(92.35, 56.82, 103.95°)
OKLaboklab(92.93% -0.0399 0.1306)
OKLCHoklch(92.93% 0.137 107)
XYZxyz(70.8323, 81.4834, 31.0615)
Luminance0.8148 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EE7C #7C80F2
analogous
#F2B37C #F2EE7C #BBF27C
triadic
#F2EE7C #7CF2EE #EE7CF2
tetradic
#F2EE7C #7CF2B3 #7C80F2 #F27CBB
square
#F2EE7C #7CF2B3 #7C80F2 #F27CBB
split-complementary
#F2EE7C #7CBBF2 #B37CF2
monochromatic
#DED716 #ECE744 #F2EE7C #F8F5B4 #FCFBE3

Accessibility & contrast

On white

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

On black

17.30
#F2EE7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EE7C
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EE7C#FFFFFF#000000##000000
##F2EE7C1.001.2117.3017.30
#FFFFFF1.211.0021.0021.00
#00000017.3021.001.001.00
##00000017.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2ee7c;
/* rgb */ color: rgb(242, 238, 124);
/* oklch */ color: oklch(92.9% 0.137 107.0);
Tailwind
colors: {
  custom: {
    50: '#f8f3a4',
    500: '#f2ee7c',
    950: '#000000',
  },
}
SCSS
$custom: #f2ee7c;
$custom-light: #f8f3a4;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ee7c",
  "rgb": {
    "r": 242,
    "g": 238,
    "b": 124
  },
  "hsl": {
    "h": 57.966,
    "s": 81.944,
    "l": 71.765
  },
  "oklch": {
    "l": 0.92926,
    "c": 0.13654,
    "h": 107
  },
  "luminance": 0.81482
}

Semantic roles & 50–950 ramp

primary
#F2EE7C
secondary
#454ACD
accent
#0EDE07
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F2EE7C

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

Preview Lab → · Contrast checker → · Palette generator →

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