#F7F286#F7F286

#F7F286 is a very light, vivid yellow. Relative luminance 0.850; OKLCH L 94.3% C 0.131 H 106.3°. Best body text is #000000 at 18.00:1 contrast (WCAG AA passes).

Color values

HEX#F7F286
RGBrgb(247, 242, 134)
HSLhsl(57, 88%, 75%)
HSVhsv(57, 46%, 97%)
CMYKcmyk(0%, 2%, 45.7%, 3.1%)
CIE-LABlab(93.88, -12.80, 52.40)
CIE-LCHlch(93.88, 53.95, 103.73°)
OKLaboklab(94.28% -0.0366 0.1253)
OKLCHoklch(94.28% 0.131 106.3)
XYZxyz(74.4146, 85.0016, 35.0366)
Luminance0.8500 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F286 #868BF7
analogous
#F7BA86 #F7F286 #C4F786
triadic
#F7F286 #86F7F2 #F286F7
tetradic
#F7F286 #86F7BA #868BF7 #F786C4
square
#F7F286 #86F7BA #868BF7 #F786C4
split-complementary
#F7F286 #86C4F7 #BA86F7
monochromatic
#EFE613 #F3EC4D #F7F286 #FBF8BF #FDFCE2

Accessibility & contrast

On white

1.17
#F7F286 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.00
#F7F286 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F286
18.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F286#FFFFFF#000000##000000
##F7F2861.001.1718.0018.00
#FFFFFF1.171.0021.0021.00
#00000018.0021.001.001.00
##00000018.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB7D
Deuteranopia (green-blind)
#FFF08B
Tritanopia (blue-blind)
#FFE6D9
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f7f286;
/* rgb */ color: rgb(247, 242, 134);
/* oklch */ color: oklch(94.3% 0.131 106.3);
Tailwind
colors: {
  custom: {
    50: '#fcf6ab',
    500: '#f7f286',
    950: '#000000',
  },
}
SCSS
$custom: #f7f286;
$custom-light: #fcf6ab;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f286",
  "rgb": {
    "r": 247,
    "g": 242,
    "b": 134
  },
  "hsl": {
    "h": 57.345,
    "s": 87.597,
    "l": 74.706
  },
  "oklch": {
    "l": 0.94282,
    "c": 0.13052,
    "h": 106.3
  },
  "luminance": 0.85
}

Semantic roles & 50–950 ramp

primary
#F7F286
secondary
#4D53D4
accent
#0BE401
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #F7F286

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

Preview Lab → · Contrast checker → · Palette generator →

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