#F2EB96#F2EB96

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

Color values

HEX#F2EB96
RGBrgb(242, 235, 150)
HSLhsl(55, 78%, 77%)
HSVhsv(55, 38%, 95%)
CMYKcmyk(0%, 2.9%, 38%, 5.1%)
CIE-LABlab(91.91, -9.68, 42.09)
CIE-LCHlch(91.91, 43.19, 102.95°)
OKLaboklab(92.69% -0.0261 0.103)
OKLCHoklch(92.69% 0.106 104.2)
XYZxyz(71.8324, 80.4977, 40.6019)
Luminance0.8050 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EB96 #969DF2
analogous
#F2BD96 #F2EB96 #CBF296
triadic
#F2EB96 #96F2EB #EB96F2
tetradic
#F2EB96 #96F2BD #969DF2 #F296CB
square
#F2EB96 #96F2BD #969DF2 #F296CB
split-complementary
#F2EB96 #96CBF2 #BD96F2
monochromatic
#E5D629 #EBE160 #F2EB96 #F9F5CC #FCFAE4

Accessibility & contrast

On white

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

On black

17.10
#F2EB96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EB96
17.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EB96#FFFFFF#000000##000000
##F2EB961.001.2317.1017.10
#FFFFFF1.231.0021.0021.00
#00000017.1021.001.001.00
##00000017.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2eb96;
/* rgb */ color: rgb(242, 235, 150);
/* oklch */ color: oklch(92.7% 0.106 104.2);
Tailwind
colors: {
  custom: {
    50: '#f7f1b6',
    500: '#f2eb96',
    950: '#000000',
  },
}
SCSS
$custom: #f2eb96;
$custom-light: #f7f1b6;
$custom-dark: #000000;
JSON
{
  "hex": "#f2eb96",
  "rgb": {
    "r": 242,
    "g": 235,
    "b": 150
  },
  "hsl": {
    "h": 55.435,
    "s": 77.966,
    "l": 76.863
  },
  "oklch": {
    "l": 0.92686,
    "c": 0.10629,
    "h": 104.2
  },
  "luminance": 0.80496
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2EB96

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

Preview Lab → · Contrast checker → · Palette generator →

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