#F7EB5E#F7EB5E

#F7EB5E is a very light, vivid yellow. Relative luminance 0.800; OKLCH L 92.4% C 0.159 H 104.5°. Best body text is #000000 at 17.00:1 contrast (WCAG AA passes).

Color values

HEX#F7EB5E
RGBrgb(247, 235, 94)
HSLhsl(55, 91%, 67%)
HSVhsv(55, 62%, 97%)
CMYKcmyk(0%, 4.9%, 61.9%, 3.1%)
CIE-LABlab(91.69, -12.44, 67.71)
CIE-LCHlch(91.69, 68.84, 100.41°)
OKLaboklab(92.4% -0.0397 0.1541)
OKLCHoklch(92.4% 0.159 104.5)
XYZxyz(70.0890, 80.0015, 22.3374)
Luminance0.8000 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7EB5E #5E6AF7
analogous
#F79F5E #F7EB5E #B7F75E
triadic
#F7EB5E #5EF7EB #EB5EF7
tetradic
#F7EB5E #5EF79F #5E6AF7 #F75EB7
square
#F7EB5E #5EF79F #5E6AF7 #F75EB7
split-complementary
#F7EB5E #5EB7F7 #9F5EF7
monochromatic
#D0C10A #F4E424 #F7EB5E #FAF298 #FDF9D3

Accessibility & contrast

On white

1.24
#F7EB5E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.00
#F7EB5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7EB5E
17.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7EB5E#FFFFFF#000000##000000
##F7EB5E1.001.2417.0017.00
#FFFFFF1.241.0021.0021.00
#00000017.0021.001.001.00
##00000017.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE34D
Deuteranopia (green-blind)
#FFEA66
Tritanopia (blue-blind)
#FFDCCD
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f7eb5e;
/* rgb */ color: rgb(247, 235, 94);
/* oklch */ color: oklch(92.4% 0.159 104.5);
Tailwind
colors: {
  custom: {
    50: '#fdf191',
    500: '#f7eb5e',
    950: '#000000',
  },
}
SCSS
$custom: #f7eb5e;
$custom-light: #fdf191;
$custom-dark: #000000;
JSON
{
  "hex": "#f7eb5e",
  "rgb": {
    "r": 247,
    "g": 235,
    "b": 94
  },
  "hsl": {
    "h": 55.294,
    "s": 90.533,
    "l": 66.863
  },
  "oklch": {
    "l": 0.92404,
    "c": 0.15917,
    "h": 104.5
  },
  "luminance": 0.79999
}

Semantic roles & 50–950 ramp

primary
#F7EB5E
secondary
#2E3ACC
accent
#12E600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #F7EB5E

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

Preview Lab → · Contrast checker → · Palette generator →

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