#F7EF56#F7EF56

#F7EF56 is a very light, vivid yellow. Relative luminance 0.822; OKLCH L 93.2% C 0.169 H 106.3°. Best body text is #000000 at 17.44:1 contrast (WCAG AA passes).

Color values

HEX#F7EF56
RGBrgb(247, 239, 86)
HSLhsl(57, 91%, 65%)
HSVhsv(57, 65%, 97%)
CMYKcmyk(0%, 3.2%, 65.2%, 3.1%)
CIE-LABlab(92.65, -14.87, 71.91)
CIE-LCHlch(92.65, 73.43, 101.68°)
OKLaboklab(93.16% -0.0474 0.1618)
OKLCHoklch(93.16% 0.169 106.3)
XYZxyz(70.9066, 82.1815, 20.9298)
Luminance0.8218 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7EF56 #565EF7
analogous
#F79F56 #F7EF56 #AEF756
triadic
#F7EF56 #56F7EF #EF56F7
tetradic
#F7EF56 #56F79F #565EF7 #F756AE
square
#F7EF56 #56F79F #565EF7 #F756AE
split-complementary
#F7EF56 #56AEF7 #9F56F7
monochromatic
#C9C00A #F4E91C #F7EF56 #FAF590 #FDFACB

Accessibility & contrast

On white

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

On black

17.44
#F7EF56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7EF56
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7EF56#FFFFFF#000000##000000
##F7EF561.001.2017.4417.44
#FFFFFF1.201.0021.0021.00
#00000017.4421.001.001.00
##00000017.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE641
Deuteranopia (green-blind)
#FFED60
Tritanopia (blue-blind)
#FFE0D0
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f7ef56;
/* rgb */ color: rgb(247, 239, 86);
/* oklch */ color: oklch(93.2% 0.169 106.3);
Tailwind
colors: {
  custom: {
    50: '#fdf48d',
    500: '#f7ef56',
    950: '#000000',
  },
}
SCSS
$custom: #f7ef56;
$custom-light: #fdf48d;
$custom-dark: #000000;
JSON
{
  "hex": "#f7ef56",
  "rgb": {
    "r": 247,
    "g": 239,
    "b": 86
  },
  "hsl": {
    "h": 57.019,
    "s": 90.96,
    "l": 65.294
  },
  "oklch": {
    "l": 0.93157,
    "c": 0.16865,
    "h": 106.3
  },
  "luminance": 0.82179
}

Semantic roles & 50–950 ramp

primary
#F7EF56
secondary
#2C33C5
accent
#0BE600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F7EF56

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

Preview Lab → · Contrast checker → · Palette generator →

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