#F2E260#F2E260

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

Color values

HEX#F2E260
RGBrgb(242, 226, 96)
HSLhsl(53, 85%, 66%)
HSVhsv(53, 60%, 95%)
CMYKcmyk(0%, 6.6%, 60.3%, 5.1%)
CIE-LABlab(88.98, -9.89, 63.82)
CIE-LCHlch(88.98, 64.58, 98.81°)
OKLaboklab(90.16% -0.0319 0.1463)
OKLCHoklch(90.16% 0.15 102.3)
XYZxyz(65.9281, 74.1170, 21.8973)
Luminance0.7411 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E260 #6070F2
analogous
#F29960 #F2E260 #B9F260
triadic
#F2E260 #60F2E2 #E260F2
tetradic
#F2E260 #60F299 #6070F2 #F260B9
square
#F2E260 #60F299 #6070F2 #F260B9
split-complementary
#F2E260 #60B9F2 #9960F2
monochromatic
#C7B310 #EDD827 #F2E260 #F7EC99 #FBF7D1

Accessibility & contrast

On white

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

On black

15.82
#F2E260 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E260
15.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E260#FFFFFF#000000##000000
##F2E2601.001.3315.8215.82
#FFFFFF1.331.0021.0021.00
#00000015.8221.001.001.00
##00000015.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2e260;
/* rgb */ color: rgb(242, 226, 96);
/* oklch */ color: oklch(90.2% 0.150 102.3);
Tailwind
colors: {
  custom: {
    50: '#f9ea92',
    500: '#f2e260',
    950: '#000000',
  },
}
SCSS
$custom: #f2e260;
$custom-light: #f9ea92;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e260",
  "rgb": {
    "r": 242,
    "g": 226,
    "b": 96
  },
  "hsl": {
    "h": 53.425,
    "s": 84.884,
    "l": 66.275
  },
  "oklch": {
    "l": 0.90159,
    "c": 0.14972,
    "h": 102.3
  },
  "luminance": 0.74114
}

Semantic roles & 50–950 ramp

primary
#F2E260
secondary
#3242C4
accent
#1CE104
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F2E260

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

Preview Lab → · Contrast checker → · Palette generator →

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