#F2D059#F2D059

#F2D059 is a very light, vivid yellow. Relative luminance 0.647; OKLCH L 86.5% C 0.141 H 93.2°. Best body text is #000000 at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#F2D059
RGBrgb(242, 208, 89)
HSLhsl(47, 85%, 65%)
HSVhsv(47, 63%, 95%)
CMYKcmyk(0%, 14%, 63.2%, 5.1%)
CIE-LABlab(84.34, -1.24, 61.77)
CIE-LCHlch(84.34, 61.78, 91.15°)
OKLaboklab(86.46% -0.008 0.141)
OKLCHoklch(86.46% 0.141 93.2)
XYZxyz(60.9799, 64.7135, 18.7282)
Luminance0.6471 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D059 #597BF2
analogous
#F28459 #F2D059 #C7F259
triadic
#F2D059 #59F2D0 #D059F2
tetradic
#F2D059 #59F284 #597BF2 #F259C7
square
#F2D059 #59F284 #597BF2 #F259C7
split-complementary
#F2D059 #59C7F2 #8459F2
monochromatic
#C19A0F #EEC020 #F2D059 #F6E092 #FBF0CB

Accessibility & contrast

On white

1.51
#F2D059 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.94
#F2D059 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D059
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D059#FFFFFF#000000##000000
##F2D0591.001.5113.9413.94
#FFFFFF1.511.0021.0021.00
#00000013.9421.001.001.00
##00000013.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CD4B
Deuteranopia (green-blind)
#EDD75F
Tritanopia (blue-blind)
#FFC1B6
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #f2d059;
/* rgb */ color: rgb(242, 208, 89);
/* oklch */ color: oklch(86.5% 0.141 93.2);
Tailwind
colors: {
  custom: {
    50: '#fade8d',
    500: '#f2d059',
    950: '#000000',
  },
}
SCSS
$custom: #f2d059;
$custom-light: #fade8d;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d059",
  "rgb": {
    "r": 242,
    "g": 208,
    "b": 89
  },
  "hsl": {
    "h": 46.667,
    "s": 85.475,
    "l": 64.902
  },
  "oklch": {
    "l": 0.86462,
    "c": 0.14117,
    "h": 93.2
  },
  "luminance": 0.6471
}

Semantic roles & 50–950 ramp

primary
#F2D059
secondary
#3050BF
accent
#35E204
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F2D059

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

Preview Lab → · Contrast checker → · Palette generator →

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