#F2EF7A#F2EF7A

#F2EF7A is a very light, vivid yellow. Relative luminance 0.820; OKLCH L 93.1% C 0.140 H 107.5°. Best body text is #000000 at 17.40:1 contrast (WCAG AA passes).

Color values

HEX#F2EF7A
RGBrgb(242, 239, 122)
HSLhsl(59, 82%, 71%)
HSVhsv(59, 50%, 95%)
CMYKcmyk(0%, 1.2%, 49.6%, 5.1%)
CIE-LABlab(92.58, -14.36, 56.35)
CIE-LCHlch(92.58, 58.15, 104.29°)
OKLaboklab(93.11% -0.042 0.1331)
OKLCHoklch(93.11% 0.14 107.5)
XYZxyz(70.9990, 82.0173, 30.4995)
Luminance0.8202 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EF7A #7A7DF2
analogous
#F2B37A #F2EF7A #B9F27A
triadic
#F2EF7A #7AF2EF #EF7AF2
tetradic
#F2EF7A #7AF2B3 #7A7DF2 #F27AB9
square
#F2EF7A #7AF2B3 #7A7DF2 #F27AB9
split-complementary
#F2EF7A #7AB9F2 #B37AF2
monochromatic
#DCD716 #EDE842 #F2EF7A #F7F6B2 #FCFCE3

Accessibility & contrast

On white

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

On black

17.40
#F2EF7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EF7A
17.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EF7A#FFFFFF#000000##000000
##F2EF7A1.001.2117.4017.40
#FFFFFF1.211.0021.0021.00
#00000017.4021.001.001.00
##00000017.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE76F
Deuteranopia (green-blind)
#FFEC80
Tritanopia (blue-blind)
#FFE2D4
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f2ef7a;
/* rgb */ color: rgb(242, 239, 122);
/* oklch */ color: oklch(93.1% 0.140 107.5);
Tailwind
colors: {
  custom: {
    50: '#f8f4a3',
    500: '#f2ef7a',
    950: '#000000',
  },
}
SCSS
$custom: #f2ef7a;
$custom-light: #f8f4a3;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ef7a",
  "rgb": {
    "r": 242,
    "g": 239,
    "b": 122
  },
  "hsl": {
    "h": 58.5,
    "s": 82.192,
    "l": 71.373
  },
  "oklch": {
    "l": 0.93107,
    "c": 0.13951,
    "h": 107.5
  },
  "luminance": 0.82015
}

Semantic roles & 50–950 ramp

primary
#F2EF7A
secondary
#4447CD
accent
#0CDF07
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F2EF7A

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

Preview Lab → · Contrast checker → · Palette generator →

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