#F2E759#F2E759

#F2E759 is a very light, vivid yellow. Relative luminance 0.767; OKLCH L 91.1% C 0.160 H 104.9°. Best body text is #000000 at 16.35:1 contrast (WCAG AA passes).

Color values

HEX#F2E759
RGBrgb(242, 231, 89)
HSLhsl(56, 85%, 65%)
HSVhsv(56, 63%, 95%)
CMYKcmyk(0%, 4.5%, 63.2%, 5.1%)
CIE-LABlab(90.21, -12.80, 68.05)
CIE-LCHlch(90.21, 69.25, 100.66°)
OKLaboklab(91.12% -0.041 0.1543)
OKLCHoklch(91.12% 0.16 104.9)
XYZxyz(66.9995, 76.7527, 20.7348)
Luminance0.7675 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E759 #5964F2
analogous
#F29A59 #F2E759 #B1F259
triadic
#F2E759 #59F2E7 #E759F2
tetradic
#F2E759 #59F29A #5964F2 #F259B1
square
#F2E759 #59F29A #5964F2 #F259B1
split-complementary
#F2E759 #59B1F2 #9A59F2
monochromatic
#C1B50F #EEDF20 #F2E759 #F6EF92 #FBF7CB

Accessibility & contrast

On white

1.28
#F2E759 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.35
#F2E759 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E759
16.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E759#FFFFFF#000000##000000
##F2E7591.001.2816.3516.35
#FFFFFF1.281.0021.0021.00
#00000016.3521.001.001.00
##00000016.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FADF47
Deuteranopia (green-blind)
#FEE661
Tritanopia (blue-blind)
#FFD8C9
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f2e759;
/* rgb */ color: rgb(242, 231, 89);
/* oklch */ color: oklch(91.1% 0.160 104.9);
Tailwind
colors: {
  custom: {
    50: '#faee8e',
    500: '#f2e759',
    950: '#000000',
  },
}
SCSS
$custom: #f2e759;
$custom-light: #faee8e;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e759",
  "rgb": {
    "r": 242,
    "g": 231,
    "b": 89
  },
  "hsl": {
    "h": 55.686,
    "s": 85.475,
    "l": 64.902
  },
  "oklch": {
    "l": 0.91118,
    "c": 0.15963,
    "h": 104.9
  },
  "luminance": 0.7675
}

Semantic roles & 50–950 ramp

primary
#F2E759
secondary
#303ABF
accent
#14E204
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F2E759

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

Preview Lab → · Contrast checker → · Palette generator →

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