#F2EA73#F2EA73

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

Color values

HEX#F2EA73
RGBrgb(242, 234, 115)
HSLhsl(56, 83%, 70%)
HSVhsv(56, 52%, 95%)
CMYKcmyk(0%, 3.3%, 52.5%, 5.1%)
CIE-LABlab(91.22, -12.47, 57.95)
CIE-LCHlch(91.22, 59.28, 102.15°)
OKLaboklab(92% -0.0373 0.1359)
OKLCHoklch(92% 0.141 105.3)
XYZxyz(69.1372, 78.9628, 27.8158)
Luminance0.7896 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EA73 #737BF2
analogous
#F2AA73 #F2EA73 #BBF273
triadic
#F2EA73 #73F2EA #EA73F2
tetradic
#F2EA73 #73F2AA #737BF2 #F273BB
square
#F2EA73 #73F2AA #737BF2 #F273BB
split-complementary
#F2EA73 #73BBF2 #AA73F2
monochromatic
#D7CA14 #EDE23B #F2EA73 #F7F2AB #FCFBE3

Accessibility & contrast

On white

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

On black

16.79
#F2EA73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EA73
16.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EA73#FFFFFF#000000##000000
##F2EA731.001.2516.7916.79
#FFFFFF1.251.0021.0021.00
#00000016.7921.001.001.00
##00000016.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2ea73;
/* rgb */ color: rgb(242, 234, 115);
/* oklch */ color: oklch(92.0% 0.141 105.3);
Tailwind
colors: {
  custom: {
    50: '#f9f09e',
    500: '#f2ea73',
    950: '#000000',
  },
}
SCSS
$custom: #f2ea73;
$custom-light: #f9f09e;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ea73",
  "rgb": {
    "r": 242,
    "g": 234,
    "b": 115
  },
  "hsl": {
    "h": 56.22,
    "s": 83.007,
    "l": 70
  },
  "oklch": {
    "l": 0.91997,
    "c": 0.1409,
    "h": 105.3
  },
  "luminance": 0.78961
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2EA73

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

Preview Lab → · Contrast checker → · Palette generator →

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