#F6F259#F6F259

#F6F259 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#F6F259
RGBrgb(246, 242, 89)
HSLhsl(58, 90%, 66%)
HSVhsv(58, 64%, 96%)
CMYKcmyk(0%, 1.6%, 63.8%, 3.5%)
CIE-LABlab(93.37, -16.56, 71.47)
CIE-LCHlch(93.37, 73.36, 103.05°)
OKLaboklab(93.72% -0.0519 0.1614)
OKLCHoklch(93.72% 0.17 107.8)
XYZxyz(71.5638, 83.8206, 21.8585)
Luminance0.8382 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6F259 #595DF6
analogous
#F6A359 #F6F259 #ACF659
triadic
#F6F259 #59F6F2 #F259F6
tetradic
#F6F259 #59F6A3 #595DF6 #F659AC
square
#F6F259 #59F6A3 #595DF6 #F659AC
split-complementary
#F6F259 #59ACF6 #A359F6
monochromatic
#CAC50B #F3ED1F #F6F259 #F9F793 #FCFBCD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F6F259#FFFFFF#000000##000000
##F6F2591.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)
#FFE945
Deuteranopia (green-blind)
#FFEF63
Tritanopia (blue-blind)
#FFE3D3
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f6f259;
/* rgb */ color: rgb(246, 242, 89);
/* oklch */ color: oklch(93.7% 0.170 107.8);
Tailwind
colors: {
  custom: {
    50: '#fdf68f',
    500: '#f6f259',
    950: '#000000',
  },
}
SCSS
$custom: #f6f259;
$custom-light: #fdf68f;
$custom-dark: #000000;
JSON
{
  "hex": "#f6f259",
  "rgb": {
    "r": 246,
    "g": 242,
    "b": 89
  },
  "hsl": {
    "h": 58.471,
    "s": 89.714,
    "l": 65.686
  },
  "oklch": {
    "l": 0.93716,
    "c": 0.16951,
    "h": 107.8
  },
  "luminance": 0.83818
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F6F259

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

Preview Lab → · Contrast checker → · Palette generator →

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