#F2EB59#F2EB59

#F2EB59 is a very light, vivid yellow. Relative luminance 0.790; OKLCH L 91.9% C 0.163 H 106.6°. Best body text is #000000 at 16.80:1 contrast (WCAG AA passes).

Color values

HEX#F2EB59
RGBrgb(242, 235, 89)
HSLhsl(57, 85%, 65%)
HSVhsv(57, 63%, 95%)
CMYKcmyk(0%, 2.9%, 63.2%, 5.1%)
CIE-LABlab(91.24, -14.77, 69.14)
CIE-LCHlch(91.24, 70.70, 102.06°)
OKLaboklab(91.94% -0.0466 0.1566)
OKLCHoklch(91.94% 0.163 106.6)
XYZxyz(68.1319, 79.0174, 21.1122)
Luminance0.7902 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EB59 #5960F2
analogous
#F29F59 #F2EB59 #ACF259
triadic
#F2EB59 #59F2EB #EB59F2
tetradic
#F2EB59 #59F29F #5960F2 #F259AC
square
#F2EB59 #59F29F #5960F2 #F259AC
split-complementary
#F2EB59 #59ACF2 #9F59F2
monochromatic
#C1B90F #EEE420 #F2EB59 #F6F292 #FBF9CB

Accessibility & contrast

On white

1.25
#F2EB59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.80
#F2EB59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EB59
16.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EB59#FFFFFF#000000##000000
##F2EB591.001.2516.8016.80
#FFFFFF1.251.0021.0021.00
#00000016.8021.001.001.00
##00000016.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE346
Deuteranopia (green-blind)
#FFE962
Tritanopia (blue-blind)
#FFDCCD
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f2eb59;
/* rgb */ color: rgb(242, 235, 89);
/* oklch */ color: oklch(91.9% 0.163 106.6);
Tailwind
colors: {
  custom: {
    50: '#faf18e',
    500: '#f2eb59',
    950: '#000000',
  },
}
SCSS
$custom: #f2eb59;
$custom-light: #faf18e;
$custom-dark: #000000;
JSON
{
  "hex": "#f2eb59",
  "rgb": {
    "r": 242,
    "g": 235,
    "b": 89
  },
  "hsl": {
    "h": 57.255,
    "s": 85.475,
    "l": 64.902
  },
  "oklch": {
    "l": 0.91941,
    "c": 0.16335,
    "h": 106.6
  },
  "luminance": 0.79015
}

Semantic roles & 50–950 ramp

primary
#F2EB59
secondary
#3037BF
accent
#0EE204
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #F2EB59

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

Preview Lab → · Contrast checker → · Palette generator →

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