#F7E160#F7E160

#F7E160 is a very light, vivid yellow. Relative luminance 0.745; OKLCH L 90.4% C 0.149 H 99.7°. Best body text is #000000 at 15.89:1 contrast (WCAG AA passes).

Color values

HEX#F7E160
RGBrgb(247, 225, 96)
HSLhsl(51, 90%, 67%)
HSVhsv(51, 61%, 97%)
CMYKcmyk(0%, 8.9%, 61.1%, 3.1%)
CIE-LABlab(89.15, -7.35, 64.12)
CIE-LCHlch(89.15, 64.54, 96.54°)
OKLaboklab(90.39% -0.025 0.1468)
OKLCHoklch(90.39% 0.149 99.7)
XYZxyz(67.3970, 74.4720, 21.8885)
Luminance0.7447 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E160 #6076F7
analogous
#F79560 #F7E160 #C2F760
triadic
#F7E160 #60F7E1 #E160F7
tetradic
#F7E160 #60F795 #6076F7 #F760C2
square
#F7E160 #60F795 #6076F7 #F760C2
split-complementary
#F7E160 #60C2F7 #9560F7
monochromatic
#D2B50B #F4D626 #F7E160 #FAEC9A #FDF7D5

Accessibility & contrast

On white

1.32
#F7E160 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.89
#F7E160 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E160
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E160#FFFFFF#000000##000000
##F7E1601.001.3215.8915.89
#FFFFFF1.321.0021.0021.00
#00000015.8921.001.001.00
##00000015.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DB51
Deuteranopia (green-blind)
#FBE467
Tritanopia (blue-blind)
#FFD2C5
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f7e160;
/* rgb */ color: rgb(247, 225, 96);
/* oklch */ color: oklch(90.4% 0.149 99.7);
Tailwind
colors: {
  custom: {
    50: '#fdea92',
    500: '#f7e160',
    950: '#000000',
  },
}
SCSS
$custom: #f7e160;
$custom-light: #fdea92;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e160",
  "rgb": {
    "r": 247,
    "g": 225,
    "b": 96
  },
  "hsl": {
    "h": 51.258,
    "s": 90.419,
    "l": 67.255
  },
  "oklch": {
    "l": 0.90392,
    "c": 0.14891,
    "h": 99.7
  },
  "luminance": 0.74469
}

Semantic roles & 50–950 ramp

primary
#F7E160
secondary
#2E45CD
accent
#21E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F7E160

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

Preview Lab → · Contrast checker → · Palette generator →

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