#F2F059#F2F059

#F2F059 is a very light, vivid yellow. Relative luminance 0.819; OKLCH L 93.0% C 0.168 H 108.5°. Best body text is #000000 at 17.38:1 contrast (WCAG AA passes).

Color values

HEX#F2F059
RGBrgb(242, 240, 89)
HSLhsl(59, 85%, 65%)
HSVhsv(59, 63%, 95%)
CMYKcmyk(0%, 0.8%, 63.2%, 5.1%)
CIE-LABlab(92.54, -17.21, 70.50)
CIE-LCHlch(92.54, 72.57, 103.72°)
OKLaboklab(92.98% -0.0535 0.1594)
OKLCHoklch(92.98% 0.168 108.5)
XYZxyz(69.5835, 81.9207, 21.5961)
Luminance0.8192 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F059 #595BF2
analogous
#F2A459 #F2F059 #A7F259
triadic
#F2F059 #59F2F0 #F059F2
tetradic
#F2F059 #59F2A4 #595BF2 #F259A7
square
#F2F059 #59F2A4 #595BF2 #F259A7
split-complementary
#F2F059 #59A7F2 #A459F2
monochromatic
#C1BF0F #EEEB20 #F2F059 #F6F592 #FBFACB

Accessibility & contrast

On white

1.21
#F2F059 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.38
#F2F059 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F059
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F059#FFFFFF#000000##000000
##F2F0591.001.2117.3817.38
#FFFFFF1.211.0021.0021.00
#00000017.3821.001.001.00
##00000017.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE745
Deuteranopia (green-blind)
#FFEC63
Tritanopia (blue-blind)
#FFE1D1
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f2f059;
/* rgb */ color: rgb(242, 240, 89);
/* oklch */ color: oklch(93.0% 0.168 108.5);
Tailwind
colors: {
  custom: {
    50: '#faf48f',
    500: '#f2f059',
    950: '#000000',
  },
}
SCSS
$custom: #f2f059;
$custom-light: #faf48f;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f059",
  "rgb": {
    "r": 242,
    "g": 240,
    "b": 89
  },
  "hsl": {
    "h": 59.216,
    "s": 85.475,
    "l": 64.902
  },
  "oklch": {
    "l": 0.92976,
    "c": 0.16816,
    "h": 108.5
  },
  "luminance": 0.81919
}

Semantic roles & 50–950 ramp

primary
#F2F059
secondary
#3032BF
accent
#06E204
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F2F059

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

Preview Lab → · Contrast checker → · Palette generator →

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