#F2E464#F2E464

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

Color values

HEX#F2E464
RGBrgb(242, 228, 100)
HSLhsl(54, 85%, 67%)
HSVhsv(54, 59%, 95%)
CMYKcmyk(0%, 5.8%, 58.7%, 5.1%)
CIE-LABlab(89.53, -10.61, 62.70)
CIE-LCHlch(89.53, 63.60, 99.61°)
OKLaboklab(90.61% -0.0336 0.1444)
OKLCHoklch(90.61% 0.148 103.1)
XYZxyz(66.6640, 75.2866, 23.0743)
Luminance0.7528 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E464 #6472F2
analogous
#F29D64 #F2E464 #B9F264
triadic
#F2E464 #64F2E4 #E464F2
tetradic
#F2E464 #64F29D #6472F2 #F264B9
square
#F2E464 #64F29D #6472F2 #F264B9
split-complementary
#F2E464 #64B9F2 #9D64F2
monochromatic
#CBB811 #EDDA2C #F2E464 #F7EE9C #FBF8D5

Accessibility & contrast

On white

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

On black

16.06
#F2E464 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E464
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E464#FFFFFF#000000##000000
##F2E4641.001.3116.0616.06
#FFFFFF1.311.0021.0021.00
#00000016.0621.001.001.00
##00000016.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2e464;
/* rgb */ color: rgb(242, 228, 100);
/* oklch */ color: oklch(90.6% 0.148 103.1);
Tailwind
colors: {
  custom: {
    50: '#f9ec95',
    500: '#f2e464',
    950: '#000000',
  },
}
SCSS
$custom: #f2e464;
$custom-light: #f9ec95;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e464",
  "rgb": {
    "r": 242,
    "g": 228,
    "b": 100
  },
  "hsl": {
    "h": 54.085,
    "s": 84.524,
    "l": 67.059
  },
  "oklch": {
    "l": 0.90606,
    "c": 0.14826,
    "h": 103.1
  },
  "luminance": 0.75284
}

Semantic roles & 50–950 ramp

primary
#F2E464
secondary
#3342C7
accent
#1AE105
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F2E464

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

Preview Lab → · Contrast checker → · Palette generator →

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