#F2ED5E#F2ED5E

#F2ED5E is a very light, vivid yellow. Relative luminance 0.803; OKLCH L 92.4% C 0.162 H 107.3°. Best body text is #000000 at 17.05:1 contrast (WCAG AA passes).

Color values

HEX#F2ED5E
RGBrgb(242, 237, 94)
HSLhsl(58, 85%, 66%)
HSVhsv(58, 61%, 95%)
CMYKcmyk(0%, 2.1%, 61.2%, 5.1%)
CIE-LABlab(91.80, -15.44, 67.71)
CIE-LCHlch(91.80, 69.45, 102.85°)
OKLaboklab(92.4% -0.048 0.1543)
OKLCHoklch(92.4% 0.162 107.3)
XYZxyz(68.9248, 80.2559, 22.4477)
Luminance0.8025 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2ED5E #5E63F2
analogous
#F2A35E #F2ED5E #ADF25E
triadic
#F2ED5E #5EF2ED #ED5EF2
tetradic
#F2ED5E #5EF2A3 #5E63F2 #F25EAD
square
#F2ED5E #5EF2A3 #5E63F2 #F25EAD
split-complementary
#F2ED5E #5EADF2 #A35EF2
monochromatic
#C6C010 #EDE725 #F2ED5E #F7F397 #FBFACF

Accessibility & contrast

On white

1.23
#F2ED5E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.05
#F2ED5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2ED5E
17.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2ED5E#FFFFFF#000000##000000
##F2ED5E1.001.2317.0517.05
#FFFFFF1.231.0021.0021.00
#00000017.0521.001.001.00
##00000017.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE44D
Deuteranopia (green-blind)
#FFEA67
Tritanopia (blue-blind)
#FFDFCF
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f2ed5e;
/* rgb */ color: rgb(242, 237, 94);
/* oklch */ color: oklch(92.4% 0.162 107.3);
Tailwind
colors: {
  custom: {
    50: '#f9f292',
    500: '#f2ed5e',
    950: '#000000',
  },
}
SCSS
$custom: #f2ed5e;
$custom-light: #f9f292;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ed5e",
  "rgb": {
    "r": 242,
    "g": 237,
    "b": 94
  },
  "hsl": {
    "h": 57.973,
    "s": 85.057,
    "l": 65.882
  },
  "oklch": {
    "l": 0.92398,
    "c": 0.16154,
    "h": 107.3
  },
  "luminance": 0.80254
}

Semantic roles & 50–950 ramp

primary
#F2ED5E
secondary
#3136C3
accent
#0BE204
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #F2ED5E

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

Preview Lab → · Contrast checker → · Palette generator →

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