#F2ED6C#F2ED6C

#F2ED6C is a very light, vivid yellow. Relative luminance 0.805; OKLCH L 92.5% C 0.150 H 106.9°. Best body text is #000000 at 17.11:1 contrast (WCAG AA passes).

Color values

HEX#F2ED6C
RGBrgb(242, 237, 108)
HSLhsl(58, 84%, 69%)
HSVhsv(58, 55%, 95%)
CMYKcmyk(0%, 2.1%, 55.4%, 5.1%)
CIE-LABlab(91.92, -14.49, 61.90)
CIE-LCHlch(91.92, 63.57, 103.17°)
OKLaboklab(92.54% -0.0438 0.1436)
OKLCHoklch(92.54% 0.15 106.9)
XYZxyz(69.6110, 80.5304, 26.0615)
Luminance0.8053 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2ED6C #6C71F2
analogous
#F2AA6C #F2ED6C #B4F26C
triadic
#F2ED6C #6CF2ED #ED6CF2
tetradic
#F2ED6C #6CF2AA #6C71F2 #F26CB4
square
#F2ED6C #6CF2AA #6C71F2 #F26CB4
split-complementary
#F2ED6C #6CB4F2 #AA6CF2
monochromatic
#D1CA12 #EDE634 #F2ED6C #F7F4A4 #FCFBDC

Accessibility & contrast

On white

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

On black

17.11
#F2ED6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2ED6C
17.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2ED6C#FFFFFF#000000##000000
##F2ED6C1.001.2317.1117.11
#FFFFFF1.231.0021.0021.00
#00000017.1121.001.001.00
##00000017.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE55F
Deuteranopia (green-blind)
#FFEA73
Tritanopia (blue-blind)
#FFDFD1
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f2ed6c;
/* rgb */ color: rgb(242, 237, 108);
/* oklch */ color: oklch(92.5% 0.150 106.9);
Tailwind
colors: {
  custom: {
    50: '#f9f29a',
    500: '#f2ed6c',
    950: '#000000',
  },
}
SCSS
$custom: #f2ed6c;
$custom-light: #f9f29a;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ed6c",
  "rgb": {
    "r": 242,
    "g": 237,
    "b": 108
  },
  "hsl": {
    "h": 57.761,
    "s": 83.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.92535,
    "c": 0.15015,
    "h": 106.9
  },
  "luminance": 0.80528
}

Semantic roles & 50–950 ramp

primary
#F2ED6C
secondary
#373DCB
accent
#0DE005
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F2ED6C

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

Preview Lab → · Contrast checker → · Palette generator →

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