#F2E261#F2E261

#F2E261 is a very light, vivid yellow. Relative luminance 0.741; OKLCH L 90.2% C 0.149 H 102.3°. Best body text is #000000 at 15.83:1 contrast (WCAG AA passes).

Color values

HEX#F2E261
RGBrgb(242, 226, 97)
HSLhsl(53, 85%, 66%)
HSVhsv(53, 60%, 95%)
CMYKcmyk(0%, 6.6%, 59.9%, 5.1%)
CIE-LABlab(88.99, -9.82, 63.40)
CIE-LCHlch(88.99, 64.16, 98.81°)
OKLaboklab(90.17% -0.0316 0.1455)
OKLCHoklch(90.17% 0.149 102.3)
XYZxyz(65.9744, 74.1356, 22.1413)
Luminance0.7413 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E261 #6171F2
analogous
#F29A61 #F2E261 #BAF261
triadic
#F2E261 #61F2E2 #E261F2
tetradic
#F2E261 #61F29A #6171F2 #F261BA
square
#F2E261 #61F29A #6171F2 #F261BA
split-complementary
#F2E261 #61BAF2 #9A61F2
monochromatic
#C8B410 #EDD828 #F2E261 #F7EC9A #FBF7D2

Accessibility & contrast

On white

1.33
#F2E261 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.83
#F2E261 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E261
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E261#FFFFFF#000000##000000
##F2E2611.001.3315.8315.83
#FFFFFF1.331.0021.0021.00
#00000015.8321.001.001.00
##00000015.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DB53
Deuteranopia (green-blind)
#FAE368
Tritanopia (blue-blind)
#FFD4C6
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f2e261;
/* rgb */ color: rgb(242, 226, 97);
/* oklch */ color: oklch(90.2% 0.149 102.3);
Tailwind
colors: {
  custom: {
    50: '#f9ea93',
    500: '#f2e261',
    950: '#000000',
  },
}
SCSS
$custom: #f2e261;
$custom-light: #f9ea93;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e261",
  "rgb": {
    "r": 242,
    "g": 226,
    "b": 97
  },
  "hsl": {
    "h": 53.379,
    "s": 84.795,
    "l": 66.471
  },
  "oklch": {
    "l": 0.90168,
    "c": 0.14891,
    "h": 102.3
  },
  "luminance": 0.74133
}

Semantic roles & 50–950 ramp

primary
#F2E261
secondary
#3242C5
accent
#1DE104
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F2E261

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

Preview Lab → · Contrast checker → · Palette generator →

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