#F7F458#F7F458

#F7F458 is a very light, vivid yellow. Relative luminance 0.852; OKLCH L 94.2% C 0.172 H 108.2°. Best body text is #000000 at 18.04:1 contrast (WCAG AA passes).

Color values

HEX#F7F458
RGBrgb(247, 244, 88)
HSLhsl(59, 91%, 66%)
HSVhsv(59, 64%, 97%)
CMYKcmyk(0%, 1.2%, 64.4%, 3.1%)
CIE-LABlab(93.96, -17.18, 72.49)
CIE-LCHlch(93.96, 74.50, 103.34°)
OKLaboklab(94.2% -0.0538 0.1634)
OKLCHoklch(94.2% 0.172 108.2)
XYZxyz(72.4724, 85.1823, 21.8549)
Luminance0.8518 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F458 #585BF7
analogous
#F7A458 #F7F458 #AAF758
triadic
#F7F458 #58F7F4 #F458F7
tetradic
#F7F458 #58F7A4 #585BF7 #F758AA
square
#F7F458 #58F7A4 #585BF7 #F758AA
split-complementary
#F7F458 #58AAF7 #A458F7
monochromatic
#CBC70A #F4F01E #F7F458 #FAF892 #FDFCCD

Accessibility & contrast

On white

1.16
#F7F458 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.04
#F7F458 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F458
18.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F458#FFFFFF#000000##000000
##F7F4581.001.1618.0418.04
#FFFFFF1.161.0021.0021.00
#00000018.0421.001.001.00
##00000018.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB43
Deuteranopia (green-blind)
#FFF062
Tritanopia (blue-blind)
#FFE5D4
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f7f458;
/* rgb */ color: rgb(247, 244, 88);
/* oklch */ color: oklch(94.2% 0.172 108.2);
Tailwind
colors: {
  custom: {
    50: '#fdf78f',
    500: '#f7f458',
    950: '#000000',
  },
}
SCSS
$custom: #f7f458;
$custom-light: #fdf78f;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f458",
  "rgb": {
    "r": 247,
    "g": 244,
    "b": 88
  },
  "hsl": {
    "h": 58.868,
    "s": 90.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.94203,
    "c": 0.17198,
    "h": 108.2
  },
  "luminance": 0.8518
}

Semantic roles & 50–950 ramp

primary
#F7F458
secondary
#2C2FC7
accent
#04E600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F7F458

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

Preview Lab → · Contrast checker → · Palette generator →

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