#F7D458#F7D458

#F7D458 is a very light, vivid yellow. Relative luminance 0.676; OKLCH L 87.7% C 0.145 H 93.3°. Best body text is #000000 at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#F7D458
RGBrgb(247, 212, 88)
HSLhsl(47, 91%, 66%)
HSVhsv(47, 64%, 97%)
CMYKcmyk(0%, 14.2%, 64.4%, 3.1%)
CIE-LABlab(85.79, -1.27, 63.90)
CIE-LCHlch(85.79, 63.91, 91.14°)
OKLaboklab(87.72% -0.0085 0.1452)
OKLCHoklch(87.72% 0.145 93.3)
XYZxyz(63.6658, 67.5691, 18.9193)
Luminance0.6757 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7D458 #587BF7
analogous
#F78458 #F7D458 #CBF758
triadic
#F7D458 #58F7D4 #D458F7
tetradic
#F7D458 #58F784 #587BF7 #F758CB
square
#F7D458 #58F784 #587BF7 #F758CB
split-complementary
#F7D458 #58CBF7 #8458F7
monochromatic
#CBA00A #F4C51E #F7D458 #FAE392 #FDF2CD

Accessibility & contrast

On white

1.45
#F7D458 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.51
#F7D458 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7D458
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7D458#FFFFFF#000000##000000
##F7D4581.001.4514.5114.51
#FFFFFF1.451.0021.0021.00
#00000014.5121.001.001.00
##00000014.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D049
Deuteranopia (green-blind)
#F2DB5E
Tritanopia (blue-blind)
#FFC4BA
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #f7d458;
/* rgb */ color: rgb(247, 212, 88);
/* oklch */ color: oklch(87.7% 0.145 93.3);
Tailwind
colors: {
  custom: {
    50: '#fde08c',
    500: '#f7d458',
    950: '#000000',
  },
}
SCSS
$custom: #f7d458;
$custom-light: #fde08c;
$custom-dark: #000000;
JSON
{
  "hex": "#f7d458",
  "rgb": {
    "r": 247,
    "g": 212,
    "b": 88
  },
  "hsl": {
    "h": 46.792,
    "s": 90.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.87715,
    "c": 0.14544,
    "h": 93.3
  },
  "luminance": 0.67566
}

Semantic roles & 50–950 ramp

primary
#F7D458
secondary
#2C4EC7
accent
#33E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F7D458

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

Preview Lab → · Contrast checker → · Palette generator →

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