#F2EB94#F2EB94

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

Color values

HEX#F2EB94
RGBrgb(242, 235, 148)
HSLhsl(56, 78%, 76%)
HSVhsv(56, 39%, 95%)
CMYKcmyk(0%, 2.9%, 38.8%, 5.1%)
CIE-LABlab(91.88, -9.89, 43.04)
CIE-LCHlch(91.88, 44.17, 102.95°)
OKLaboklab(92.65% -0.0269 0.1051)
OKLCHoklch(92.65% 0.109 104.3)
XYZxyz(71.6727, 80.4338, 39.7610)
Luminance0.8043 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EB94 #949BF2
analogous
#F2BC94 #F2EB94 #CAF294
triadic
#F2EB94 #94F2EB #EB94F2
tetradic
#F2EB94 #94F2BC #949BF2 #F294CA
square
#F2EB94 #94F2BC #949BF2 #F294CA
split-complementary
#F2EB94 #94CAF2 #BC94F2
monochromatic
#E5D727 #EBE15D #F2EB94 #F9F5CB #FCFAE4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2EB94#FFFFFF#000000##000000
##F2EB941.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)
#F9E58D
Deuteranopia (green-blind)
#FCEA98
Tritanopia (blue-blind)
#FFE0D5
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f2eb94;
/* rgb */ color: rgb(242, 235, 148);
/* oklch */ color: oklch(92.7% 0.108 104.3);
Tailwind
colors: {
  custom: {
    50: '#f8f1b4',
    500: '#f2eb94',
    950: '#000000',
  },
}
SCSS
$custom: #f2eb94;
$custom-light: #f8f1b4;
$custom-dark: #000000;
JSON
{
  "hex": "#f2eb94",
  "rgb": {
    "r": 242,
    "g": 235,
    "b": 148
  },
  "hsl": {
    "h": 55.532,
    "s": 78.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.92654,
    "c": 0.1085,
    "h": 104.3
  },
  "luminance": 0.80432
}

Semantic roles & 50–950 ramp

primary
#F2EB94
secondary
#5B64CF
accent
#1ADB0B
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #F2EB94

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

Preview Lab → · Contrast checker → · Palette generator →

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