#F7EE5B#F7EE5B

#F7EE5B is a very light, vivid yellow. Relative luminance 0.817; OKLCH L 93.0% C 0.164 H 105.8°. Best body text is #000000 at 17.34:1 contrast (WCAG AA passes).

Color values

HEX#F7EE5B
RGBrgb(247, 238, 91)
HSLhsl(57, 91%, 66%)
HSVhsv(57, 63%, 97%)
CMYKcmyk(0%, 3.6%, 63.2%, 3.1%)
CIE-LABlab(92.43, -14.09, 69.72)
CIE-LCHlch(92.43, 71.13, 101.43°)
OKLaboklab(92.99% -0.0447 0.158)
OKLCHoklch(92.99% 0.164 105.8)
XYZxyz(70.8232, 81.6810, 21.9308)
Luminance0.8168 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7EE5B #5B64F7
analogous
#F7A05B #F7EE5B #B2F75B
triadic
#F7EE5B #5BF7EE #EE5BF7
tetradic
#F7EE5B #5BF7A0 #5B64F7 #F75BB2
square
#F7EE5B #5BF7A0 #5B64F7 #F75BB2
split-complementary
#F7EE5B #5BB2F7 #A05BF7
monochromatic
#CEC20A #F4E821 #F7EE5B #FAF495 #FDFAD0

Accessibility & contrast

On white

1.21
#F7EE5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.34
#F7EE5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7EE5B
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7EE5B#FFFFFF#000000##000000
##F7EE5B1.001.2117.3417.34
#FFFFFF1.211.0021.0021.00
#00000017.3421.001.001.00
##00000017.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE648
Deuteranopia (green-blind)
#FFEC64
Tritanopia (blue-blind)
#FFDFCF
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f7ee5b;
/* rgb */ color: rgb(247, 238, 91);
/* oklch */ color: oklch(93.0% 0.164 105.8);
Tailwind
colors: {
  custom: {
    50: '#fdf390',
    500: '#f7ee5b',
    950: '#000000',
  },
}
SCSS
$custom: #f7ee5b;
$custom-light: #fdf390;
$custom-dark: #000000;
JSON
{
  "hex": "#f7ee5b",
  "rgb": {
    "r": 247,
    "g": 238,
    "b": 91
  },
  "hsl": {
    "h": 56.538,
    "s": 90.698,
    "l": 66.275
  },
  "oklch": {
    "l": 0.92992,
    "c": 0.16416,
    "h": 105.8
  },
  "luminance": 0.81679
}

Semantic roles & 50–950 ramp

primary
#F7EE5B
secondary
#2D36C9
accent
#0DE600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #F7EE5B

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

Preview Lab → · Contrast checker → · Palette generator →

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