#F2E96C#F2E96C

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

Color values

HEX#F2E96C
RGBrgb(242, 233, 108)
HSLhsl(56, 84%, 69%)
HSVhsv(56, 55%, 95%)
CMYKcmyk(0%, 3.7%, 55.4%, 5.1%)
CIE-LABlab(90.89, -12.52, 60.72)
CIE-LCHlch(90.89, 62.00, 101.65°)
OKLaboklab(91.71% -0.0382 0.1411)
OKLCHoklch(91.71% 0.146 105.1)
XYZxyz(68.4658, 78.2400, 25.6798)
Luminance0.7824 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E96C #6C75F2
analogous
#F2A66C #F2E96C #B8F26C
triadic
#F2E96C #6CF2E9 #E96CF2
tetradic
#F2E96C #6CF2A6 #6C75F2 #F26CB8
square
#F2E96C #6CF2A6 #6C75F2 #F26CB8
split-complementary
#F2E96C #6CB8F2 #A66CF2
monochromatic
#D1C412 #EDE134 #F2E96C #F7F1A4 #FCFADC

Accessibility & contrast

On white

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

On black

16.65
#F2E96C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E96C
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E96C#FFFFFF#000000##000000
##F2E96C1.001.2616.6516.65
#FFFFFF1.261.0021.0021.00
#00000016.6521.001.001.00
##00000016.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2e96c;
/* rgb */ color: rgb(242, 233, 108);
/* oklch */ color: oklch(91.7% 0.146 105.1);
Tailwind
colors: {
  custom: {
    50: '#f9ef9a',
    500: '#f2e96c',
    950: '#000000',
  },
}
SCSS
$custom: #f2e96c;
$custom-light: #f9ef9a;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e96c",
  "rgb": {
    "r": 242,
    "g": 233,
    "b": 108
  },
  "hsl": {
    "h": 55.97,
    "s": 83.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.91713,
    "c": 0.14619,
    "h": 105.1
  },
  "luminance": 0.78238
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2E96C

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

Preview Lab → · Contrast checker → · Palette generator →

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