#F2E760#F2E760

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

Color values

HEX#F2E760
RGBrgb(242, 231, 96)
HSLhsl(55, 85%, 66%)
HSVhsv(55, 60%, 95%)
CMYKcmyk(0%, 4.5%, 60.3%, 5.1%)
CIE-LABlab(90.26, -12.37, 65.22)
CIE-LCHlch(90.26, 66.39, 100.74°)
OKLaboklab(91.18% -0.039 0.1493)
OKLCHoklch(91.18% 0.154 104.7)
XYZxyz(67.3076, 76.8760, 22.3571)
Luminance0.7687 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E760 #606BF2
analogous
#F29E60 #F2E760 #B4F260
triadic
#F2E760 #60F2E7 #E760F2
tetradic
#F2E760 #60F29E #606BF2 #F260B4
square
#F2E760 #60F29E #606BF2 #F260B4
split-complementary
#F2E760 #60B4F2 #9E60F2
monochromatic
#C7BA10 #EDDE27 #F2E760 #F7F099 #FBF8D1

Accessibility & contrast

On white

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

On black

16.37
#F2E760 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E760
16.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E760#FFFFFF#000000##000000
##F2E7601.001.2816.3716.37
#FFFFFF1.281.0021.0021.00
#00000016.3721.001.001.00
##00000016.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2e760;
/* rgb */ color: rgb(242, 231, 96);
/* oklch */ color: oklch(91.2% 0.154 104.7);
Tailwind
colors: {
  custom: {
    50: '#f9ee92',
    500: '#f2e760',
    950: '#000000',
  },
}
SCSS
$custom: #f2e760;
$custom-light: #f9ee92;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e760",
  "rgb": {
    "r": 242,
    "g": 231,
    "b": 96
  },
  "hsl": {
    "h": 55.479,
    "s": 84.884,
    "l": 66.275
  },
  "oklch": {
    "l": 0.91181,
    "c": 0.15428,
    "h": 104.7
  },
  "luminance": 0.76874
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2E760

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

Preview Lab → · Contrast checker → · Palette generator →

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