#F2E96B#F2E96B

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

Color values

HEX#F2E96B
RGBrgb(242, 233, 107)
HSLhsl(56, 84%, 68%)
HSVhsv(56, 56%, 95%)
CMYKcmyk(0%, 3.7%, 55.8%, 5.1%)
CIE-LABlab(90.88, -12.59, 61.16)
CIE-LCHlch(90.88, 62.44, 101.64°)
OKLaboklab(91.7% -0.0385 0.1419)
OKLCHoklch(91.7% 0.147 105.2)
XYZxyz(68.4128, 78.2188, 25.4011)
Luminance0.7822 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E96B #6B74F2
analogous
#F2A56B #F2E96B #B7F26B
triadic
#F2E96B #6BF2E9 #E96BF2
tetradic
#F2E96B #6BF2A5 #6B74F2 #F26BB7
square
#F2E96B #6BF2A5 #6B74F2 #F26BB7
split-complementary
#F2E96B #6BB7F2 #A56BF2
monochromatic
#D0C412 #EDE133 #F2E96B #F7F1A3 #FCFADC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2E96B#FFFFFF#000000##000000
##F2E96B1.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)
#FBE25E
Deuteranopia (green-blind)
#FEE872
Tritanopia (blue-blind)
#FFDBCD
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f2e96b;
/* rgb */ color: rgb(242, 233, 107);
/* oklch */ color: oklch(91.7% 0.147 105.2);
Tailwind
colors: {
  custom: {
    50: '#f9ef99',
    500: '#f2e96b',
    950: '#000000',
  },
}
SCSS
$custom: #f2e96b;
$custom-light: #f9ef99;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e96b",
  "rgb": {
    "r": 242,
    "g": 233,
    "b": 107
  },
  "hsl": {
    "h": 56,
    "s": 83.851,
    "l": 68.431
  },
  "oklch": {
    "l": 0.91703,
    "c": 0.14705,
    "h": 105.2
  },
  "luminance": 0.78217
}

Semantic roles & 50–950 ramp

primary
#F2E96B
secondary
#3640CB
accent
#14E005
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F2E96B

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

Preview Lab → · Contrast checker → · Palette generator →

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