#F2E463#F2E463

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

Color values

HEX#F2E463
RGBrgb(242, 228, 99)
HSLhsl(54, 85%, 67%)
HSVhsv(54, 59%, 95%)
CMYKcmyk(0%, 5.8%, 59.1%, 5.1%)
CIE-LABlab(89.52, -10.68, 63.13)
CIE-LCHlch(89.52, 64.02, 99.61°)
OKLaboklab(90.6% -0.0339 0.1452)
OKLCHoklch(90.6% 0.149 103.1)
XYZxyz(66.6159, 75.2674, 22.8210)
Luminance0.7527 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E463 #6371F2
analogous
#F29D63 #F2E463 #B9F263
triadic
#F2E463 #63F2E4 #E463F2
tetradic
#F2E463 #63F29D #6371F2 #F263B9
square
#F2E463 #63F29D #6371F2 #F263B9
split-complementary
#F2E463 #63B9F2 #9D63F2
monochromatic
#CAB811 #EDDA2B #F2E463 #F7EE9B #FBF8D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2E463#FFFFFF#000000##000000
##F2E4631.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)
#F7DD55
Deuteranopia (green-blind)
#FBE46A
Tritanopia (blue-blind)
#FFD6C8
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f2e463;
/* rgb */ color: rgb(242, 228, 99);
/* oklch */ color: oklch(90.6% 0.149 103.1);
Tailwind
colors: {
  custom: {
    50: '#f9ec94',
    500: '#f2e463',
    950: '#000000',
  },
}
SCSS
$custom: #f2e463;
$custom-light: #f9ec94;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e463",
  "rgb": {
    "r": 242,
    "g": 228,
    "b": 99
  },
  "hsl": {
    "h": 54.126,
    "s": 84.615,
    "l": 66.863
  },
  "oklch": {
    "l": 0.90596,
    "c": 0.14908,
    "h": 103.1
  },
  "luminance": 0.75265
}

Semantic roles & 50–950 ramp

primary
#F2E463
secondary
#3341C6
accent
#1AE104
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160D
muted
#86847F

Preview Lab

Preview with #F2E463

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

Preview Lab → · Contrast checker → · Palette generator →

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