#F2E461#F2E461

#F2E461 is a very light, vivid yellow. Relative luminance 0.752; OKLCH L 90.6% C 0.151 H 103.2°. Best body text is #000000 at 16.05:1 contrast (WCAG AA passes).

Color values

HEX#F2E461
RGBrgb(242, 228, 97)
HSLhsl(54, 85%, 66%)
HSVhsv(54, 60%, 95%)
CMYKcmyk(0%, 5.8%, 59.9%, 5.1%)
CIE-LABlab(89.50, -10.82, 63.97)
CIE-LCHlch(89.50, 64.87, 99.60°)
OKLaboklab(90.58% -0.0345 0.1467)
OKLCHoklch(90.58% 0.151 103.2)
XYZxyz(66.5214, 75.2296, 22.3237)
Luminance0.7523 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E461 #616FF2
analogous
#F29C61 #F2E461 #B8F261
triadic
#F2E461 #61F2E4 #E461F2
tetradic
#F2E461 #61F29C #616FF2 #F261B8
square
#F2E461 #61F29C #616FF2 #F261B8
split-complementary
#F2E461 #61B8F2 #9C61F2
monochromatic
#C8B610 #EDDA28 #F2E461 #F7EE9A #FBF7D2

Accessibility & contrast

On white

1.31
#F2E461 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.05
#F2E461 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E461
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E461#FFFFFF#000000##000000
##F2E4611.001.3116.0516.05
#FFFFFF1.311.0021.0021.00
#00000016.0521.001.001.00
##00000016.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DD52
Deuteranopia (green-blind)
#FBE468
Tritanopia (blue-blind)
#FFD6C8
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f2e461;
/* rgb */ color: rgb(242, 228, 97);
/* oklch */ color: oklch(90.6% 0.151 103.2);
Tailwind
colors: {
  custom: {
    50: '#f9ec93',
    500: '#f2e461',
    950: '#000000',
  },
}
SCSS
$custom: #f2e461;
$custom-light: #f9ec93;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e461",
  "rgb": {
    "r": 242,
    "g": 228,
    "b": 97
  },
  "hsl": {
    "h": 54.207,
    "s": 84.795,
    "l": 66.471
  },
  "oklch": {
    "l": 0.90577,
    "c": 0.15071,
    "h": 103.2
  },
  "luminance": 0.75227
}

Semantic roles & 50–950 ramp

primary
#F2E461
secondary
#3240C5
accent
#1AE104
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F2E461

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

Preview Lab → · Contrast checker → · Palette generator →

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