#F2E761#F2E761

#F2E761 is a very light, vivid yellow. Relative luminance 0.769; OKLCH L 91.2% C 0.153 H 104.6°. Best body text is #000000 at 16.38:1 contrast (WCAG AA passes).

Color values

HEX#F2E761
RGBrgb(242, 231, 97)
HSLhsl(55, 85%, 66%)
HSVhsv(55, 60%, 95%)
CMYKcmyk(0%, 4.5%, 59.9%, 5.1%)
CIE-LABlab(90.27, -12.30, 64.81)
CIE-LCHlch(90.27, 65.97, 100.75°)
OKLaboklab(91.19% -0.0387 0.1485)
OKLCHoklch(91.19% 0.153 104.6)
XYZxyz(67.3539, 76.8945, 22.6012)
Luminance0.7689 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E761 #616CF2
analogous
#F29F61 #F2E761 #B5F261
triadic
#F2E761 #61F2E7 #E761F2
tetradic
#F2E761 #61F29F #616CF2 #F261B5
square
#F2E761 #61F29F #616CF2 #F261B5
split-complementary
#F2E761 #61B5F2 #9F61F2
monochromatic
#C8BA10 #EDDE28 #F2E761 #F7F09A #FBF8D2

Accessibility & contrast

On white

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

On black

16.38
#F2E761 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E761
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E761#FFFFFF#000000##000000
##F2E7611.001.2816.3816.38
#FFFFFF1.281.0021.0021.00
#00000016.3821.001.001.00
##00000016.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE052
Deuteranopia (green-blind)
#FDE668
Tritanopia (blue-blind)
#FFD9CA
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f2e761;
/* rgb */ color: rgb(242, 231, 97);
/* oklch */ color: oklch(91.2% 0.153 104.6);
Tailwind
colors: {
  custom: {
    50: '#f9ee93',
    500: '#f2e761',
    950: '#000000',
  },
}
SCSS
$custom: #f2e761;
$custom-light: #f9ee93;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e761",
  "rgb": {
    "r": 242,
    "g": 231,
    "b": 97
  },
  "hsl": {
    "h": 55.448,
    "s": 84.795,
    "l": 66.471
  },
  "oklch": {
    "l": 0.91191,
    "c": 0.15347,
    "h": 104.6
  },
  "luminance": 0.76892
}

Semantic roles & 50–950 ramp

primary
#F2E761
secondary
#323DC5
accent
#15E104
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F2E761

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

Preview Lab → · Contrast checker → · Palette generator →

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