#F2E286#F2E286

#F2E286 is a very light, moderate yellow. Relative luminance 0.750; OKLCH L 90.6% C 0.114 H 99.6°. Best body text is #000000 at 16.00:1 contrast (WCAG AA passes).

Color values

HEX#F2E286
RGBrgb(242, 226, 134)
HSLhsl(51, 81%, 74%)
HSVhsv(51, 45%, 95%)
CMYKcmyk(0%, 6.6%, 44.6%, 5.1%)
CIE-LABlab(89.39, -6.81, 46.77)
CIE-LCHlch(89.39, 47.27, 98.29°)
OKLaboklab(90.62% -0.0191 0.1128)
OKLCHoklch(90.62% 0.114 99.6)
XYZxyz(68.1191, 74.9934, 33.4366)
Luminance0.7499 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E286 #8696F2
analogous
#F2AC86 #F2E286 #CCF286
triadic
#F2E286 #86F2E2 #E286F2
tetradic
#F2E286 #86F2AC #8696F2 #F286CC
square
#F2E286 #86F2AC #8696F2 #F286CC
split-complementary
#F2E286 #86CCF2 #AC86F2
monochromatic
#E5C719 #ECD54F #F2E286 #F8EFBD #FCF8E3

Accessibility & contrast

On white

1.31
#F2E286 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.00
#F2E286 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E286
16.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E286#FFFFFF#000000##000000
##F2E2861.001.3116.0016.00
#FFFFFF1.311.0021.0021.00
#00000016.0021.001.001.00
##00000016.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DD7F
Deuteranopia (green-blind)
#F7E38A
Tritanopia (blue-blind)
#FFD6CC
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f2e286;
/* rgb */ color: rgb(242, 226, 134);
/* oklch */ color: oklch(90.6% 0.114 99.6);
Tailwind
colors: {
  custom: {
    50: '#f8eaab',
    500: '#f2e286',
    950: '#000000',
  },
}
SCSS
$custom: #f2e286;
$custom-light: #f8eaab;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e286",
  "rgb": {
    "r": 242,
    "g": 226,
    "b": 134
  },
  "hsl": {
    "h": 51.111,
    "s": 80.597,
    "l": 73.725
  },
  "oklch": {
    "l": 0.90619,
    "c": 0.11441,
    "h": 99.6
  },
  "luminance": 0.74991
}

Semantic roles & 50–950 ramp

primary
#F2E286
secondary
#4E61CE
accent
#28DD09
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#171610
muted
#858481

Preview Lab

Preview with #F2E286

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

Preview Lab → · Contrast checker → · Palette generator →

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