#F7EB7F#F7EB7F

#F7EB7F is a very light, vivid yellow. Relative luminance 0.807; OKLCH L 92.8% C 0.130 H 102.9°. Best body text is #000000 at 17.14:1 contrast (WCAG AA passes).

Color values

HEX#F7EB7F
RGBrgb(247, 235, 127)
HSLhsl(54, 88%, 73%)
HSVhsv(54, 49%, 97%)
CMYKcmyk(0%, 4.9%, 48.6%, 3.1%)
CIE-LABlab(92.01, -9.98, 53.43)
CIE-LCHlch(92.01, 54.36, 100.58°)
OKLaboklab(92.77% -0.0292 0.127)
OKLCHoklch(92.77% 0.13 102.9)
XYZxyz(71.8988, 80.7254, 31.8688)
Luminance0.8072 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7EB7F #7F8BF7
analogous
#F7AF7F #F7EB7F #C7F77F
triadic
#F7EB7F #7FF7EB #EB7FF7
tetradic
#F7EB7F #7FF7AF #7F8BF7 #F77FC7
square
#F7EB7F #7FF7AF #7F8BF7 #F77FC7
split-complementary
#F7EB7F #7FC7F7 #AF7FF7
monochromatic
#EDD70F #F3E245 #F7EB7F #FBF4B9 #FDFAE2

Accessibility & contrast

On white

1.22
#F7EB7F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.14
#F7EB7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7EB7F
17.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7EB7F#FFFFFF#000000##000000
##F7EB7F1.001.2217.1417.14
#FFFFFF1.221.0021.0021.00
#00000017.1421.001.001.00
##00000017.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE576
Deuteranopia (green-blind)
#FFEB84
Tritanopia (blue-blind)
#FFDED2
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f7eb7f;
/* rgb */ color: rgb(247, 235, 127);
/* oklch */ color: oklch(92.8% 0.130 102.9);
Tailwind
colors: {
  custom: {
    50: '#fcf1a6',
    500: '#f7eb7f',
    950: '#000000',
  },
}
SCSS
$custom: #f7eb7f;
$custom-light: #fcf1a6;
$custom-dark: #000000;
JSON
{
  "hex": "#f7eb7f",
  "rgb": {
    "r": 247,
    "g": 235,
    "b": 127
  },
  "hsl": {
    "h": 54,
    "s": 88.235,
    "l": 73.333
  },
  "oklch": {
    "l": 0.92766,
    "c": 0.13032,
    "h": 102.9
  },
  "luminance": 0.80723
}

Semantic roles & 50–950 ramp

primary
#F7EB7F
secondary
#4755D3
accent
#17E501
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#181610
muted
#868580

Preview Lab

Preview with #F7EB7F

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

Preview Lab → · Contrast checker → · Palette generator →

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