#F7F958#F7F958

#F7F958 is a very light, vivid yellow. Relative luminance 0.882; OKLCH L 95.2% C 0.177 H 110.0°. Best body text is #000000 at 18.65:1 contrast (WCAG AA passes).

Color values

HEX#F7F958
RGBrgb(247, 249, 88)
HSLhsl(61, 93%, 66%)
HSVhsv(61, 65%, 98%)
CMYKcmyk(0.8%, 0%, 64.7%, 2.4%)
CIE-LABlab(95.26, -19.59, 73.82)
CIE-LCHlch(95.26, 76.38, 104.86°)
OKLaboklab(95.24% -0.0606 0.1662)
OKLCHoklch(95.24% 0.177 110)
XYZxyz(73.9973, 88.2321, 22.3632)
Luminance0.8823 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F958 #5A58F9
analogous
#F9AA58 #F7F958 #A6F958
triadic
#F7F958 #58F7F9 #F958F7
tetradic
#F7F958 #58F9AA #5A58F9 #F958A6
square
#F7F958 #58F9AA #5A58F9 #F958A6
split-complementary
#F7F958 #58A6F9 #AA58F9
monochromatic
#CDCF07 #F4F71D #F7F958 #FAFB93 #FDFDCE

Accessibility & contrast

On white

1.13
#F7F958 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.65
#F7F958 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F958
18.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F958#FFFFFF#000000##000000
##F7F9581.001.1318.6518.65
#FFFFFF1.131.0021.0021.00
#00000018.6521.001.001.00
##00000018.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF41
Deuteranopia (green-blind)
#FFF463
Tritanopia (blue-blind)
#FFEAD8
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f7f958;
/* rgb */ color: rgb(247, 249, 88);
/* oklch */ color: oklch(95.2% 0.177 110.0);
Tailwind
colors: {
  custom: {
    50: '#fdfb8f',
    500: '#f7f958',
    950: '#000000',
  },
}
SCSS
$custom: #f7f958;
$custom-light: #fdfb8f;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f958",
  "rgb": {
    "r": 247,
    "g": 249,
    "b": 88
  },
  "hsl": {
    "h": 60.745,
    "s": 93.064,
    "l": 66.078
  },
  "oklch": {
    "l": 0.95238,
    "c": 0.17686,
    "h": 110
  },
  "luminance": 0.8823
}

Semantic roles & 50–950 ramp

primary
#F7F958
secondary
#2D2BCA
accent
#00E603
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F7F958

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

Preview Lab → · Contrast checker → · Palette generator →

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