#F2ED6F#F2ED6F

#F2ED6F is a very light, vivid yellow. Relative luminance 0.806; OKLCH L 92.6% C 0.148 H 106.9°. Best body text is #000000 at 17.12:1 contrast (WCAG AA passes).

Color values

HEX#F2ED6F
RGBrgb(242, 237, 111)
HSLhsl(58, 83%, 69%)
HSVhsv(58, 54%, 95%)
CMYKcmyk(0%, 2.1%, 54.1%, 5.1%)
CIE-LABlab(91.95, -14.26, 60.60)
CIE-LCHlch(91.95, 62.26, 103.24°)
OKLaboklab(92.57% -0.0428 0.1412)
OKLCHoklch(92.57% 0.148 106.9)
XYZxyz(69.7734, 80.5953, 26.9169)
Luminance0.8059 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2ED6F #6F74F2
analogous
#F2AC6F #F2ED6F #B6F26F
triadic
#F2ED6F #6FF2ED #ED6FF2
tetradic
#F2ED6F #6FF2AC #6F74F2 #F26FB6
square
#F2ED6F #6FF2AC #6F74F2 #F26FB6
split-complementary
#F2ED6F #6FB6F2 #AC6FF2
monochromatic
#D4CC13 #EDE637 #F2ED6F #F7F4A7 #FCFBDF

Accessibility & contrast

On white

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

On black

17.12
#F2ED6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2ED6F
17.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2ED6F#FFFFFF#000000##000000
##F2ED6F1.001.2317.1217.12
#FFFFFF1.231.0021.0021.00
#00000017.1221.001.001.00
##00000017.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE562
Deuteranopia (green-blind)
#FFEA76
Tritanopia (blue-blind)
#FFE0D1
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f2ed6f;
/* rgb */ color: rgb(242, 237, 111);
/* oklch */ color: oklch(92.6% 0.148 106.9);
Tailwind
colors: {
  custom: {
    50: '#f9f29c',
    500: '#f2ed6f',
    950: '#000000',
  },
}
SCSS
$custom: #f2ed6f;
$custom-light: #f9f29c;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ed6f",
  "rgb": {
    "r": 242,
    "g": 237,
    "b": 111
  },
  "hsl": {
    "h": 57.71,
    "s": 83.439,
    "l": 69.216
  },
  "oklch": {
    "l": 0.92568,
    "c": 0.14753,
    "h": 106.9
  },
  "luminance": 0.80593
}

Semantic roles & 50–950 ramp

primary
#F2ED6F
secondary
#3A3FCB
accent
#0EE006
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F2ED6F

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

Preview Lab → · Contrast checker → · Palette generator →

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