#F2E09F#F2E09F

#F2E09F is a very light, moderate yellow. Relative luminance 0.747; OKLCH L 90.6% C 0.085 H 94.5°. Best body text is #000000 at 15.94:1 contrast (WCAG AA passes).

Color values

HEX#F2E09F
RGBrgb(242, 224, 159)
HSLhsl(47, 76%, 79%)
HSVhsv(47, 34%, 95%)
CMYKcmyk(0%, 7.4%, 34.3%, 5.1%)
CIE-LABlab(89.25, -3.13, 34.11)
CIE-LCHlch(89.25, 34.25, 95.25°)
OKLaboklab(90.63% -0.0066 0.0848)
OKLCHoklch(90.63% 0.085 94.5)
XYZxyz(69.5327, 74.6938, 43.5488)
Luminance0.7469 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E09F #9FB1F2
analogous
#F2B69F #F2E09F #DAF29F
triadic
#F2E09F #9FF2E0 #E09FF2
tetradic
#F2E09F #9FF2B6 #9FB1F2 #F29FDA
square
#F2E09F #9FF2B6 #9FB1F2 #F29FDA
split-complementary
#F2E09F #9FDAF2 #B69FF2
monochromatic
#E3BD33 #EBCF69 #F2E09F #F9F1D5 #FBF6E4

Accessibility & contrast

On white

1.32
#F2E09F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.94
#F2E09F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E09F
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E09F#FFFFFF#000000##000000
##F2E09F1.001.3215.9415.94
#FFFFFF1.321.0021.0021.00
#00000015.9421.001.001.00
##00000015.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDDD9A
Deuteranopia (green-blind)
#F2E3A1
Tritanopia (blue-blind)
#FFD6CF
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f2e09f;
/* rgb */ color: rgb(242, 224, 159);
/* oklch */ color: oklch(90.6% 0.085 94.5);
Tailwind
colors: {
  custom: {
    50: '#f7e9bc',
    500: '#f2e09f',
    950: '#000000',
  },
}
SCSS
$custom: #f2e09f;
$custom-light: #f7e9bc;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e09f",
  "rgb": {
    "r": 242,
    "g": 224,
    "b": 159
  },
  "hsl": {
    "h": 46.988,
    "s": 76.147,
    "l": 78.627
  },
  "oklch": {
    "l": 0.90627,
    "c": 0.0851,
    "h": 94.5
  },
  "luminance": 0.74692
}

Semantic roles & 50–950 ramp

primary
#F2E09F
secondary
#657CD0
accent
#39D80D
background
#FFFEFD
surface
#FFFCF8
border
#D7D5D1
text
#171612
muted
#858482

Preview Lab

Preview with #F2E09F

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

Preview Lab → · Contrast checker → · Palette generator →

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