#F2EC6F#F2EC6F

#F2EC6F 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#F2EC6F
RGBrgb(242, 236, 111)
HSLhsl(57, 83%, 69%)
HSVhsv(57, 54%, 95%)
CMYKcmyk(0%, 2.5%, 54.1%, 5.1%)
CIE-LABlab(91.69, -13.77, 60.31)
CIE-LCHlch(91.69, 61.86, 102.86°)
OKLaboklab(92.36% -0.0414 0.1405)
OKLCHoklch(92.36% 0.147 106.4)
XYZxyz(69.4847, 80.0179, 26.8206)
Luminance0.8002 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EC6F #6F75F2
analogous
#F2AB6F #F2EC6F #B7F26F
triadic
#F2EC6F #6FF2EC #EC6FF2
tetradic
#F2EC6F #6FF2AB #6F75F2 #F26FB7
square
#F2EC6F #6FF2AB #6F75F2 #F26FB7
split-complementary
#F2EC6F #6FB7F2 #AB6FF2
monochromatic
#D4CB13 #EDE537 #F2EC6F #F7F3A7 #FCFBDF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2EC6F#FFFFFF#000000##000000
##F2EC6F1.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)
#FDE462
Deuteranopia (green-blind)
#FFEA76
Tritanopia (blue-blind)
#FFDFD0
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f2ec6f;
/* rgb */ color: rgb(242, 236, 111);
/* oklch */ color: oklch(92.4% 0.147 106.4);
Tailwind
colors: {
  custom: {
    50: '#f9f19c',
    500: '#f2ec6f',
    950: '#000000',
  },
}
SCSS
$custom: #f2ec6f;
$custom-light: #f9f19c;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ec6f",
  "rgb": {
    "r": 242,
    "g": 236,
    "b": 111
  },
  "hsl": {
    "h": 57.252,
    "s": 83.439,
    "l": 69.216
  },
  "oklch": {
    "l": 0.92362,
    "c": 0.14651,
    "h": 106.4
  },
  "luminance": 0.80016
}

Semantic roles & 50–950 ramp

primary
#F2EC6F
secondary
#3A41CB
accent
#10E006
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F2EC6F

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

Preview Lab → · Contrast checker → · Palette generator →

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