#F6F958#F6F958

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

Color values

HEX#F6F958
RGBrgb(246, 249, 88)
HSLhsl(61, 93%, 66%)
HSVhsv(61, 65%, 98%)
CMYKcmyk(1.2%, 0%, 64.7%, 2.4%)
CIE-LABlab(95.18, -19.99, 73.72)
CIE-LCHlch(95.18, 76.38, 105.17°)
OKLaboklab(95.16% -0.0616 0.166)
OKLCHoklch(95.16% 0.177 110.4)
XYZxyz(73.6455, 88.0507, 22.3467)
Luminance0.8805 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6F958 #5B58F9
analogous
#F9AB58 #F6F958 #A5F958
triadic
#F6F958 #58F6F9 #F958F6
tetradic
#F6F958 #58F9AB #5B58F9 #F958A5
square
#F6F958 #58F9AB #5B58F9 #F958A5
split-complementary
#F6F958 #58A5F9 #AB58F9
monochromatic
#CBCF07 #F3F71D #F6F958 #F9FB93 #FCFDCE

Accessibility & contrast

On white

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

On black

18.61
#F6F958 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6F958
18.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6F958#FFFFFF#000000##000000
##F6F9581.001.1318.6118.61
#FFFFFF1.131.0021.0021.00
#00000018.6121.001.001.00
##00000018.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f6f958;
/* rgb */ color: rgb(246, 249, 88);
/* oklch */ color: oklch(95.2% 0.177 110.4);
Tailwind
colors: {
  custom: {
    50: '#fdfb8f',
    500: '#f6f958',
    950: '#000000',
  },
}
SCSS
$custom: #f6f958;
$custom-light: #fdfb8f;
$custom-dark: #000000;
JSON
{
  "hex": "#f6f958",
  "rgb": {
    "r": 246,
    "g": 249,
    "b": 88
  },
  "hsl": {
    "h": 61.118,
    "s": 93.064,
    "l": 66.078
  },
  "oklch": {
    "l": 0.95158,
    "c": 0.17705,
    "h": 110.4
  },
  "luminance": 0.88049
}

Semantic roles & 50–950 ramp

primary
#F6F958
secondary
#2E2BCA
accent
#00E604
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F6F958

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

Preview Lab → · Contrast checker → · Palette generator →

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