#F2E686#F2E686

#F2E686 is a very light, moderate yellow. Relative luminance 0.772; OKLCH L 91.4% C 0.118 H 102.2°. Best body text is #000000 at 16.44:1 contrast (WCAG AA passes).

Color values

HEX#F2E686
RGBrgb(242, 230, 134)
HSLhsl(53, 81%, 74%)
HSVhsv(53, 45%, 95%)
CMYKcmyk(0%, 5%, 44.6%, 5.1%)
CIE-LABlab(90.41, -8.82, 48.04)
CIE-LCHlch(90.41, 48.85, 100.40°)
OKLaboklab(91.43% -0.0249 0.1156)
OKLCHoklch(91.43% 0.118 102.2)
XYZxyz(69.2195, 77.1942, 33.8034)
Luminance0.7719 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E686 #8692F2
analogous
#F2B086 #F2E686 #C8F286
triadic
#F2E686 #86F2E6 #E686F2
tetradic
#F2E686 #86F2B0 #8692F2 #F286C8
square
#F2E686 #86F2B0 #8692F2 #F286C8
split-complementary
#F2E686 #86C8F2 #B086F2
monochromatic
#E5CE19 #ECDB4F #F2E686 #F8F1BD #FCF9E3

Accessibility & contrast

On white

1.28
#F2E686 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.44
#F2E686 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E686
16.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E686#FFFFFF#000000##000000
##F2E6861.001.2816.4416.44
#FFFFFF1.281.0021.0021.00
#00000016.4421.001.001.00
##00000016.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E07E
Deuteranopia (green-blind)
#FAE68A
Tritanopia (blue-blind)
#FFDACF
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f2e686;
/* rgb */ color: rgb(242, 230, 134);
/* oklch */ color: oklch(91.4% 0.118 102.2);
Tailwind
colors: {
  custom: {
    50: '#f8edab',
    500: '#f2e686',
    950: '#000000',
  },
}
SCSS
$custom: #f2e686;
$custom-light: #f8edab;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e686",
  "rgb": {
    "r": 242,
    "g": 230,
    "b": 134
  },
  "hsl": {
    "h": 53.333,
    "s": 80.597,
    "l": 73.725
  },
  "oklch": {
    "l": 0.91428,
    "c": 0.11828,
    "h": 102.2
  },
  "luminance": 0.77192
}

Semantic roles & 50–950 ramp

primary
#F2E686
secondary
#4E5DCE
accent
#20DD09
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#171610
muted
#858481

Preview Lab

Preview with #F2E686

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

Preview Lab → · Contrast checker → · Palette generator →

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