#F2D959#F2D959

#F2D959 is a very light, vivid yellow. Relative luminance 0.692; OKLCH L 88.3% C 0.148 H 98.2°. Best body text is #000000 at 14.84:1 contrast (WCAG AA passes).

Color values

HEX#F2D959
RGBrgb(242, 217, 89)
HSLhsl(50, 85%, 65%)
HSVhsv(50, 63%, 95%)
CMYKcmyk(0%, 10.3%, 63.2%, 5.1%)
CIE-LABlab(86.62, -5.82, 64.23)
CIE-LCHlch(86.62, 64.49, 95.17°)
OKLaboklab(88.27% -0.0211 0.1462)
OKLCHoklch(88.27% 0.148 98.2)
XYZxyz(63.2367, 69.2271, 19.4805)
Luminance0.6922 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D959 #5972F2
analogous
#F28C59 #F2D959 #BFF259
triadic
#F2D959 #59F2D9 #D959F2
tetradic
#F2D959 #59F28C #5972F2 #F259BF
square
#F2D959 #59F28C #5972F2 #F259BF
split-complementary
#F2D959 #59BFF2 #8C59F2
monochromatic
#C1A40F #EECC20 #F2D959 #F6E692 #FBF3CB

Accessibility & contrast

On white

1.41
#F2D959 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.84
#F2D959 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D959
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D959#FFFFFF#000000##000000
##F2D9591.001.4114.8414.84
#FFFFFF1.411.0021.0021.00
#00000014.8421.001.001.00
##00000014.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD44A
Deuteranopia (green-blind)
#F4DD60
Tritanopia (blue-blind)
#FFCABE
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #f2d959;
/* rgb */ color: rgb(242, 217, 89);
/* oklch */ color: oklch(88.3% 0.148 98.2);
Tailwind
colors: {
  custom: {
    50: '#fae48d',
    500: '#f2d959',
    950: '#000000',
  },
}
SCSS
$custom: #f2d959;
$custom-light: #fae48d;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d959",
  "rgb": {
    "r": 242,
    "g": 217,
    "b": 89
  },
  "hsl": {
    "h": 50.196,
    "s": 85.475,
    "l": 64.902
  },
  "oklch": {
    "l": 0.88266,
    "c": 0.14769,
    "h": 98.2
  },
  "luminance": 0.69224
}

Semantic roles & 50–950 ramp

primary
#F2D959
secondary
#3047BF
accent
#28E204
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2D959

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

Preview Lab → · Contrast checker → · Palette generator →

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