#F2EA74#F2EA74

#F2EA74 is a very light, vivid yellow. Relative luminance 0.790; OKLCH L 92.0% C 0.140 H 105.3°. Best body text is #000000 at 16.80:1 contrast (WCAG AA passes).

Color values

HEX#F2EA74
RGBrgb(242, 234, 116)
HSLhsl(56, 83%, 70%)
HSVhsv(56, 52%, 95%)
CMYKcmyk(0%, 3.3%, 52.1%, 5.1%)
CIE-LABlab(91.23, -12.39, 57.51)
CIE-LCHlch(91.23, 58.83, 102.16°)
OKLaboklab(92.01% -0.0369 0.135)
OKLCHoklch(92.01% 0.14 105.3)
XYZxyz(69.1951, 78.9859, 28.1205)
Luminance0.7898 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EA74 #747CF2
analogous
#F2AB74 #F2EA74 #BBF274
triadic
#F2EA74 #74F2EA #EA74F2
tetradic
#F2EA74 #74F2AB #747CF2 #F274BB
square
#F2EA74 #74F2AB #747CF2 #F274BB
split-complementary
#F2EA74 #74BBF2 #AB74F2
monochromatic
#D7CB14 #EDE23C #F2EA74 #F7F2AC #FCFBE3

Accessibility & contrast

On white

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

On black

16.80
#F2EA74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EA74
16.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EA74#FFFFFF#000000##000000
##F2EA741.001.2516.8016.80
#FFFFFF1.251.0021.0021.00
#00000016.8021.001.001.00
##00000016.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE369
Deuteranopia (green-blind)
#FEE87A
Tritanopia (blue-blind)
#FFDDCF
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f2ea74;
/* rgb */ color: rgb(242, 234, 116);
/* oklch */ color: oklch(92.0% 0.140 105.3);
Tailwind
colors: {
  custom: {
    50: '#f9f09f',
    500: '#f2ea74',
    950: '#000000',
  },
}
SCSS
$custom: #f2ea74;
$custom-light: #f9f09f;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ea74",
  "rgb": {
    "r": 242,
    "g": 234,
    "b": 116
  },
  "hsl": {
    "h": 56.19,
    "s": 82.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.92009,
    "c": 0.13998,
    "h": 105.3
  },
  "luminance": 0.78984
}

Semantic roles & 50–950 ramp

primary
#F2EA74
secondary
#3E47CC
accent
#14DF06
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F2EA74

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

Preview Lab → · Contrast checker → · Palette generator →

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