#F2E795#F2E795

#F2E795 is a very light, moderate yellow. Relative luminance 0.782; OKLCH L 91.9% C 0.103 H 101.6°. Best body text is #000000 at 16.64:1 contrast (WCAG AA passes).

Color values

HEX#F2E795
RGBrgb(242, 231, 149)
HSLhsl(53, 78%, 77%)
HSVhsv(53, 38%, 95%)
CMYKcmyk(0%, 4.5%, 38.4%, 5.1%)
CIE-LABlab(90.87, -7.79, 41.26)
CIE-LCHlch(90.87, 41.99, 100.69°)
OKLaboklab(91.86% -0.0207 0.1011)
OKLCHoklch(91.86% 0.103 101.6)
XYZxyz(70.6199, 78.2009, 39.8022)
Luminance0.7820 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E795 #95A0F2
analogous
#F2B995 #F2E795 #CFF295
triadic
#F2E795 #95F2E7 #E795F2
tetradic
#F2E795 #95F2B9 #95A0F2 #F295CF
square
#F2E795 #95F2B9 #95A0F2 #F295CF
split-complementary
#F2E795 #95CFF2 #B995F2
monochromatic
#E5CE28 #EBDB5E #F2E795 #F9F3CC #FCF9E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2E795#FFFFFF#000000##000000
##F2E7951.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)
#F5E28F
Deuteranopia (green-blind)
#F9E798
Tritanopia (blue-blind)
#FFDCD3
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f2e795;
/* rgb */ color: rgb(242, 231, 149);
/* oklch */ color: oklch(91.9% 0.103 101.6);
Tailwind
colors: {
  custom: {
    50: '#f7eeb5',
    500: '#f2e795',
    950: '#000000',
  },
}
SCSS
$custom: #f2e795;
$custom-light: #f7eeb5;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e795",
  "rgb": {
    "r": 242,
    "g": 231,
    "b": 149
  },
  "hsl": {
    "h": 52.903,
    "s": 78.151,
    "l": 76.667
  },
  "oklch": {
    "l": 0.9186,
    "c": 0.10318,
    "h": 101.6
  },
  "luminance": 0.78199
}

Semantic roles & 50–950 ramp

primary
#F2E795
secondary
#5C6ACF
accent
#24DA0B
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #F2E795

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

Preview Lab → · Contrast checker → · Palette generator →

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