#F2E486#F2E486

#F2E486 is a very light, moderate yellow. Relative luminance 0.761; OKLCH L 91.0% C 0.116 H 100.9°. Best body text is #000000 at 16.22:1 contrast (WCAG AA passes).

Color values

HEX#F2E486
RGBrgb(242, 228, 134)
HSLhsl(52, 81%, 74%)
HSVhsv(52, 45%, 95%)
CMYKcmyk(0%, 5.8%, 44.6%, 5.1%)
CIE-LABlab(89.90, -7.82, 47.41)
CIE-LCHlch(89.90, 48.05, 99.36°)
OKLaboklab(91.02% -0.022 0.1142)
OKLCHoklch(91.02% 0.116 100.9)
XYZxyz(68.6661, 76.0874, 33.6189)
Luminance0.7609 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E486 #8694F2
analogous
#F2AE86 #F2E486 #CAF286
triadic
#F2E486 #86F2E4 #E486F2
tetradic
#F2E486 #86F2AE #8694F2 #F286CA
square
#F2E486 #86F2AE #8694F2 #F286CA
split-complementary
#F2E486 #86CAF2 #AE86F2
monochromatic
#E5CA19 #ECD84F #F2E486 #F8F0BD #FCF9E3

Accessibility & contrast

On white

1.29
#F2E486 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.22
#F2E486 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E486
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E486#FFFFFF#000000##000000
##F2E4861.001.2916.2216.22
#FFFFFF1.291.0021.0021.00
#00000016.2221.001.001.00
##00000016.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DF7E
Deuteranopia (green-blind)
#F8E58A
Tritanopia (blue-blind)
#FFD8CD
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f2e486;
/* rgb */ color: rgb(242, 228, 134);
/* oklch */ color: oklch(91.0% 0.116 100.9);
Tailwind
colors: {
  custom: {
    50: '#f8ecab',
    500: '#f2e486',
    950: '#000000',
  },
}
SCSS
$custom: #f2e486;
$custom-light: #f8ecab;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e486",
  "rgb": {
    "r": 242,
    "g": 228,
    "b": 134
  },
  "hsl": {
    "h": 52.222,
    "s": 80.597,
    "l": 73.725
  },
  "oklch": {
    "l": 0.91023,
    "c": 0.11633,
    "h": 100.9
  },
  "luminance": 0.76085
}

Semantic roles & 50–950 ramp

primary
#F2E486
secondary
#4E5FCE
accent
#24DD09
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#171610
muted
#858481

Preview Lab

Preview with #F2E486

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

Preview Lab → · Contrast checker → · Palette generator →

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