#F2E699#F2E699

#F2E699 is a very light, moderate yellow. Relative luminance 0.778; OKLCH L 91.7% C 0.098 H 100.5°. Best body text is #000000 at 16.55:1 contrast (WCAG AA passes).

Color values

HEX#F2E699
RGBrgb(242, 230, 153)
HSLhsl(52, 77%, 77%)
HSVhsv(52, 37%, 95%)
CMYKcmyk(0%, 5%, 36.8%, 5.1%)
CIE-LABlab(90.68, -6.85, 39.01)
CIE-LCHlch(90.68, 39.61, 99.96°)
OKLaboklab(91.72% -0.0177 0.0961)
OKLCHoklch(91.72% 0.098 100.5)
XYZxyz(70.6657, 77.7727, 41.4200)
Luminance0.7777 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E699 #99A5F2
analogous
#F2B999 #F2E699 #D2F299
triadic
#F2E699 #99F2E6 #E699F2
tetradic
#F2E699 #99F2B9 #99A5F2 #F299D2
square
#F2E699 #99F2B9 #99A5F2 #F299D2
split-complementary
#F2E699 #99D2F2 #B999F2
monochromatic
#E4CB2C #EBD963 #F2E699 #F9F3CF #FCF8E4

Accessibility & contrast

On white

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

On black

16.55
#F2E699 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E699
16.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E699#FFFFFF#000000##000000
##F2E6991.001.2716.5516.55
#FFFFFF1.271.0021.0021.00
#00000016.5521.001.001.00
##00000016.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4E193
Deuteranopia (green-blind)
#F8E79C
Tritanopia (blue-blind)
#FFDCD3
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f2e699;
/* rgb */ color: rgb(242, 230, 153);
/* oklch */ color: oklch(91.7% 0.098 100.5);
Tailwind
colors: {
  custom: {
    50: '#f7edb8',
    500: '#f2e699',
    950: '#000000',
  },
}
SCSS
$custom: #f2e699;
$custom-light: #f7edb8;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e699",
  "rgb": {
    "r": 242,
    "g": 230,
    "b": 153
  },
  "hsl": {
    "h": 51.91,
    "s": 77.391,
    "l": 77.451
  },
  "oklch": {
    "l": 0.91724,
    "c": 0.09769,
    "h": 100.5
  },
  "luminance": 0.77771
}

Semantic roles & 50–950 ramp

primary
#F2E699
secondary
#606FD0
accent
#28DA0C
background
#FFFEFD
surface
#FFFDF8
border
#D7D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #F2E699

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

Preview Lab → · Contrast checker → · Palette generator →

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