#F7D058#F7D058

#F7D058 is a very light, vivid yellow. Relative luminance 0.656; OKLCH L 86.9% C 0.143 H 91.0°. Best body text is #000000 at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#F7D058
RGBrgb(247, 208, 88)
HSLhsl(45, 91%, 66%)
HSVhsv(45, 64%, 97%)
CMYKcmyk(0%, 15.8%, 64.4%, 3.1%)
CIE-LABlab(84.79, 0.77, 62.82)
CIE-LCHlch(84.79, 62.83, 89.30°)
OKLaboklab(86.93% -0.0026 0.1429)
OKLCHoklch(86.93% 0.143 91)
XYZxyz(62.6782, 65.5940, 18.5902)
Luminance0.6559 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7D058 #587FF7
analogous
#F78058 #F7D058 #CEF758
triadic
#F7D058 #58F7D0 #D058F7
tetradic
#F7D058 #58F780 #587FF7 #F758CE
square
#F7D058 #58F780 #587FF7 #F758CE
split-complementary
#F7D058 #58CEF7 #8058F7
monochromatic
#CB9C0A #F4C01E #F7D058 #FAE092 #FDF1CD

Accessibility & contrast

On white

1.49
#F7D058 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.12
#F7D058 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7D058
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7D058#FFFFFF#000000##000000
##F7D0581.001.4914.1214.12
#FFFFFF1.491.0021.0021.00
#00000014.1221.001.001.00
##00000014.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CD4A
Deuteranopia (green-blind)
#EFD85D
Tritanopia (blue-blind)
#FFC0B6
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #f7d058;
/* rgb */ color: rgb(247, 208, 88);
/* oklch */ color: oklch(86.9% 0.143 91.0);
Tailwind
colors: {
  custom: {
    50: '#fede8c',
    500: '#f7d058',
    950: '#000000',
  },
}
SCSS
$custom: #f7d058;
$custom-light: #fede8c;
$custom-dark: #000000;
JSON
{
  "hex": "#f7d058",
  "rgb": {
    "r": 247,
    "g": 208,
    "b": 88
  },
  "hsl": {
    "h": 45.283,
    "s": 90.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.86925,
    "c": 0.14292,
    "h": 91
  },
  "luminance": 0.6559
}

Semantic roles & 50–950 ramp

primary
#F7D058
secondary
#2C52C7
accent
#38E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F7D058

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

Preview Lab → · Contrast checker → · Palette generator →

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