#F2E060#F2E060

#F2E060 is a very light, vivid yellow. Relative luminance 0.730; OKLCH L 89.8% C 0.148 H 101.3°. Best body text is #000000 at 15.61:1 contrast (WCAG AA passes).

Color values

HEX#F2E060
RGBrgb(242, 224, 96)
HSLhsl(53, 85%, 66%)
HSVhsv(53, 60%, 95%)
CMYKcmyk(0%, 7.4%, 60.3%, 5.1%)
CIE-LABlab(88.46, -8.89, 63.26)
CIE-LCHlch(88.46, 63.88, 98.00°)
OKLaboklab(89.75% -0.0291 0.1451)
OKLCHoklch(89.75% 0.148 101.3)
XYZxyz(65.3874, 73.0357, 21.7171)
Luminance0.7303 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E060 #6072F2
analogous
#F29760 #F2E060 #BBF260
triadic
#F2E060 #60F2E0 #E060F2
tetradic
#F2E060 #60F297 #6072F2 #F260BB
square
#F2E060 #60F297 #6072F2 #F260BB
split-complementary
#F2E060 #60BBF2 #9760F2
monochromatic
#C7B110 #EDD527 #F2E060 #F7EB99 #FBF6D1

Accessibility & contrast

On white

1.35
#F2E060 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.61
#F2E060 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E060
15.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E060#FFFFFF#000000##000000
##F2E0601.001.3515.6115.61
#FFFFFF1.351.0021.0021.00
#00000015.6121.001.001.00
##00000015.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DA52
Deuteranopia (green-blind)
#F8E167
Tritanopia (blue-blind)
#FFD2C4
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f2e060;
/* rgb */ color: rgb(242, 224, 96);
/* oklch */ color: oklch(89.8% 0.148 101.3);
Tailwind
colors: {
  custom: {
    50: '#f9e992',
    500: '#f2e060',
    950: '#000000',
  },
}
SCSS
$custom: #f2e060;
$custom-light: #f9e992;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e060",
  "rgb": {
    "r": 242,
    "g": 224,
    "b": 96
  },
  "hsl": {
    "h": 52.603,
    "s": 84.884,
    "l": 66.275
  },
  "oklch": {
    "l": 0.89751,
    "c": 0.14797,
    "h": 101.3
  },
  "luminance": 0.73033
}

Semantic roles & 50–950 ramp

primary
#F2E060
secondary
#3244C4
accent
#1FE104
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F2E060

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

Preview Lab → · Contrast checker → · Palette generator →

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