#F2ED6E#F2ED6E

#F2ED6E 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.11:1 contrast (WCAG AA passes).

Color values

HEX#F2ED6E
RGBrgb(242, 237, 110)
HSLhsl(58, 84%, 69%)
HSVhsv(58, 55%, 95%)
CMYKcmyk(0%, 2.1%, 54.5%, 5.1%)
CIE-LABlab(91.94, -14.34, 61.03)
CIE-LCHlch(91.94, 62.70, 103.22°)
OKLaboklab(92.56% -0.0431 0.142)
OKLCHoklch(92.56% 0.148 106.9)
XYZxyz(69.7186, 80.5734, 26.6285)
Luminance0.8057 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2ED6E #6E73F2
analogous
#F2AB6E #F2ED6E #B5F26E
triadic
#F2ED6E #6EF2ED #ED6EF2
tetradic
#F2ED6E #6EF2AB #6E73F2 #F26EB5
square
#F2ED6E #6EF2AB #6E73F2 #F26EB5
split-complementary
#F2ED6E #6EB5F2 #AB6EF2
monochromatic
#D3CB13 #EDE636 #F2ED6E #F7F4A6 #FCFBDE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2ED6E#FFFFFF#000000##000000
##F2ED6E1.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)
#FEE561
Deuteranopia (green-blind)
#FFEA75
Tritanopia (blue-blind)
#FFE0D1
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f2ed6e;
/* rgb */ color: rgb(242, 237, 110);
/* oklch */ color: oklch(92.6% 0.148 106.9);
Tailwind
colors: {
  custom: {
    50: '#f9f29b',
    500: '#f2ed6e',
    950: '#000000',
  },
}
SCSS
$custom: #f2ed6e;
$custom-light: #f9f29b;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ed6e",
  "rgb": {
    "r": 242,
    "g": 237,
    "b": 110
  },
  "hsl": {
    "h": 57.727,
    "s": 83.544,
    "l": 69.02
  },
  "oklch": {
    "l": 0.92557,
    "c": 0.14841,
    "h": 106.9
  },
  "luminance": 0.80571
}

Semantic roles & 50–950 ramp

primary
#F2ED6E
secondary
#393FCB
accent
#0EE006
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F2ED6E

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

Preview Lab → · Contrast checker → · Palette generator →

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