#F2F959#F2F959

#F2F959 is a very light, vivid yellow. Relative luminance 0.874; OKLCH L 94.9% C 0.177 H 111.7°. Best body text is #000000 at 18.47:1 contrast (WCAG AA passes).

Color values

HEX#F2F959
RGBrgb(242, 249, 89)
HSLhsl(63, 93%, 66%)
HSVhsv(63, 64%, 98%)
CMYKcmyk(2.8%, 0%, 64.3%, 2.4%)
CIE-LABlab(94.89, -21.54, 72.94)
CIE-LCHlch(94.89, 76.05, 106.45°)
OKLaboklab(94.85% -0.0656 0.1646)
OKLCHoklch(94.85% 0.177 111.7)
XYZxyz(72.2989, 87.3516, 22.5013)
Luminance0.8735 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F959 #6059F9
analogous
#F9B059 #F2F959 #A2F959
triadic
#F2F959 #59F2F9 #F959F2
tetradic
#F2F959 #59F9B0 #6059F9 #F959A2
square
#F2F959 #59F9B0 #6059F9 #F959A2
split-complementary
#F2F959 #59A2F9 #B059F9
monochromatic
#C7D008 #EDF71E #F2F959 #F7FB94 #FBFDCF

Accessibility & contrast

On white

1.14
#F2F959 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.47
#F2F959 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F959
18.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F959#FFFFFF#000000##000000
##F2F9591.001.1418.4718.47
#FFFFFF1.141.0021.0021.00
#00000018.4721.001.001.00
##00000018.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE43
Deuteranopia (green-blind)
#FFF264
Tritanopia (blue-blind)
#FFEBD8
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f2f959;
/* rgb */ color: rgb(242, 249, 89);
/* oklch */ color: oklch(94.9% 0.177 111.7);
Tailwind
colors: {
  custom: {
    50: '#fafb90',
    500: '#f2f959',
    950: '#000000',
  },
}
SCSS
$custom: #f2f959;
$custom-light: #fafb90;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f959",
  "rgb": {
    "r": 242,
    "g": 249,
    "b": 89
  },
  "hsl": {
    "h": 62.625,
    "s": 93.023,
    "l": 66.275
  },
  "oklch": {
    "l": 0.94851,
    "c": 0.1772,
    "h": 111.7
  },
  "luminance": 0.8735
}

Semantic roles & 50–950 ramp

primary
#F2F959
secondary
#322BCB
accent
#00E60A
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F2F959

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

Preview Lab → · Contrast checker → · Palette generator →

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