#F7E581#F7E581

#F7E581 is a very light, vivid yellow. Relative luminance 0.774; OKLCH L 91.6% C 0.123 H 99.3°. Best body text is #000000 at 16.48:1 contrast (WCAG AA passes).

Color values

HEX#F7E581
RGBrgb(247, 229, 129)
HSLhsl(51, 88%, 74%)
HSVhsv(51, 48%, 97%)
CMYKcmyk(0%, 7.3%, 47.8%, 3.1%)
CIE-LABlab(90.51, -6.81, 50.66)
CIE-LCHlch(90.51, 51.12, 97.66°)
OKLaboklab(91.58% -0.0199 0.1211)
OKLCHoklch(91.58% 0.123 99.3)
XYZxyz(70.3415, 77.4002, 31.9991)
Luminance0.7740 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E581 #8193F7
analogous
#F7AA81 #F7E581 #CEF781
triadic
#F7E581 #81F7E5 #E581F7
tetradic
#F7E581 #81F7AA #8193F7 #F781CE
square
#F7E581 #81F7AA #8193F7 #F781CE
split-complementary
#F7E581 #81CEF7 #AA81F7
monochromatic
#EECC0F #F3D947 #F7E581 #FBF1BB #FDF9E2

Accessibility & contrast

On white

1.27
#F7E581 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.48
#F7E581 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E581
16.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E581#FFFFFF#000000##000000
##F7E5811.001.2716.4816.48
#FFFFFF1.271.0021.0021.00
#00000016.4821.001.001.00
##00000016.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E079
Deuteranopia (green-blind)
#FBE785
Tritanopia (blue-blind)
#FFD8CD
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f7e581;
/* rgb */ color: rgb(247, 229, 129);
/* oklch */ color: oklch(91.6% 0.123 99.3);
Tailwind
colors: {
  custom: {
    50: '#fceda7',
    500: '#f7e581',
    950: '#000000',
  },
}
SCSS
$custom: #f7e581;
$custom-light: #fceda7;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e581",
  "rgb": {
    "r": 247,
    "g": 229,
    "b": 129
  },
  "hsl": {
    "h": 50.847,
    "s": 88.06,
    "l": 73.725
  },
  "oklch": {
    "l": 0.91581,
    "c": 0.12267,
    "h": 99.3
  },
  "luminance": 0.77398
}

Semantic roles & 50–950 ramp

primary
#F7E581
secondary
#495ED4
accent
#24E501
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#181610
muted
#868480

Preview Lab

Preview with #F7E581

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

Preview Lab → · Contrast checker → · Palette generator →

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