#F2DE59#F2DE59

#F2DE59 is a very light, vivid yellow. Relative luminance 0.718; OKLCH L 89.3% C 0.152 H 100.7°. Best body text is #000000 at 15.37:1 contrast (WCAG AA passes).

Color values

HEX#F2DE59
RGBrgb(242, 222, 89)
HSLhsl(52, 85%, 65%)
HSVhsv(52, 63%, 95%)
CMYKcmyk(0%, 8.3%, 63.2%, 5.1%)
CIE-LABlab(87.89, -8.33, 65.60)
CIE-LCHlch(87.89, 66.12, 97.24°)
OKLaboklab(89.28% -0.0283 0.1491)
OKLCHoklch(89.28% 0.152 100.7)
XYZxyz(64.5450, 71.8438, 19.9166)
Luminance0.7184 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DE59 #596DF2
analogous
#F29259 #F2DE59 #B9F259
triadic
#F2DE59 #59F2DE #DE59F2
tetradic
#F2DE59 #59F292 #596DF2 #F259B9
square
#F2DE59 #59F292 #596DF2 #F259B9
split-complementary
#F2DE59 #59B9F2 #9259F2
monochromatic
#C1AA0F #EED320 #F2DE59 #F6E992 #FBF5CB

Accessibility & contrast

On white

1.37
#F2DE59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.37
#F2DE59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DE59
15.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DE59#FFFFFF#000000##000000
##F2DE591.001.3715.3715.37
#FFFFFF1.371.0021.0021.00
#00000015.3721.001.001.00
##00000015.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D849
Deuteranopia (green-blind)
#F7E060
Tritanopia (blue-blind)
#FFCFC2
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f2de59;
/* rgb */ color: rgb(242, 222, 89);
/* oklch */ color: oklch(89.3% 0.152 100.7);
Tailwind
colors: {
  custom: {
    50: '#fae88e',
    500: '#f2de59',
    950: '#000000',
  },
}
SCSS
$custom: #f2de59;
$custom-light: #fae88e;
$custom-dark: #000000;
JSON
{
  "hex": "#f2de59",
  "rgb": {
    "r": 242,
    "g": 222,
    "b": 89
  },
  "hsl": {
    "h": 52.157,
    "s": 85.475,
    "l": 64.902
  },
  "oklch": {
    "l": 0.89279,
    "c": 0.15173,
    "h": 100.7
  },
  "luminance": 0.71841
}

Semantic roles & 50–950 ramp

primary
#F2DE59
secondary
#3043BF
accent
#21E204
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F2DE59

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

Preview Lab → · Contrast checker → · Palette generator →

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