#F2E995#F2E995

#F2E995 is a very light, moderate yellow. Relative luminance 0.793; OKLCH L 92.3% C 0.105 H 103.0°. Best body text is #000000 at 16.86:1 contrast (WCAG AA passes).

Color values

HEX#F2E995
RGBrgb(242, 233, 149)
HSLhsl(54, 78%, 77%)
HSVhsv(54, 38%, 95%)
CMYKcmyk(0%, 3.7%, 38.4%, 5.1%)
CIE-LABlab(91.38, -8.79, 41.91)
CIE-LCHlch(91.38, 42.83, 101.84°)
OKLaboklab(92.26% -0.0236 0.1026)
OKLCHoklch(92.26% 0.105 103)
XYZxyz(71.1829, 79.3268, 39.9898)
Luminance0.7933 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E995 #959EF2
analogous
#F2BB95 #F2E995 #CCF295
triadic
#F2E995 #95F2E9 #E995F2
tetradic
#F2E995 #95F2BB #959EF2 #F295CC
square
#F2E995 #95F2BB #959EF2 #F295CC
split-complementary
#F2E995 #95CCF2 #BB95F2
monochromatic
#E5D228 #EBDE5E #F2E995 #F9F4CC #FCF9E4

Accessibility & contrast

On white

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

On black

16.86
#F2E995 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E995
16.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E995#FFFFFF#000000##000000
##F2E9951.001.2516.8616.86
#FFFFFF1.251.0021.0021.00
#00000016.8621.001.001.00
##00000016.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2e995;
/* rgb */ color: rgb(242, 233, 149);
/* oklch */ color: oklch(92.3% 0.105 103.0);
Tailwind
colors: {
  custom: {
    50: '#f7efb5',
    500: '#f2e995',
    950: '#000000',
  },
}
SCSS
$custom: #f2e995;
$custom-light: #f7efb5;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e995",
  "rgb": {
    "r": 242,
    "g": 233,
    "b": 149
  },
  "hsl": {
    "h": 54.194,
    "s": 78.151,
    "l": 76.667
  },
  "oklch": {
    "l": 0.92264,
    "c": 0.10526,
    "h": 103
  },
  "luminance": 0.79325
}

Semantic roles & 50–950 ramp

primary
#F2E995
secondary
#5C67CF
accent
#1FDA0B
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #F2E995

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

Preview Lab → · Contrast checker → · Palette generator →

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