#F2E396#F2E396

#F2E396 is a very light, moderate yellow. Relative luminance 0.760; OKLCH L 91.1% C 0.098 H 98.5°. Best body text is #000000 at 16.20:1 contrast (WCAG AA passes).

Color values

HEX#F2E396
RGBrgb(242, 227, 150)
HSLhsl(50, 78%, 77%)
HSVhsv(50, 38%, 95%)
CMYKcmyk(0%, 6.2%, 38%, 5.1%)
CIE-LABlab(89.87, -5.67, 39.46)
CIE-LCHlch(89.87, 39.87, 98.18°)
OKLaboklab(91.07% -0.0145 0.097)
OKLCHoklch(91.07% 0.098 98.5)
XYZxyz(69.5933, 76.0195, 39.8555)
Luminance0.7602 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E396 #96A5F2
analogous
#F2B596 #F2E396 #D3F296
triadic
#F2E396 #96F2E3 #E396F2
tetradic
#F2E396 #96F2B5 #96A5F2 #F296D3
square
#F2E396 #96F2B5 #96A5F2 #F296D3
split-complementary
#F2E396 #96D3F2 #B596F2
monochromatic
#E5C629 #EBD460 #F2E396 #F9F2CC #FCF8E4

Accessibility & contrast

On white

1.30
#F2E396 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.20
#F2E396 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E396
16.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E396#FFFFFF#000000##000000
##F2E3961.001.3016.2016.20
#FFFFFF1.301.0021.0021.00
#00000016.2021.001.001.00
##00000016.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DF90
Deuteranopia (green-blind)
#F6E599
Tritanopia (blue-blind)
#FFD9D0
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f2e396;
/* rgb */ color: rgb(242, 227, 150);
/* oklch */ color: oklch(91.1% 0.098 98.5);
Tailwind
colors: {
  custom: {
    50: '#f7ebb5',
    500: '#f2e396',
    950: '#000000',
  },
}
SCSS
$custom: #f2e396;
$custom-light: #f7ebb5;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e396",
  "rgb": {
    "r": 242,
    "g": 227,
    "b": 150
  },
  "hsl": {
    "h": 50.217,
    "s": 77.966,
    "l": 76.863
  },
  "oklch": {
    "l": 0.9107,
    "c": 0.09808,
    "h": 98.5
  },
  "luminance": 0.76017
}

Semantic roles & 50–950 ramp

primary
#F2E396
secondary
#5D70CF
accent
#2DDA0B
background
#FFFEFD
surface
#FFFDF8
border
#D7D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #F2E396

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

Preview Lab → · Contrast checker → · Palette generator →

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