#F2EF7F#F2EF7F

#F2EF7F is a very light, vivid yellow. Relative luminance 0.821; OKLCH L 93.2% C 0.135 H 107.4°. Best body text is #000000 at 17.43:1 contrast (WCAG AA passes).

Color values

HEX#F2EF7F
RGBrgb(242, 239, 127)
HSLhsl(58, 82%, 72%)
HSVhsv(58, 48%, 95%)
CMYKcmyk(0%, 1.2%, 47.5%, 5.1%)
CIE-LABlab(92.64, -13.92, 54.10)
CIE-LCHlch(92.64, 55.86, 104.43°)
OKLaboklab(93.17% -0.0402 0.1285)
OKLCHoklch(93.17% 0.135 107.4)
XYZxyz(71.3168, 82.1444, 32.1732)
Luminance0.8214 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EF7F #7F82F2
analogous
#F2B67F #F2EF7F #BBF27F
triadic
#F2EF7F #7FF2EF #EF7FF2
tetradic
#F2EF7F #7FF2B6 #7F82F2 #F27FBB
square
#F2EF7F #7FF2B6 #7F82F2 #F27FBB
split-complementary
#F2EF7F #7FBBF2 #B67FF2
monochromatic
#E0DB17 #ECE847 #F2EF7F #F8F6B7 #FCFCE3

Accessibility & contrast

On white

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

On black

17.43
#F2EF7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EF7F
17.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EF7F#FFFFFF#000000##000000
##F2EF7F1.001.2017.4317.43
#FFFFFF1.201.0021.0021.00
#00000017.4321.001.001.00
##00000017.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE775
Deuteranopia (green-blind)
#FFEC84
Tritanopia (blue-blind)
#FFE3D5
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f2ef7f;
/* rgb */ color: rgb(242, 239, 127);
/* oklch */ color: oklch(93.2% 0.135 107.4);
Tailwind
colors: {
  custom: {
    50: '#f8f4a6',
    500: '#f2ef7f',
    950: '#000000',
  },
}
SCSS
$custom: #f2ef7f;
$custom-light: #f8f4a6;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ef7f",
  "rgb": {
    "r": 242,
    "g": 239,
    "b": 127
  },
  "hsl": {
    "h": 58.435,
    "s": 81.56,
    "l": 72.353
  },
  "oklch": {
    "l": 0.9317,
    "c": 0.13469,
    "h": 107.4
  },
  "luminance": 0.82143
}

Semantic roles & 50–950 ramp

primary
#F2EF7F
secondary
#484CCD
accent
#0DDE08
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#171710
muted
#858580

Preview Lab

Preview with #F2EF7F

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

Preview Lab → · Contrast checker → · Palette generator →

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