#F7E181#F7E181

#F7E181 is a very light, moderate yellow. Relative luminance 0.752; OKLCH L 90.8% C 0.119 H 96.8°. Best body text is #000000 at 16.04:1 contrast (WCAG AA passes).

Color values

HEX#F7E181
RGBrgb(247, 225, 129)
HSLhsl(49, 88%, 74%)
HSVhsv(49, 48%, 97%)
CMYKcmyk(0%, 8.9%, 47.8%, 3.1%)
CIE-LABlab(89.49, -4.80, 49.42)
CIE-LCHlch(89.49, 49.65, 95.55°)
OKLaboklab(90.78% -0.0141 0.1183)
OKLCHoklch(90.78% 0.119 96.8)
XYZxyz(69.2475, 75.2122, 31.6344)
Luminance0.7521 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E181 #8197F7
analogous
#F7A681 #F7E181 #D2F781
triadic
#F7E181 #81F7E1 #E181F7
tetradic
#F7E181 #81F7A6 #8197F7 #F781D2
square
#F7E181 #81F7A6 #8197F7 #F781D2
split-complementary
#F7E181 #81D2F7 #A681F7
monochromatic
#EEC50F #F3D347 #F7E181 #FBEFBB #FDF8E2

Accessibility & contrast

On white

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

On black

16.04
#F7E181 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E181
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E181#FFFFFF#000000##000000
##F7E1811.001.3116.0416.04
#FFFFFF1.311.0021.0021.00
#00000016.0421.001.001.00
##00000016.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DD79
Deuteranopia (green-blind)
#F8E485
Tritanopia (blue-blind)
#FFD4CA
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f7e181;
/* rgb */ color: rgb(247, 225, 129);
/* oklch */ color: oklch(90.8% 0.119 96.8);
Tailwind
colors: {
  custom: {
    50: '#fceaa7',
    500: '#f7e181',
    950: '#000000',
  },
}
SCSS
$custom: #f7e181;
$custom-light: #fceaa7;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e181",
  "rgb": {
    "r": 247,
    "g": 225,
    "b": 129
  },
  "hsl": {
    "h": 48.814,
    "s": 88.06,
    "l": 73.725
  },
  "oklch": {
    "l": 0.90779,
    "c": 0.11913,
    "h": 96.8
  },
  "luminance": 0.7521
}

Semantic roles & 50–950 ramp

primary
#F7E181
secondary
#4962D4
accent
#2BE501
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#181610
muted
#868480

Preview Lab

Preview with #F7E181

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

Preview Lab → · Contrast checker → · Palette generator →

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