#F2EF8F#F2EF8F

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

Color values

HEX#F2EF8F
RGBrgb(242, 239, 143)
HSLhsl(58, 79%, 75%)
HSVhsv(58, 41%, 95%)
CMYKcmyk(0%, 1.2%, 40.9%, 5.1%)
CIE-LABlab(92.84, -12.40, 46.71)
CIE-LCHlch(92.84, 48.32, 104.86°)
OKLaboklab(93.39% -0.0344 0.1132)
OKLCHoklch(93.39% 0.118 106.9)
XYZxyz(72.4436, 82.5951, 38.1075)
Luminance0.8259 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EF8F #8F92F2
analogous
#F2BD8F #F2EF8F #C3F28F
triadic
#F2EF8F #8FF2EF #EF8FF2
tetradic
#F2EF8F #8FF2BD #8F92F2 #F28FC3
square
#F2EF8F #8FF2BD #8F92F2 #F28FC3
split-complementary
#F2EF8F #8FC3F2 #BD8FF2
monochromatic
#E5DF21 #ECE758 #F2EF8F #F8F7C6 #FCFBE4

Accessibility & contrast

On white

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

On black

17.52
#F2EF8F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EF8F
17.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EF8F#FFFFFF#000000##000000
##F2EF8F1.001.2017.5217.52
#FFFFFF1.201.0021.0021.00
#00000017.5221.001.001.00
##00000017.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2ef8f;
/* rgb */ color: rgb(242, 239, 143);
/* oklch */ color: oklch(93.4% 0.118 106.9);
Tailwind
colors: {
  custom: {
    50: '#f8f4b1',
    500: '#f2ef8f',
    950: '#000000',
  },
}
SCSS
$custom: #f2ef8f;
$custom-light: #f8f4b1;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ef8f",
  "rgb": {
    "r": 242,
    "g": 239,
    "b": 143
  },
  "hsl": {
    "h": 58.182,
    "s": 79.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.93392,
    "c": 0.11829,
    "h": 106.9
  },
  "luminance": 0.82593
}

Semantic roles & 50–950 ramp

primary
#F2EF8F
secondary
#575ACF
accent
#10DB0A
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #F2EF8F

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

Preview Lab → · Contrast checker → · Palette generator →

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