#F2EA59#F2EA59

#F2EA59 is a very light, vivid yellow. Relative luminance 0.784; OKLCH L 91.7% C 0.162 H 106.2°. Best body text is #000000 at 16.69:1 contrast (WCAG AA passes).

Color values

HEX#F2EA59
RGBrgb(242, 234, 89)
HSLhsl(57, 85%, 65%)
HSVhsv(57, 63%, 95%)
CMYKcmyk(0%, 3.3%, 63.2%, 5.1%)
CIE-LABlab(90.98, -14.28, 68.87)
CIE-LCHlch(90.98, 70.33, 101.71°)
OKLaboklab(91.74% -0.0452 0.156)
OKLCHoklch(91.74% 0.162 106.2)
XYZxyz(67.8464, 78.4464, 21.0171)
Luminance0.7844 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EA59 #5961F2
analogous
#F29E59 #F2EA59 #ADF259
triadic
#F2EA59 #59F2EA #EA59F2
tetradic
#F2EA59 #59F29E #5961F2 #F259AD
square
#F2EA59 #59F29E #5961F2 #F259AD
split-complementary
#F2EA59 #59ADF2 #9E59F2
monochromatic
#C1B80F #EEE320 #F2EA59 #F6F192 #FBF8CB

Accessibility & contrast

On white

1.26
#F2EA59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.69
#F2EA59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EA59
16.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EA59#FFFFFF#000000##000000
##F2EA591.001.2616.6916.69
#FFFFFF1.261.0021.0021.00
#00000016.6921.001.001.00
##00000016.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE246
Deuteranopia (green-blind)
#FFE862
Tritanopia (blue-blind)
#FFDBCC
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f2ea59;
/* rgb */ color: rgb(242, 234, 89);
/* oklch */ color: oklch(91.7% 0.162 106.2);
Tailwind
colors: {
  custom: {
    50: '#faf08e',
    500: '#f2ea59',
    950: '#000000',
  },
}
SCSS
$custom: #f2ea59;
$custom-light: #faf08e;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ea59",
  "rgb": {
    "r": 242,
    "g": 234,
    "b": 89
  },
  "hsl": {
    "h": 56.863,
    "s": 85.475,
    "l": 64.902
  },
  "oklch": {
    "l": 0.91735,
    "c": 0.16241,
    "h": 106.2
  },
  "luminance": 0.78444
}

Semantic roles & 50–950 ramp

primary
#F2EA59
secondary
#3038BF
accent
#0FE204
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #F2EA59

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

Preview Lab → · Contrast checker → · Palette generator →

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