#F2ED95#F2ED95

#F2ED95 is a very light, moderate yellow. Relative luminance 0.816; OKLCH L 93.1% C 0.110 H 105.5°. Best body text is #000000 at 17.32:1 contrast (WCAG AA passes).

Color values

HEX#F2ED95
RGBrgb(242, 237, 149)
HSLhsl(57, 78%, 77%)
HSVhsv(57, 38%, 95%)
CMYKcmyk(0%, 2.1%, 38.4%, 5.1%)
CIE-LABlab(92.41, -10.78, 43.22)
CIE-LCHlch(92.41, 44.55, 104.00°)
OKLaboklab(93.08% -0.0293 0.1056)
OKLCHoklch(93.08% 0.11 105.5)
XYZxyz(72.3281, 81.6172, 40.3716)
Luminance0.8162 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2ED95 #959AF2
analogous
#F2BF95 #F2ED95 #C9F295
triadic
#F2ED95 #95F2ED #ED95F2
tetradic
#F2ED95 #95F2BF #959AF2 #F295C9
square
#F2ED95 #95F2BF #959AF2 #F295C9
split-complementary
#F2ED95 #95C9F2 #BF95F2
monochromatic
#E5DA28 #EBE45E #F2ED95 #F9F6CC #FCFAE4

Accessibility & contrast

On white

1.21
#F2ED95 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.32
#F2ED95 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2ED95
17.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2ED95#FFFFFF#000000##000000
##F2ED951.001.2117.3217.32
#FFFFFF1.211.0021.0021.00
#00000017.3221.001.001.00
##00000017.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE78E
Deuteranopia (green-blind)
#FDEB99
Tritanopia (blue-blind)
#FFE2D7
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f2ed95;
/* rgb */ color: rgb(242, 237, 149);
/* oklch */ color: oklch(93.1% 0.110 105.5);
Tailwind
colors: {
  custom: {
    50: '#f7f2b5',
    500: '#f2ed95',
    950: '#000000',
  },
}
SCSS
$custom: #f2ed95;
$custom-light: #f7f2b5;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ed95",
  "rgb": {
    "r": 242,
    "g": 237,
    "b": 149
  },
  "hsl": {
    "h": 56.774,
    "s": 78.151,
    "l": 76.667
  },
  "oklch": {
    "l": 0.93076,
    "c": 0.10958,
    "h": 105.5
  },
  "luminance": 0.81616
}

Semantic roles & 50–950 ramp

primary
#F2ED95
secondary
#5C62CF
accent
#16DA0B
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #F2ED95

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

Preview Lab → · Contrast checker → · Palette generator →

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