#F2EA7A#F2EA7A

#F2EA7A is a very light, vivid yellow. Relative luminance 0.791; OKLCH L 92.1% C 0.134 H 105.1°. Best body text is #000000 at 16.83:1 contrast (WCAG AA passes).

Color values

HEX#F2EA7A
RGBrgb(242, 234, 122)
HSLhsl(56, 82%, 71%)
HSVhsv(56, 50%, 95%)
CMYKcmyk(0%, 3.3%, 49.6%, 5.1%)
CIE-LABlab(91.29, -11.89, 54.82)
CIE-LCHlch(91.29, 56.10, 102.24°)
OKLaboklab(92.08% -0.0349 0.1297)
OKLCHoklch(92.08% 0.134 105.1)
XYZxyz(69.5554, 79.1301, 30.0183)
Luminance0.7913 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EA7A #7A82F2
analogous
#F2AE7A #F2EA7A #BEF27A
triadic
#F2EA7A #7AF2EA #EA7AF2
tetradic
#F2EA7A #7AF2AE #7A82F2 #F27ABE
square
#F2EA7A #7AF2AE #7A82F2 #F27ABE
split-complementary
#F2EA7A #7ABEF2 #AE7AF2
monochromatic
#DCCF16 #EDE142 #F2EA7A #F7F3B2 #FCFBE3

Accessibility & contrast

On white

1.25
#F2EA7A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.83
#F2EA7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EA7A
16.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EA7A#FFFFFF#000000##000000
##F2EA7A1.001.2516.8316.83
#FFFFFF1.251.0021.0021.00
#00000016.8321.001.001.00
##00000016.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE370
Deuteranopia (green-blind)
#FEE97F
Tritanopia (blue-blind)
#FFDDD0
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f2ea7a;
/* rgb */ color: rgb(242, 234, 122);
/* oklch */ color: oklch(92.1% 0.134 105.1);
Tailwind
colors: {
  custom: {
    50: '#f8f0a3',
    500: '#f2ea7a',
    950: '#000000',
  },
}
SCSS
$custom: #f2ea7a;
$custom-light: #f8f0a3;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ea7a",
  "rgb": {
    "r": 242,
    "g": 234,
    "b": 122
  },
  "hsl": {
    "h": 56,
    "s": 82.192,
    "l": 71.373
  },
  "oklch": {
    "l": 0.92082,
    "c": 0.13433,
    "h": 105.1
  },
  "luminance": 0.79128
}

Semantic roles & 50–950 ramp

primary
#F2EA7A
secondary
#444DCD
accent
#15DF07
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #F2EA7A

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

Preview Lab → · Contrast checker → · Palette generator →

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