#F2E264#F2E264

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

Color values

HEX#F2E264
RGBrgb(242, 226, 100)
HSLhsl(53, 85%, 67%)
HSVhsv(53, 59%, 95%)
CMYKcmyk(0%, 6.6%, 58.7%, 5.1%)
CIE-LABlab(89.01, -9.62, 62.13)
CIE-LCHlch(89.01, 62.87, 98.80°)
OKLaboklab(90.2% -0.0307 0.1432)
OKLCHoklch(90.2% 0.146 102.1)
XYZxyz(66.1169, 74.1926, 22.8920)
Luminance0.7419 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E264 #6474F2
analogous
#F29B64 #F2E264 #BBF264
triadic
#F2E264 #64F2E2 #E264F2
tetradic
#F2E264 #64F29B #6474F2 #F264BB
square
#F2E264 #64F29B #6474F2 #F264BB
split-complementary
#F2E264 #64BBF2 #9B64F2
monochromatic
#CBB611 #EDD72C #F2E264 #F7ED9C #FBF7D5

Accessibility & contrast

On white

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

On black

15.84
#F2E264 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E264
15.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E264#FFFFFF#000000##000000
##F2E2641.001.3315.8415.84
#FFFFFF1.331.0021.0021.00
#00000015.8421.001.001.00
##00000015.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2e264;
/* rgb */ color: rgb(242, 226, 100);
/* oklch */ color: oklch(90.2% 0.146 102.1);
Tailwind
colors: {
  custom: {
    50: '#f9ea94',
    500: '#f2e264',
    950: '#000000',
  },
}
SCSS
$custom: #f2e264;
$custom-light: #f9ea94;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e264",
  "rgb": {
    "r": 242,
    "g": 226,
    "b": 100
  },
  "hsl": {
    "h": 53.239,
    "s": 84.524,
    "l": 67.059
  },
  "oklch": {
    "l": 0.90198,
    "c": 0.14645,
    "h": 102.1
  },
  "luminance": 0.7419
}

Semantic roles & 50–950 ramp

primary
#F2E264
secondary
#3344C7
accent
#1DE105
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160D
muted
#86847F

Preview Lab

Preview with #F2E264

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

Preview Lab → · Contrast checker → · Palette generator →

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