#F2E697#F2E697

#F2E697 is a very light, moderate yellow. Relative luminance 0.777; OKLCH L 91.7% C 0.100 H 100.7°. Best body text is #000000 at 16.54:1 contrast (WCAG AA passes).

Color values

HEX#F2E697
RGBrgb(242, 230, 151)
HSLhsl(52, 78%, 77%)
HSVhsv(52, 38%, 95%)
CMYKcmyk(0%, 5%, 37.6%, 5.1%)
CIE-LABlab(90.65, -7.07, 39.97)
CIE-LCHlch(90.65, 40.59, 100.03°)
OKLaboklab(91.69% -0.0185 0.0982)
OKLCHoklch(91.69% 0.1 100.7)
XYZxyz(70.5019, 77.7072, 40.5573)
Luminance0.7771 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E697 #97A3F2
analogous
#F2B997 #F2E697 #D1F297
triadic
#F2E697 #97F2E6 #E697F2
tetradic
#F2E697 #97F2B9 #97A3F2 #F297D1
square
#F2E697 #97F2B9 #97A3F2 #F297D1
split-complementary
#F2E697 #97D1F2 #B997F2
monochromatic
#E4CC2A #EBD961 #F2E697 #F9F3CD #FCF8E4

Accessibility & contrast

On white

1.27
#F2E697 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.54
#F2E697 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E697
16.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E697#FFFFFF#000000##000000
##F2E6971.001.2716.5416.54
#FFFFFF1.271.0021.0021.00
#00000016.5421.001.001.00
##00000016.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4E191
Deuteranopia (green-blind)
#F8E79A
Tritanopia (blue-blind)
#FFDCD2
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f2e697;
/* rgb */ color: rgb(242, 230, 151);
/* oklch */ color: oklch(91.7% 0.100 100.7);
Tailwind
colors: {
  custom: {
    50: '#f7edb6',
    500: '#f2e697',
    950: '#000000',
  },
}
SCSS
$custom: #f2e697;
$custom-light: #f7edb6;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e697",
  "rgb": {
    "r": 242,
    "g": 230,
    "b": 151
  },
  "hsl": {
    "h": 52.088,
    "s": 77.778,
    "l": 77.059
  },
  "oklch": {
    "l": 0.91691,
    "c": 0.09994,
    "h": 100.7
  },
  "luminance": 0.77705
}

Semantic roles & 50–950 ramp

primary
#F2E697
secondary
#5E6DCF
accent
#27DA0B
background
#FFFEFD
surface
#FFFDF8
border
#D7D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #F2E697

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

Preview Lab → · Contrast checker → · Palette generator →

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