#F2EA71#F2EA71

#F2EA71 is a very light, vivid yellow. Relative luminance 0.789; OKLCH L 92.0% C 0.143 H 105.4°. Best body text is #000000 at 16.78:1 contrast (WCAG AA passes).

Color values

HEX#F2EA71
RGBrgb(242, 234, 113)
HSLhsl(56, 83%, 70%)
HSVhsv(56, 53%, 95%)
CMYKcmyk(0%, 3.3%, 53.3%, 5.1%)
CIE-LABlab(91.20, -12.63, 58.84)
CIE-LCHlch(91.20, 60.18, 102.12°)
OKLaboklab(91.97% -0.0379 0.1376)
OKLCHoklch(91.97% 0.143 105.4)
XYZxyz(69.0234, 78.9173, 27.2162)
Luminance0.7892 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EA71 #7179F2
analogous
#F2AA71 #F2EA71 #BAF271
triadic
#F2EA71 #71F2EA #EA71F2
tetradic
#F2EA71 #71F2AA #7179F2 #F271BA
square
#F2EA71 #71F2AA #7179F2 #F271BA
split-complementary
#F2EA71 #71BAF2 #AA71F2
monochromatic
#D5C914 #EDE239 #F2EA71 #F7F2A9 #FCFBE1

Accessibility & contrast

On white

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

On black

16.78
#F2EA71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EA71
16.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EA71#FFFFFF#000000##000000
##F2EA711.001.2516.7816.78
#FFFFFF1.251.0021.0021.00
#00000016.7821.001.001.00
##00000016.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2ea71;
/* rgb */ color: rgb(242, 234, 113);
/* oklch */ color: oklch(92.0% 0.143 105.4);
Tailwind
colors: {
  custom: {
    50: '#f9f09d',
    500: '#f2ea71',
    950: '#000000',
  },
}
SCSS
$custom: #f2ea71;
$custom-light: #f9f09d;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ea71",
  "rgb": {
    "r": 242,
    "g": 234,
    "b": 113
  },
  "hsl": {
    "h": 56.279,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.91974,
    "c": 0.14273,
    "h": 105.4
  },
  "luminance": 0.78915
}

Semantic roles & 50–950 ramp

primary
#F2EA71
secondary
#3C45CB
accent
#13E006
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F2EA71

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

Preview Lab → · Contrast checker → · Palette generator →

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