#F7E286#F7E286

#F7E286 is a very light, moderate yellow. Relative luminance 0.759; OKLCH L 91.0% C 0.115 H 96.8°. Best body text is #000000 at 16.18:1 contrast (WCAG AA passes).

Color values

HEX#F7E286
RGBrgb(247, 226, 134)
HSLhsl(49, 88%, 75%)
HSVhsv(49, 46%, 97%)
CMYKcmyk(0%, 8.5%, 45.7%, 3.1%)
CIE-LABlab(89.81, -4.84, 47.39)
CIE-LCHlch(89.81, 47.63, 95.83°)
OKLaboklab(91.05% -0.0137 0.1141)
OKLCHoklch(91.05% 0.115 96.8)
XYZxyz(69.8591, 75.8906, 33.5181)
Luminance0.7589 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E286 #869BF7
analogous
#F7AA86 #F7E286 #D3F786
triadic
#F7E286 #86F7E2 #E286F7
tetradic
#F7E286 #86F7AA #869BF7 #F786D3
square
#F7E286 #86F7AA #869BF7 #F786D3
split-complementary
#F7E286 #86D3F7 #AA86F7
monochromatic
#EFC613 #F3D44D #F7E286 #FBF0BF #FDF8E2

Accessibility & contrast

On white

1.30
#F7E286 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.18
#F7E286 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E286
16.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E286#FFFFFF#000000##000000
##F7E2861.001.3016.1816.18
#FFFFFF1.301.0021.0021.00
#00000016.1821.001.001.00
##00000016.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f7e286;
/* rgb */ color: rgb(247, 226, 134);
/* oklch */ color: oklch(91.0% 0.115 96.8);
Tailwind
colors: {
  custom: {
    50: '#fceaab',
    500: '#f7e286',
    950: '#000000',
  },
}
SCSS
$custom: #f7e286;
$custom-light: #fceaab;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e286",
  "rgb": {
    "r": 247,
    "g": 226,
    "b": 134
  },
  "hsl": {
    "h": 48.85,
    "s": 87.597,
    "l": 74.706
  },
  "oklch": {
    "l": 0.9105,
    "c": 0.11493,
    "h": 96.8
  },
  "luminance": 0.75888
}

Semantic roles & 50–950 ramp

primary
#F7E286
secondary
#4D66D4
accent
#2BE401
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #F7E286

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

Preview Lab → · Contrast checker → · Palette generator →

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