#F2E96A#F2E96A

#F2E96A is a very light, vivid yellow. Relative luminance 0.782; OKLCH L 91.7% C 0.148 H 105.2°. Best body text is #000000 at 16.64:1 contrast (WCAG AA passes).

Color values

HEX#F2E96A
RGBrgb(242, 233, 106)
HSLhsl(56, 84%, 68%)
HSVhsv(56, 56%, 95%)
CMYKcmyk(0%, 3.7%, 56.2%, 5.1%)
CIE-LABlab(90.87, -12.67, 61.59)
CIE-LCHlch(90.87, 62.88, 101.62°)
OKLaboklab(91.69% -0.0388 0.1427)
OKLCHoklch(91.69% 0.148 105.2)
XYZxyz(68.3605, 78.1979, 25.1256)
Luminance0.7820 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E96A #6A73F2
analogous
#F2A56A #F2E96A #B7F26A
triadic
#F2E96A #6AF2E9 #E96AF2
tetradic
#F2E96A #6AF2A5 #6A73F2 #F26AB7
square
#F2E96A #6AF2A5 #6A73F2 #F26AB7
split-complementary
#F2E96A #6AB7F2 #A56AF2
monochromatic
#CFC312 #EDE132 #F2E96A #F7F1A2 #FCFADB

Accessibility & contrast

On white

1.26
#F2E96A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.64
#F2E96A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E96A
16.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E96A#FFFFFF#000000##000000
##F2E96A1.001.2616.6416.64
#FFFFFF1.261.0021.0021.00
#00000016.6421.001.001.00
##00000016.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE15D
Deuteranopia (green-blind)
#FEE871
Tritanopia (blue-blind)
#FFDBCD
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f2e96a;
/* rgb */ color: rgb(242, 233, 106);
/* oklch */ color: oklch(91.7% 0.148 105.2);
Tailwind
colors: {
  custom: {
    50: '#f9ef99',
    500: '#f2e96a',
    950: '#000000',
  },
}
SCSS
$custom: #f2e96a;
$custom-light: #f9ef99;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e96a",
  "rgb": {
    "r": 242,
    "g": 233,
    "b": 106
  },
  "hsl": {
    "h": 56.029,
    "s": 83.951,
    "l": 68.235
  },
  "oklch": {
    "l": 0.91692,
    "c": 0.14792,
    "h": 105.2
  },
  "luminance": 0.78196
}

Semantic roles & 50–950 ramp

primary
#F2E96A
secondary
#363FCB
accent
#14E005
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F2E96A

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

Preview Lab → · Contrast checker → · Palette generator →

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