#F2EB95#F2EB95

#F2EB95 is a very light, moderate yellow. Relative luminance 0.805; OKLCH L 92.7% C 0.107 H 104.3°. Best body text is #000000 at 17.09:1 contrast (WCAG AA passes).

Color values

HEX#F2EB95
RGBrgb(242, 235, 149)
HSLhsl(55, 78%, 77%)
HSVhsv(55, 38%, 95%)
CMYKcmyk(0%, 2.9%, 38.4%, 5.1%)
CIE-LABlab(91.89, -9.79, 42.57)
CIE-LCHlch(91.89, 43.68, 102.95°)
OKLaboklab(92.67% -0.0265 0.1041)
OKLCHoklch(92.67% 0.107 104.3)
XYZxyz(71.7522, 80.4656, 40.1796)
Luminance0.8046 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EB95 #959CF2
analogous
#F2BD95 #F2EB95 #CBF295
triadic
#F2EB95 #95F2EB #EB95F2
tetradic
#F2EB95 #95F2BD #959CF2 #F295CB
square
#F2EB95 #95F2BD #959CF2 #F295CB
split-complementary
#F2EB95 #95CBF2 #BD95F2
monochromatic
#E5D628 #EBE15E #F2EB95 #F9F5CC #FCFAE4

Accessibility & contrast

On white

1.23
#F2EB95 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.09
#F2EB95 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EB95
17.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EB95#FFFFFF#000000##000000
##F2EB951.001.2317.0917.09
#FFFFFF1.231.0021.0021.00
#00000017.0921.001.001.00
##00000017.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E58F
Deuteranopia (green-blind)
#FCEA99
Tritanopia (blue-blind)
#FFE0D6
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f2eb95;
/* rgb */ color: rgb(242, 235, 149);
/* oklch */ color: oklch(92.7% 0.107 104.3);
Tailwind
colors: {
  custom: {
    50: '#f7f1b5',
    500: '#f2eb95',
    950: '#000000',
  },
}
SCSS
$custom: #f2eb95;
$custom-light: #f7f1b5;
$custom-dark: #000000;
JSON
{
  "hex": "#f2eb95",
  "rgb": {
    "r": 242,
    "g": 235,
    "b": 149
  },
  "hsl": {
    "h": 55.484,
    "s": 78.151,
    "l": 76.667
  },
  "oklch": {
    "l": 0.9267,
    "c": 0.1074,
    "h": 104.3
  },
  "luminance": 0.80464
}

Semantic roles & 50–950 ramp

primary
#F2EB95
secondary
#5C65CF
accent
#1BDA0B
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #F2EB95

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

Preview Lab → · Contrast checker → · Palette generator →

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