#F2EA77#F2EA77

#F2EA77 is a very light, vivid yellow. Relative luminance 0.791; OKLCH L 92.0% C 0.137 H 105.2°. Best body text is #000000 at 16.81:1 contrast (WCAG AA passes).

Color values

HEX#F2EA77
RGBrgb(242, 234, 119)
HSLhsl(56, 83%, 71%)
HSVhsv(56, 51%, 95%)
CMYKcmyk(0%, 3.3%, 50.8%, 5.1%)
CIE-LABlab(91.26, -12.15, 56.17)
CIE-LCHlch(91.26, 57.47, 102.20°)
OKLaboklab(92.05% -0.0359 0.1324)
OKLCHoklch(92.05% 0.137 105.2)
XYZxyz(69.3724, 79.0569, 29.0544)
Luminance0.7905 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EA77 #777FF2
analogous
#F2AD77 #F2EA77 #BCF277
triadic
#F2EA77 #77F2EA #EA77F2
tetradic
#F2EA77 #77F2AD #777FF2 #F277BC
square
#F2EA77 #77F2AD #777FF2 #F277BC
split-complementary
#F2EA77 #77BCF2 #AD77F2
monochromatic
#DACD15 #EDE13F #F2EA77 #F7F3AF #FCFBE3

Accessibility & contrast

On white

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

On black

16.81
#F2EA77 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EA77
16.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EA77#FFFFFF#000000##000000
##F2EA771.001.2516.8116.81
#FFFFFF1.251.0021.0021.00
#00000016.8121.001.001.00
##00000016.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2ea77;
/* rgb */ color: rgb(242, 234, 119);
/* oklch */ color: oklch(92.0% 0.137 105.2);
Tailwind
colors: {
  custom: {
    50: '#f9f0a1',
    500: '#f2ea77',
    950: '#000000',
  },
}
SCSS
$custom: #f2ea77;
$custom-light: #f9f0a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ea77",
  "rgb": {
    "r": 242,
    "g": 234,
    "b": 119
  },
  "hsl": {
    "h": 56.098,
    "s": 82.55,
    "l": 70.784
  },
  "oklch": {
    "l": 0.92045,
    "c": 0.13718,
    "h": 105.2
  },
  "luminance": 0.79055
}

Semantic roles & 50–950 ramp

primary
#F2EA77
secondary
#414ACC
accent
#15DF07
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F2EA77

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

Preview Lab → · Contrast checker → · Palette generator →

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