#F2EF8E#F2EF8E

#F2EF8E is a very light, moderate yellow. Relative luminance 0.826; OKLCH L 93.4% C 0.119 H 107.0°. Best body text is #000000 at 17.51:1 contrast (WCAG AA passes).

Color values

HEX#F2EF8E
RGBrgb(242, 239, 142)
HSLhsl(58, 79%, 75%)
HSVhsv(58, 41%, 95%)
CMYKcmyk(0%, 1.2%, 41.3%, 5.1%)
CIE-LABlab(92.82, -12.50, 47.17)
CIE-LCHlch(92.82, 48.80, 104.84°)
OKLaboklab(93.38% -0.0348 0.1142)
OKLCHoklch(93.38% 0.119 107)
XYZxyz(72.3682, 82.5649, 37.7104)
Luminance0.8256 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EF8E #8E91F2
analogous
#F2BD8E #F2EF8E #C3F28E
triadic
#F2EF8E #8EF2EF #EF8EF2
tetradic
#F2EF8E #8EF2BD #8E91F2 #F28EC3
square
#F2EF8E #8EF2BD #8E91F2 #F28EC3
split-complementary
#F2EF8E #8EC3F2 #BD8EF2
monochromatic
#E5DF20 #ECE757 #F2EF8E #F8F7C5 #FCFBE4

Accessibility & contrast

On white

1.20
#F2EF8E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.51
#F2EF8E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EF8E
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EF8E#FFFFFF#000000##000000
##F2EF8E1.001.2017.5117.51
#FFFFFF1.201.0021.0021.00
#00000017.5121.001.001.00
##00000017.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE886
Deuteranopia (green-blind)
#FFEC92
Tritanopia (blue-blind)
#FFE4D8
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f2ef8e;
/* rgb */ color: rgb(242, 239, 142);
/* oklch */ color: oklch(93.4% 0.119 107.0);
Tailwind
colors: {
  custom: {
    50: '#f8f4b0',
    500: '#f2ef8e',
    950: '#000000',
  },
}
SCSS
$custom: #f2ef8e;
$custom-light: #f8f4b0;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ef8e",
  "rgb": {
    "r": 242,
    "g": 239,
    "b": 142
  },
  "hsl": {
    "h": 58.2,
    "s": 79.365,
    "l": 75.294
  },
  "oklch": {
    "l": 0.93377,
    "c": 0.11936,
    "h": 107
  },
  "luminance": 0.82563
}

Semantic roles & 50–950 ramp

primary
#F2EF8E
secondary
#5659CF
accent
#10DC0A
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171711
muted
#858581

Preview Lab

Preview with #F2EF8E

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

Preview Lab → · Contrast checker → · Palette generator →

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