#F2E161#F2E161

#F2E161 is a very light, vivid yellow. Relative luminance 0.736; OKLCH L 90.0% C 0.148 H 101.8°. Best body text is #000000 at 15.72:1 contrast (WCAG AA passes).

Color values

HEX#F2E161
RGBrgb(242, 225, 97)
HSLhsl(53, 85%, 66%)
HSVhsv(53, 60%, 95%)
CMYKcmyk(0%, 7%, 59.9%, 5.1%)
CIE-LABlab(88.73, -9.32, 63.12)
CIE-LCHlch(88.73, 63.80, 98.40°)
OKLaboklab(89.96% -0.0302 0.1449)
OKLCHoklch(89.96% 0.148 101.8)
XYZxyz(65.7033, 73.5933, 22.0510)
Luminance0.7359 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E161 #6172F2
analogous
#F29961 #F2E161 #BAF261
triadic
#F2E161 #61F2E1 #E161F2
tetradic
#F2E161 #61F299 #6172F2 #F261BA
square
#F2E161 #61F299 #6172F2 #F261BA
split-complementary
#F2E161 #61BAF2 #9961F2
monochromatic
#C8B310 #EDD628 #F2E161 #F7EC9A #FBF6D2

Accessibility & contrast

On white

1.34
#F2E161 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.72
#F2E161 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E161
15.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E161#FFFFFF#000000##000000
##F2E1611.001.3415.7215.72
#FFFFFF1.341.0021.0021.00
#00000015.7221.001.001.00
##00000015.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DB53
Deuteranopia (green-blind)
#F9E268
Tritanopia (blue-blind)
#FFD3C5
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f2e161;
/* rgb */ color: rgb(242, 225, 97);
/* oklch */ color: oklch(90.0% 0.148 101.8);
Tailwind
colors: {
  custom: {
    50: '#f9ea93',
    500: '#f2e161',
    950: '#000000',
  },
}
SCSS
$custom: #f2e161;
$custom-light: #f9ea93;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e161",
  "rgb": {
    "r": 242,
    "g": 225,
    "b": 97
  },
  "hsl": {
    "h": 52.966,
    "s": 84.795,
    "l": 66.471
  },
  "oklch": {
    "l": 0.89965,
    "c": 0.14803,
    "h": 101.8
  },
  "luminance": 0.73591
}

Semantic roles & 50–950 ramp

primary
#F2E161
secondary
#3243C5
accent
#1EE104
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F2E161

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

Preview Lab → · Contrast checker → · Palette generator →

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