#F7E959#F7E959

#F7E959 is a very light, vivid yellow. Relative luminance 0.788; OKLCH L 92.0% C 0.161 H 103.8°. Best body text is #000000 at 16.75:1 contrast (WCAG AA passes).

Color values

HEX#F7E959
RGBrgb(247, 233, 89)
HSLhsl(55, 91%, 66%)
HSVhsv(55, 64%, 97%)
CMYKcmyk(0%, 5.7%, 64%, 3.1%)
CIE-LABlab(91.13, -11.75, 69.15)
CIE-LCHlch(91.13, 70.14, 99.64°)
OKLaboklab(91.95% -0.0383 0.1565)
OKLCHoklch(91.95% 0.161 103.8)
XYZxyz(69.3025, 78.7759, 21.0040)
Luminance0.7877 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E959 #5967F7
analogous
#F79A59 #F7E959 #B6F759
triadic
#F7E959 #59F7E9 #E959F7
tetradic
#F7E959 #59F79A #5967F7 #F759B6
square
#F7E959 #59F79A #5967F7 #F759B6
split-complementary
#F7E959 #59B6F7 #9A59F7
monochromatic
#CCBB0A #F4E11F #F7E959 #FAF193 #FDF8CE

Accessibility & contrast

On white

1.25
#F7E959 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.75
#F7E959 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E959
16.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E959#FFFFFF#000000##000000
##F7E9591.001.2516.7516.75
#FFFFFF1.251.0021.0021.00
#00000016.7521.001.001.00
##00000016.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE247
Deuteranopia (green-blind)
#FFE961
Tritanopia (blue-blind)
#FFDACB
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f7e959;
/* rgb */ color: rgb(247, 233, 89);
/* oklch */ color: oklch(92.0% 0.161 103.8);
Tailwind
colors: {
  custom: {
    50: '#fdef8e',
    500: '#f7e959',
    950: '#000000',
  },
}
SCSS
$custom: #f7e959;
$custom-light: #fdef8e;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e959",
  "rgb": {
    "r": 247,
    "g": 233,
    "b": 89
  },
  "hsl": {
    "h": 54.684,
    "s": 90.805,
    "l": 65.882
  },
  "oklch": {
    "l": 0.91952,
    "c": 0.16108,
    "h": 103.8
  },
  "luminance": 0.78773
}

Semantic roles & 50–950 ramp

primary
#F7E959
secondary
#2C3AC8
accent
#14E600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #F7E959

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

Preview Lab → · Contrast checker → · Palette generator →

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