#F6F258#F6F258

#F6F258 is a very light, vivid yellow. Relative luminance 0.838; OKLCH L 93.7% C 0.170 H 107.8°. Best body text is #000000 at 17.76:1 contrast (WCAG AA passes).

Color values

HEX#F6F258
RGBrgb(246, 242, 88)
HSLhsl(58, 90%, 65%)
HSVhsv(58, 64%, 96%)
CMYKcmyk(0%, 1.6%, 64.2%, 3.5%)
CIE-LABlab(93.37, -16.62, 71.85)
CIE-LCHlch(93.37, 73.74, 103.02°)
OKLaboklab(93.71% -0.0521 0.162)
OKLCHoklch(93.71% 0.17 107.8)
XYZxyz(71.5221, 83.8039, 21.6389)
Luminance0.8380 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6F258 #585CF6
analogous
#F6A358 #F6F258 #ABF658
triadic
#F6F258 #58F6F2 #F258F6
tetradic
#F6F258 #58F6A3 #585CF6 #F658AB
square
#F6F258 #58F6A3 #585CF6 #F658AB
split-complementary
#F6F258 #58ABF6 #A358F6
monochromatic
#C9C40B #F3ED1E #F6F258 #F9F792 #FCFBCC

Accessibility & contrast

On white

1.18
#F6F258 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.76
#F6F258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6F258
17.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6F258#FFFFFF#000000##000000
##F6F2581.001.1817.7617.76
#FFFFFF1.181.0021.0021.00
#00000017.7621.001.001.00
##00000017.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE943
Deuteranopia (green-blind)
#FFEF62
Tritanopia (blue-blind)
#FFE3D2
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f6f258;
/* rgb */ color: rgb(246, 242, 88);
/* oklch */ color: oklch(93.7% 0.170 107.8);
Tailwind
colors: {
  custom: {
    50: '#fdf68e',
    500: '#f6f258',
    950: '#000000',
  },
}
SCSS
$custom: #f6f258;
$custom-light: #fdf68e;
$custom-dark: #000000;
JSON
{
  "hex": "#f6f258",
  "rgb": {
    "r": 246,
    "g": 242,
    "b": 88
  },
  "hsl": {
    "h": 58.481,
    "s": 89.773,
    "l": 65.49
  },
  "oklch": {
    "l": 0.93708,
    "c": 0.17021,
    "h": 107.8
  },
  "luminance": 0.83802
}

Semantic roles & 50–950 ramp

primary
#F6F258
secondary
#2D31C5
accent
#06E600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F6F258

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

Preview Lab → · Contrast checker → · Palette generator →

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