#F7E186#F7E186

#F7E186 is a very light, moderate yellow. Relative luminance 0.753; OKLCH L 90.8% C 0.114 H 96.2°. Best body text is #000000 at 16.07:1 contrast (WCAG AA passes).

Color values

HEX#F7E186
RGBrgb(247, 225, 134)
HSLhsl(48, 88%, 75%)
HSVhsv(48, 46%, 97%)
CMYKcmyk(0%, 8.9%, 45.7%, 3.1%)
CIE-LABlab(89.56, -4.34, 47.07)
CIE-LCHlch(89.56, 47.27, 95.26°)
OKLaboklab(90.85% -0.0122 0.1134)
OKLCHoklch(90.85% 0.114 96.2)
XYZxyz(69.5880, 75.3484, 33.4278)
Luminance0.7535 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E186 #869CF7
analogous
#F7A986 #F7E186 #D4F786
triadic
#F7E186 #86F7E1 #E186F7
tetradic
#F7E186 #86F7A9 #869CF7 #F786D4
square
#F7E186 #86F7A9 #869CF7 #F786D4
split-complementary
#F7E186 #86D4F7 #A986F7
monochromatic
#EFC513 #F3D34D #F7E186 #FBEFBF #FDF8E2

Accessibility & contrast

On white

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

On black

16.07
#F7E186 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E186
16.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E186#FFFFFF#000000##000000
##F7E1861.001.3116.0716.07
#FFFFFF1.311.0021.0021.00
#00000016.0721.001.001.00
##00000016.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f7e186;
/* rgb */ color: rgb(247, 225, 134);
/* oklch */ color: oklch(90.8% 0.114 96.2);
Tailwind
colors: {
  custom: {
    50: '#fceaab',
    500: '#f7e186',
    950: '#000000',
  },
}
SCSS
$custom: #f7e186;
$custom-light: #fceaab;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e186",
  "rgb": {
    "r": 247,
    "g": 225,
    "b": 134
  },
  "hsl": {
    "h": 48.319,
    "s": 87.597,
    "l": 74.706
  },
  "oklch": {
    "l": 0.9085,
    "c": 0.11407,
    "h": 96.2
  },
  "luminance": 0.75346
}

Semantic roles & 50–950 ramp

primary
#F7E186
secondary
#4D67D4
accent
#2DE401
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #F7E186

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

Preview Lab → · Contrast checker → · Palette generator →

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