#F7F381#F7F381

#F7F381 is a very light, vivid yellow. Relative luminance 0.855; OKLCH L 94.4% C 0.137 H 106.9°. Best body text is #000000 at 18.09:1 contrast (WCAG AA passes).

Color values

HEX#F7F381
RGBrgb(247, 243, 129)
HSLhsl(58, 88%, 74%)
HSVhsv(58, 48%, 97%)
CMYKcmyk(0%, 1.6%, 47.8%, 3.1%)
CIE-LABlab(94.08, -13.75, 54.99)
CIE-LCHlch(94.08, 56.68, 104.03°)
OKLaboklab(94.42% -0.0398 0.1306)
OKLCHoklch(94.42% 0.137 106.9)
XYZxyz(74.3725, 85.4623, 33.3427)
Luminance0.8546 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F381 #8185F7
analogous
#F7B881 #F7F381 #C0F781
triadic
#F7F381 #81F7F3 #F381F7
tetradic
#F7F381 #81F7B8 #8185F7 #F781C0
square
#F7F381 #81F7B8 #8185F7 #F781C0
split-complementary
#F7F381 #81C0F7 #B881F7
monochromatic
#EEE70F #F3EE47 #F7F381 #FBF8BB #FDFCE2

Accessibility & contrast

On white

1.16
#F7F381 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.09
#F7F381 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F381
18.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F381#FFFFFF#000000##000000
##F7F3811.001.1618.0918.09
#FFFFFF1.161.0021.0021.00
#00000018.0921.001.001.00
##00000018.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB77
Deuteranopia (green-blind)
#FFF086
Tritanopia (blue-blind)
#FFE6D9
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f7f381;
/* rgb */ color: rgb(247, 243, 129);
/* oklch */ color: oklch(94.4% 0.137 106.9);
Tailwind
colors: {
  custom: {
    50: '#fcf6a8',
    500: '#f7f381',
    950: '#000000',
  },
}
SCSS
$custom: #f7f381;
$custom-light: #fcf6a8;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f381",
  "rgb": {
    "r": 247,
    "g": 243,
    "b": 129
  },
  "hsl": {
    "h": 57.966,
    "s": 88.06,
    "l": 73.725
  },
  "oklch": {
    "l": 0.9442,
    "c": 0.13652,
    "h": 106.9
  },
  "luminance": 0.8546
}

Semantic roles & 50–950 ramp

primary
#F7F381
secondary
#494DD4
accent
#09E501
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #F7F381

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

Preview Lab → · Contrast checker → · Palette generator →

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