#F7E381#F7E381

#F7E381 is a very light, vivid yellow. Relative luminance 0.763; OKLCH L 91.2% C 0.121 H 98.1°. Best body text is #000000 at 16.26:1 contrast (WCAG AA passes).

Color values

HEX#F7E381
RGBrgb(247, 227, 129)
HSLhsl(50, 88%, 74%)
HSVhsv(50, 48%, 97%)
CMYKcmyk(0%, 8.1%, 47.8%, 3.1%)
CIE-LABlab(90.00, -5.81, 50.04)
CIE-LCHlch(90.00, 50.38, 96.62°)
OKLaboklab(91.18% -0.017 0.1197)
OKLCHoklch(91.18% 0.121 98.1)
XYZxyz(69.7913, 76.2999, 31.8157)
Luminance0.7630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E381 #8195F7
analogous
#F7A881 #F7E381 #D0F781
triadic
#F7E381 #81F7E3 #E381F7
tetradic
#F7E381 #81F7A8 #8195F7 #F781D0
square
#F7E381 #81F7A8 #8195F7 #F781D0
split-complementary
#F7E381 #81D0F7 #A881F7
monochromatic
#EEC90F #F3D647 #F7E381 #FBF0BB #FDF9E2

Accessibility & contrast

On white

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

On black

16.26
#F7E381 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E381
16.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E381#FFFFFF#000000##000000
##F7E3811.001.2916.2616.26
#FFFFFF1.291.0021.0021.00
#00000016.2621.001.001.00
##00000016.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f7e381;
/* rgb */ color: rgb(247, 227, 129);
/* oklch */ color: oklch(91.2% 0.121 98.1);
Tailwind
colors: {
  custom: {
    50: '#fceba7',
    500: '#f7e381',
    950: '#000000',
  },
}
SCSS
$custom: #f7e381;
$custom-light: #fceba7;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e381",
  "rgb": {
    "r": 247,
    "g": 227,
    "b": 129
  },
  "hsl": {
    "h": 49.831,
    "s": 88.06,
    "l": 73.725
  },
  "oklch": {
    "l": 0.9118,
    "c": 0.12087,
    "h": 98.1
  },
  "luminance": 0.76297
}

Semantic roles & 50–950 ramp

primary
#F7E381
secondary
#4960D4
accent
#27E501
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#181610
muted
#868480

Preview Lab

Preview with #F7E381

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

Preview Lab → · Contrast checker → · Palette generator →

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