#F2E960#F2E960

#F2E960 is a very light, vivid yellow. Relative luminance 0.780; OKLCH L 91.6% C 0.156 H 105.5°. Best body text is #000000 at 16.60:1 contrast (WCAG AA passes).

Color values

HEX#F2E960
RGBrgb(242, 233, 96)
HSLhsl(56, 85%, 66%)
HSVhsv(56, 60%, 95%)
CMYKcmyk(0%, 3.7%, 60.3%, 5.1%)
CIE-LABlab(90.78, -13.35, 65.78)
CIE-LCHlch(90.78, 67.13, 101.48°)
OKLaboklab(91.59% -0.0418 0.1505)
OKLCHoklch(91.59% 0.156 105.5)
XYZxyz(67.8705, 78.0019, 22.5448)
Luminance0.7800 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E960 #6069F2
analogous
#F2A060 #F2E960 #B2F260
triadic
#F2E960 #60F2E9 #E960F2
tetradic
#F2E960 #60F2A0 #6069F2 #F260B2
square
#F2E960 #60F2A0 #6069F2 #F260B2
split-complementary
#F2E960 #60B2F2 #A060F2
monochromatic
#C7BC10 #EDE127 #F2E960 #F7F199 #FBF9D1

Accessibility & contrast

On white

1.27
#F2E960 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.60
#F2E960 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E960
16.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E960#FFFFFF#000000##000000
##F2E9601.001.2716.6016.60
#FFFFFF1.271.0021.0021.00
#00000016.6021.001.001.00
##00000016.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE150
Deuteranopia (green-blind)
#FFE768
Tritanopia (blue-blind)
#FFDBCC
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f2e960;
/* rgb */ color: rgb(242, 233, 96);
/* oklch */ color: oklch(91.6% 0.156 105.5);
Tailwind
colors: {
  custom: {
    50: '#f9ef92',
    500: '#f2e960',
    950: '#000000',
  },
}
SCSS
$custom: #f2e960;
$custom-light: #f9ef92;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e960",
  "rgb": {
    "r": 242,
    "g": 233,
    "b": 96
  },
  "hsl": {
    "h": 56.301,
    "s": 84.884,
    "l": 66.275
  },
  "oklch": {
    "l": 0.91592,
    "c": 0.15615,
    "h": 105.5
  },
  "luminance": 0.78
}

Semantic roles & 50–950 ramp

primary
#F2E960
secondary
#323BC4
accent
#12E104
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #F2E960

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

Preview Lab → · Contrast checker → · Palette generator →

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