#F2EA76#F2EA76

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

Color values

HEX#F2EA76
RGBrgb(242, 234, 118)
HSLhsl(56, 83%, 71%)
HSVhsv(56, 51%, 95%)
CMYKcmyk(0%, 3.3%, 51.2%, 5.1%)
CIE-LABlab(91.25, -12.23, 56.62)
CIE-LCHlch(91.25, 57.92, 102.19°)
OKLaboklab(92.03% -0.0363 0.1333)
OKLCHoklch(92.03% 0.138 105.2)
XYZxyz(69.3127, 79.0330, 28.7398)
Luminance0.7903 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EA76 #767EF2
analogous
#F2AC76 #F2EA76 #BCF276
triadic
#F2EA76 #76F2EA #EA76F2
tetradic
#F2EA76 #76F2AC #767EF2 #F276BC
square
#F2EA76 #76F2AC #767EF2 #F276BC
split-complementary
#F2EA76 #76BCF2 #AC76F2
monochromatic
#D9CC15 #EDE13E #F2EA76 #F7F3AE #FCFBE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2EA76#FFFFFF#000000##000000
##F2EA761.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)
#FBE36B
Deuteranopia (green-blind)
#FEE87C
Tritanopia (blue-blind)
#FFDDD0
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f2ea76;
/* rgb */ color: rgb(242, 234, 118);
/* oklch */ color: oklch(92.0% 0.138 105.2);
Tailwind
colors: {
  custom: {
    50: '#f9f0a0',
    500: '#f2ea76',
    950: '#000000',
  },
}
SCSS
$custom: #f2ea76;
$custom-light: #f9f0a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ea76",
  "rgb": {
    "r": 242,
    "g": 234,
    "b": 118
  },
  "hsl": {
    "h": 56.129,
    "s": 82.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.92032,
    "c": 0.13812,
    "h": 105.2
  },
  "luminance": 0.79031
}

Semantic roles & 50–950 ramp

primary
#F2EA76
secondary
#4049CC
accent
#14DF06
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F2EA76

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

Preview Lab → · Contrast checker → · Palette generator →

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