#F2EC6E#F2EC6E

#F2EC6E is a very light, vivid yellow. Relative luminance 0.800; OKLCH L 92.4% C 0.147 H 106.4°. Best body text is #000000 at 17.00:1 contrast (WCAG AA passes).

Color values

HEX#F2EC6E
RGBrgb(242, 236, 110)
HSLhsl(57, 84%, 69%)
HSVhsv(57, 55%, 95%)
CMYKcmyk(0%, 2.5%, 54.5%, 5.1%)
CIE-LABlab(91.68, -13.85, 60.74)
CIE-LCHlch(91.68, 62.30, 102.84°)
OKLaboklab(92.35% -0.0417 0.1414)
OKLCHoklch(92.35% 0.147 106.4)
XYZxyz(69.4299, 79.9960, 26.5323)
Luminance0.7999 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EC6E #6E74F2
analogous
#F2AA6E #F2EC6E #B6F26E
triadic
#F2EC6E #6EF2EC #EC6EF2
tetradic
#F2EC6E #6EF2AA #6E74F2 #F26EB6
square
#F2EC6E #6EF2AA #6E74F2 #F26EB6
split-complementary
#F2EC6E #6EB6F2 #AA6EF2
monochromatic
#D3CA13 #EDE536 #F2EC6E #F7F3A6 #FCFBDE

Accessibility & contrast

On white

1.24
#F2EC6E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.00
#F2EC6E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EC6E
17.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EC6E#FFFFFF#000000##000000
##F2EC6E1.001.2417.0017.00
#FFFFFF1.241.0021.0021.00
#00000017.0021.001.001.00
##00000017.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE461
Deuteranopia (green-blind)
#FFEA75
Tritanopia (blue-blind)
#FFDED0
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f2ec6e;
/* rgb */ color: rgb(242, 236, 110);
/* oklch */ color: oklch(92.4% 0.147 106.4);
Tailwind
colors: {
  custom: {
    50: '#f9f19b',
    500: '#f2ec6e',
    950: '#000000',
  },
}
SCSS
$custom: #f2ec6e;
$custom-light: #f9f19b;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ec6e",
  "rgb": {
    "r": 242,
    "g": 236,
    "b": 110
  },
  "hsl": {
    "h": 57.273,
    "s": 83.544,
    "l": 69.02
  },
  "oklch": {
    "l": 0.92351,
    "c": 0.1474,
    "h": 106.4
  },
  "luminance": 0.79994
}

Semantic roles & 50–950 ramp

primary
#F2EC6E
secondary
#3940CB
accent
#0FE006
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F2EC6E

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

Preview Lab → · Contrast checker → · Palette generator →

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