#F2ED5D#F2ED5D

#F2ED5D is a very light, vivid yellow. Relative luminance 0.802; 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#F2ED5D
RGBrgb(242, 237, 93)
HSLhsl(58, 85%, 66%)
HSVhsv(58, 62%, 95%)
CMYKcmyk(0%, 2.1%, 61.6%, 5.1%)
CIE-LABlab(91.79, -15.51, 68.11)
CIE-LCHlch(91.79, 69.85, 102.83°)
OKLaboklab(92.39% -0.0482 0.155)
OKLCHoklch(92.39% 0.162 107.3)
XYZxyz(68.8802, 80.2381, 22.2129)
Luminance0.8024 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2ED5D #5D62F2
analogous
#F2A35D #F2ED5D #ACF25D
triadic
#F2ED5D #5DF2ED #ED5DF2
tetradic
#F2ED5D #5DF2A3 #5D62F2 #F25DAC
square
#F2ED5D #5DF2A3 #5D62F2 #F25DAC
split-complementary
#F2ED5D #5DACF2 #A35DF2
monochromatic
#C5BF10 #EDE724 #F2ED5D #F7F396 #FBFACE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2ED5D#FFFFFF#000000##000000
##F2ED5D1.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)
#FFE44B
Deuteranopia (green-blind)
#FFEA66
Tritanopia (blue-blind)
#FFDFCF
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f2ed5d;
/* rgb */ color: rgb(242, 237, 93);
/* oklch */ color: oklch(92.4% 0.162 107.3);
Tailwind
colors: {
  custom: {
    50: '#f9f291',
    500: '#f2ed5d',
    950: '#000000',
  },
}
SCSS
$custom: #f2ed5d;
$custom-light: #f9f291;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ed5d",
  "rgb": {
    "r": 242,
    "g": 237,
    "b": 93
  },
  "hsl": {
    "h": 57.987,
    "s": 85.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.92389,
    "c": 0.1623,
    "h": 107.3
  },
  "luminance": 0.80236
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2ED5D

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

Preview Lab → · Contrast checker → · Palette generator →

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