#F2E992#F2E992

#F2E992 is a very light, moderate yellow. Relative luminance 0.792; OKLCH L 92.2% C 0.109 H 103.2°. Best body text is #000000 at 16.85:1 contrast (WCAG AA passes).

Color values

HEX#F2E992
RGBrgb(242, 233, 146)
HSLhsl(54, 79%, 76%)
HSVhsv(54, 40%, 95%)
CMYKcmyk(0%, 3.7%, 39.7%, 5.1%)
CIE-LABlab(91.34, -9.11, 43.34)
CIE-LCHlch(91.34, 44.29, 101.87°)
OKLaboklab(92.22% -0.0247 0.1057)
OKLCHoklch(92.22% 0.109 103.2)
XYZxyz(70.9464, 79.2323, 38.7446)
Luminance0.7923 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E992 #929BF2
analogous
#F2B992 #F2E992 #CBF292
triadic
#F2E992 #92F2E9 #E992F2
tetradic
#F2E992 #92F2B9 #929BF2 #F292CB
square
#F2E992 #92F2B9 #929BF2 #F292CB
split-complementary
#F2E992 #92CBF2 #B992F2
monochromatic
#E5D325 #EBDE5B #F2E992 #F9F4C9 #FCF9E4

Accessibility & contrast

On white

1.25
#F2E992 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.85
#F2E992 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E992
16.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E992#FFFFFF#000000##000000
##F2E9921.001.2516.8516.85
#FFFFFF1.251.0021.0021.00
#00000016.8521.001.001.00
##00000016.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E38B
Deuteranopia (green-blind)
#FBE896
Tritanopia (blue-blind)
#FFDED4
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f2e992;
/* rgb */ color: rgb(242, 233, 146);
/* oklch */ color: oklch(92.2% 0.109 103.2);
Tailwind
colors: {
  custom: {
    50: '#f8efb3',
    500: '#f2e992',
    950: '#000000',
  },
}
SCSS
$custom: #f2e992;
$custom-light: #f8efb3;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e992",
  "rgb": {
    "r": 242,
    "g": 233,
    "b": 146
  },
  "hsl": {
    "h": 54.375,
    "s": 78.689,
    "l": 76.078
  },
  "oklch": {
    "l": 0.92216,
    "c": 0.10857,
    "h": 103.2
  },
  "luminance": 0.7923
}

Semantic roles & 50–950 ramp

primary
#F2E992
secondary
#5964CF
accent
#1EDB0B
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #F2E992

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

Preview Lab → · Contrast checker → · Palette generator →

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