#F2D859#F2D859

#F2D859 is a very light, vivid yellow. Relative luminance 0.687; OKLCH L 88.1% C 0.147 H 97.7°. Best body text is #000000 at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#F2D859
RGBrgb(242, 216, 89)
HSLhsl(50, 85%, 65%)
HSVhsv(50, 63%, 95%)
CMYKcmyk(0%, 10.7%, 63.2%, 5.1%)
CIE-LABlab(86.36, -5.31, 63.95)
CIE-LCHlch(86.36, 64.17, 94.75°)
OKLaboklab(88.07% -0.0196 0.1456)
OKLCHoklch(88.07% 0.147 97.7)
XYZxyz(62.9797, 68.7132, 19.3949)
Luminance0.6871 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D859 #5973F2
analogous
#F28C59 #F2D859 #BFF259
triadic
#F2D859 #59F2D8 #D859F2
tetradic
#F2D859 #59F28C #5973F2 #F259BF
square
#F2D859 #59F28C #5973F2 #F259BF
split-complementary
#F2D859 #59BFF2 #8C59F2
monochromatic
#C1A30F #EECB20 #F2D859 #F6E592 #FBF3CB

Accessibility & contrast

On white

1.42
#F2D859 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.74
#F2D859 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D859
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D859#FFFFFF#000000##000000
##F2D8591.001.4214.7414.74
#FFFFFF1.421.0021.0021.00
#00000014.7421.001.001.00
##00000014.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD34A
Deuteranopia (green-blind)
#F3DC60
Tritanopia (blue-blind)
#FFC9BD
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #f2d859;
/* rgb */ color: rgb(242, 216, 89);
/* oklch */ color: oklch(88.1% 0.147 97.7);
Tailwind
colors: {
  custom: {
    50: '#fae38d',
    500: '#f2d859',
    950: '#000000',
  },
}
SCSS
$custom: #f2d859;
$custom-light: #fae38d;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d859",
  "rgb": {
    "r": 242,
    "g": 216,
    "b": 89
  },
  "hsl": {
    "h": 49.804,
    "s": 85.475,
    "l": 64.902
  },
  "oklch": {
    "l": 0.88065,
    "c": 0.14692,
    "h": 97.7
  },
  "luminance": 0.6871
}

Semantic roles & 50–950 ramp

primary
#F2D859
secondary
#3048BF
accent
#29E204
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2D859

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

Preview Lab → · Contrast checker → · Palette generator →

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