#F2E76E#F2E76E

#F2E76E is a very light, vivid yellow. Relative luminance 0.772; OKLCH L 91.3% C 0.142 H 104.1°. Best body text is #000000 at 16.43:1 contrast (WCAG AA passes).

Color values

HEX#F2E76E
RGBrgb(242, 231, 110)
HSLhsl(55, 84%, 69%)
HSVhsv(55, 55%, 95%)
CMYKcmyk(0%, 4.5%, 54.5%, 5.1%)
CIE-LABlab(90.39, -11.38, 59.26)
CIE-LCHlch(90.39, 60.35, 100.87°)
OKLaboklab(91.33% -0.0347 0.1382)
OKLCHoklch(91.33% 0.142 104.1)
XYZxyz(68.0105, 77.1571, 26.0591)
Luminance0.7715 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E76E #6E79F2
analogous
#F2A56E #F2E76E #BBF26E
triadic
#F2E76E #6EF2E7 #E76EF2
tetradic
#F2E76E #6EF2A5 #6E79F2 #F26EBB
square
#F2E76E #6EF2A5 #6E79F2 #F26EBB
split-complementary
#F2E76E #6EBBF2 #A56EF2
monochromatic
#D3C313 #EDDE36 #F2E76E #F7F0A6 #FCFADE

Accessibility & contrast

On white

1.28
#F2E76E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.43
#F2E76E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E76E
16.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E76E#FFFFFF#000000##000000
##F2E76E1.001.2816.4316.43
#FFFFFF1.281.0021.0021.00
#00000016.4321.001.001.00
##00000016.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E062
Deuteranopia (green-blind)
#FDE674
Tritanopia (blue-blind)
#FFD9CC
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f2e76e;
/* rgb */ color: rgb(242, 231, 110);
/* oklch */ color: oklch(91.3% 0.142 104.1);
Tailwind
colors: {
  custom: {
    50: '#f9ee9b',
    500: '#f2e76e',
    950: '#000000',
  },
}
SCSS
$custom: #f2e76e;
$custom-light: #f9ee9b;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e76e",
  "rgb": {
    "r": 242,
    "g": 231,
    "b": 110
  },
  "hsl": {
    "h": 55,
    "s": 83.544,
    "l": 69.02
  },
  "oklch": {
    "l": 0.91326,
    "c": 0.14249,
    "h": 104.1
  },
  "luminance": 0.77155
}

Semantic roles & 50–950 ramp

primary
#F2E76E
secondary
#3945CB
accent
#18E006
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F2E76E

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

Preview Lab → · Contrast checker → · Palette generator →

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