#F7E387#F7E387

#F7E387 is a very light, moderate yellow. Relative luminance 0.765; OKLCH L 91.3% C 0.115 H 97.4°. Best body text is #000000 at 16.29:1 contrast (WCAG AA passes).

Color values

HEX#F7E387
RGBrgb(247, 227, 135)
HSLhsl(49, 88%, 75%)
HSVhsv(49, 45%, 97%)
CMYKcmyk(0%, 8.1%, 45.3%, 3.1%)
CIE-LABlab(90.07, -5.25, 47.23)
CIE-LCHlch(90.07, 47.52, 96.34°)
OKLaboklab(91.27% -0.0148 0.1138)
OKLCHoklch(91.27% 0.115 97.4)
XYZxyz(70.2019, 76.4641, 33.9781)
Luminance0.7646 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E387 #879BF7
analogous
#F7AB87 #F7E387 #D3F787
triadic
#F7E387 #87F7E3 #E387F7
tetradic
#F7E387 #87F7AB #879BF7 #F787D3
square
#F7E387 #87F7AB #879BF7 #F787D3
split-complementary
#F7E387 #87D3F7 #AB87F7
monochromatic
#EFC814 #F3D64E #F7E387 #FBF0C0 #FDF8E2

Accessibility & contrast

On white

1.29
#F7E387 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.29
#F7E387 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E387
16.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E387#FFFFFF#000000##000000
##F7E3871.001.2916.2916.29
#FFFFFF1.291.0021.0021.00
#00000016.2921.001.001.00
##00000016.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DF80
Deuteranopia (green-blind)
#F9E68B
Tritanopia (blue-blind)
#FFD7CD
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f7e387;
/* rgb */ color: rgb(247, 227, 135);
/* oklch */ color: oklch(91.3% 0.115 97.4);
Tailwind
colors: {
  custom: {
    50: '#fcebab',
    500: '#f7e387',
    950: '#000000',
  },
}
SCSS
$custom: #f7e387;
$custom-light: #fcebab;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e387",
  "rgb": {
    "r": 247,
    "g": 227,
    "b": 135
  },
  "hsl": {
    "h": 49.286,
    "s": 87.5,
    "l": 74.902
  },
  "oklch": {
    "l": 0.91265,
    "c": 0.11478,
    "h": 97.4
  },
  "luminance": 0.76462
}

Semantic roles & 50–950 ramp

primary
#F7E387
secondary
#4E66D4
accent
#2AE401
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #F7E387

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

Preview Lab → · Contrast checker → · Palette generator →

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