#F7EF6B#F7EF6B

#F7EF6B is a very light, vivid yellow. Relative luminance 0.826; OKLCH L 93.3% C 0.152 H 105.8°. Best body text is #000000 at 17.51:1 contrast (WCAG AA passes).

Color values

HEX#F7EF6B
RGBrgb(247, 239, 107)
HSLhsl(57, 90%, 69%)
HSVhsv(57, 57%, 97%)
CMYKcmyk(0%, 3.2%, 56.7%, 3.1%)
CIE-LABlab(92.83, -13.54, 63.46)
CIE-LCHlch(92.83, 64.89, 102.04°)
OKLaboklab(93.35% -0.0415 0.1468)
OKLCHoklch(93.35% 0.153 105.8)
XYZxyz(71.8804, 82.5710, 26.0585)
Luminance0.8257 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7EF6B #6B73F7
analogous
#F7A96B #F7EF6B #B9F76B
triadic
#F7EF6B #6BF7EF #EF6BF7
tetradic
#F7EF6B #6BF7A9 #6B73F7 #F76BB9
square
#F7EF6B #6BF7A9 #6B73F7 #F76BB9
split-complementary
#F7EF6B #6BB9F7 #A96BF7
monochromatic
#DCD00C #F4E931 #F7EF6B #FAF5A5 #FDFCDF

Accessibility & contrast

On white

1.20
#F7EF6B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.51
#F7EF6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7EF6B
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7EF6B#FFFFFF#000000##000000
##F7EF6B1.001.2017.5117.51
#FFFFFF1.201.0021.0021.00
#00000017.5121.001.001.00
##00000017.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE75D
Deuteranopia (green-blind)
#FFED72
Tritanopia (blue-blind)
#FFE1D2
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f7ef6b;
/* rgb */ color: rgb(247, 239, 107);
/* oklch */ color: oklch(93.3% 0.152 105.8);
Tailwind
colors: {
  custom: {
    50: '#fdf49a',
    500: '#f7ef6b',
    950: '#000000',
  },
}
SCSS
$custom: #f7ef6b;
$custom-light: #fdf49a;
$custom-dark: #000000;
JSON
{
  "hex": "#f7ef6b",
  "rgb": {
    "r": 247,
    "g": 239,
    "b": 107
  },
  "hsl": {
    "h": 56.571,
    "s": 89.744,
    "l": 69.412
  },
  "oklch": {
    "l": 0.93348,
    "c": 0.1525,
    "h": 105.8
  },
  "luminance": 0.82569
}

Semantic roles & 50–950 ramp

primary
#F7EF6B
secondary
#353ED1
accent
#0DE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F7EF6B

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

Preview Lab → · Contrast checker → · Palette generator →

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