#F2EA95#F2EA95

#F2EA95 is a very light, moderate yellow. Relative luminance 0.799; OKLCH L 92.5% C 0.106 H 103.6°. Best body text is #000000 at 16.98:1 contrast (WCAG AA passes).

Color values

HEX#F2EA95
RGBrgb(242, 234, 149)
HSLhsl(55, 78%, 77%)
HSVhsv(55, 38%, 95%)
CMYKcmyk(0%, 3.3%, 38.4%, 5.1%)
CIE-LABlab(91.64, -9.29, 42.24)
CIE-LCHlch(91.64, 43.25, 102.40°)
OKLaboklab(92.47% -0.025 0.1033)
OKLCHoklch(92.47% 0.106 103.6)
XYZxyz(71.4667, 79.8946, 40.0844)
Luminance0.7989 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EA95 #959DF2
analogous
#F2BC95 #F2EA95 #CCF295
triadic
#F2EA95 #95F2EA #EA95F2
tetradic
#F2EA95 #95F2BC #959DF2 #F295CC
square
#F2EA95 #95F2BC #959DF2 #F295CC
split-complementary
#F2EA95 #95CCF2 #BC95F2
monochromatic
#E5D428 #EBDF5E #F2EA95 #F9F5CC #FCFAE4

Accessibility & contrast

On white

1.24
#F2EA95 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.98
#F2EA95 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EA95
16.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EA95#FFFFFF#000000##000000
##F2EA951.001.2416.9816.98
#FFFFFF1.241.0021.0021.00
#00000016.9821.001.001.00
##00000016.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E48F
Deuteranopia (green-blind)
#FBE998
Tritanopia (blue-blind)
#FFDFD5
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f2ea95;
/* rgb */ color: rgb(242, 234, 149);
/* oklch */ color: oklch(92.5% 0.106 103.6);
Tailwind
colors: {
  custom: {
    50: '#f7f0b5',
    500: '#f2ea95',
    950: '#000000',
  },
}
SCSS
$custom: #f2ea95;
$custom-light: #f7f0b5;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ea95",
  "rgb": {
    "r": 242,
    "g": 234,
    "b": 149
  },
  "hsl": {
    "h": 54.839,
    "s": 78.151,
    "l": 76.667
  },
  "oklch": {
    "l": 0.92467,
    "c": 0.10632,
    "h": 103.6
  },
  "luminance": 0.79893
}

Semantic roles & 50–950 ramp

primary
#F2EA95
secondary
#5C66CF
accent
#1DDA0B
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #F2EA95

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

Preview Lab → · Contrast checker → · Palette generator →

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