#F7EF7A#F7EF7A

#F7EF7A is a very light, vivid yellow. Relative luminance 0.829; OKLCH L 93.5% C 0.139 H 105.3°. Best body text is #000000 at 17.58:1 contrast (WCAG AA passes).

Color values

HEX#F7EF7A
RGBrgb(247, 239, 122)
HSLhsl(56, 89%, 72%)
HSVhsv(56, 51%, 97%)
CMYKcmyk(0%, 3.2%, 50.6%, 3.1%)
CIE-LABlab(92.98, -12.38, 56.91)
CIE-LCHlch(92.98, 58.25, 102.27°)
OKLaboklab(93.52% -0.0366 0.1342)
OKLCHoklch(93.52% 0.139 105.3)
XYZxyz(72.7391, 82.9145, 30.5810)
Luminance0.8291 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7EF7A #7A82F7
analogous
#F7B17A #F7EF7A #C1F77A
triadic
#F7EF7A #7AF7EF #EF7AF7
tetradic
#F7EF7A #7AF7B1 #7A82F7 #F77AC1
square
#F7EF7A #7AF7B1 #7A82F7 #F77AC1
split-complementary
#F7EF7A #7AC1F7 #B17AF7
monochromatic
#E9DB0E #F4E840 #F7EF7A #FAF6B4 #FDFCE2

Accessibility & contrast

On white

1.19
#F7EF7A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.58
#F7EF7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7EF7A
17.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7EF7A#FFFFFF#000000##000000
##F7EF7A1.001.1917.5817.58
#FFFFFF1.191.0021.0021.00
#00000017.5821.001.001.00
##00000017.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE86F
Deuteranopia (green-blind)
#FFED80
Tritanopia (blue-blind)
#FFE2D4
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f7ef7a;
/* rgb */ color: rgb(247, 239, 122);
/* oklch */ color: oklch(93.5% 0.139 105.3);
Tailwind
colors: {
  custom: {
    50: '#fcf4a3',
    500: '#f7ef7a',
    950: '#000000',
  },
}
SCSS
$custom: #f7ef7a;
$custom-light: #fcf4a3;
$custom-dark: #000000;
JSON
{
  "hex": "#f7ef7a",
  "rgb": {
    "r": 247,
    "g": 239,
    "b": 122
  },
  "hsl": {
    "h": 56.16,
    "s": 88.652,
    "l": 72.353
  },
  "oklch": {
    "l": 0.93517,
    "c": 0.1391,
    "h": 105.3
  },
  "luminance": 0.82912
}

Semantic roles & 50–950 ramp

primary
#F7EF7A
secondary
#424CD3
accent
#0FE500
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F7EF7A

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

Preview Lab → · Contrast checker → · Palette generator →

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