#F2E266#F2E266

#F2E266 is a very light, vivid yellow. Relative luminance 0.742; OKLCH L 90.2% C 0.145 H 102.0°. Best body text is #000000 at 15.85:1 contrast (WCAG AA passes).

Color values

HEX#F2E266
RGBrgb(242, 226, 102)
HSLhsl(53, 84%, 67%)
HSVhsv(53, 58%, 95%)
CMYKcmyk(0%, 6.6%, 57.9%, 5.1%)
CIE-LABlab(89.03, -9.48, 61.28)
CIE-LCHlch(89.03, 62.01, 98.79°)
OKLaboklab(90.22% -0.0301 0.1416)
OKLCHoklch(90.22% 0.145 102)
XYZxyz(66.2149, 74.2318, 23.4081)
Luminance0.7423 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E266 #6676F2
analogous
#F29C66 #F2E266 #BCF266
triadic
#F2E266 #66F2E2 #E266F2
tetradic
#F2E266 #66F29C #6676F2 #F266BC
square
#F2E266 #66F29C #6676F2 #F266BC
split-complementary
#F2E266 #66BCF2 #9C66F2
monochromatic
#CCB711 #EDD72E #F2E266 #F7ED9E #FCF7D7

Accessibility & contrast

On white

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

On black

15.85
#F2E266 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E266
15.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E266#FFFFFF#000000##000000
##F2E2661.001.3315.8515.85
#FFFFFF1.331.0021.0021.00
#00000015.8521.001.001.00
##00000015.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DC59
Deuteranopia (green-blind)
#F9E36C
Tritanopia (blue-blind)
#FFD4C7
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f2e266;
/* rgb */ color: rgb(242, 226, 102);
/* oklch */ color: oklch(90.2% 0.145 102.0);
Tailwind
colors: {
  custom: {
    50: '#f9ea96',
    500: '#f2e266',
    950: '#000000',
  },
}
SCSS
$custom: #f2e266;
$custom-light: #f9ea96;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e266",
  "rgb": {
    "r": 242,
    "g": 226,
    "b": 102
  },
  "hsl": {
    "h": 53.143,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.90219,
    "c": 0.14478,
    "h": 102
  },
  "luminance": 0.74229
}

Semantic roles & 50–950 ramp

primary
#F2E266
secondary
#3445C9
accent
#1EE105
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F2E266

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

Preview Lab → · Contrast checker → · Palette generator →

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