#F2EC70#F2EC70

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

Color values

HEX#F2EC70
RGBrgb(242, 236, 112)
HSLhsl(57, 83%, 69%)
HSVhsv(57, 54%, 95%)
CMYKcmyk(0%, 2.5%, 53.7%, 5.1%)
CIE-LABlab(91.70, -13.69, 59.87)
CIE-LCHlch(91.70, 61.42, 102.88°)
OKLaboklab(92.37% -0.0411 0.1397)
OKLCHoklch(92.37% 0.146 106.4)
XYZxyz(69.5400, 80.0401, 27.1122)
Luminance0.8004 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EC70 #7076F2
analogous
#F2AB70 #F2EC70 #B7F270
triadic
#F2EC70 #70F2EC #EC70F2
tetradic
#F2EC70 #70F2AB #7076F2 #F270B7
square
#F2EC70 #70F2AB #7076F2 #F270B7
split-complementary
#F2EC70 #70B7F2 #AB70F2
monochromatic
#D4CB13 #EDE538 #F2EC70 #F7F3A8 #FCFBE0

Accessibility & contrast

On white

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

On black

17.01
#F2EC70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EC70
17.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EC70#FFFFFF#000000##000000
##F2EC701.001.2317.0117.01
#FFFFFF1.231.0021.0021.00
#00000017.0121.001.001.00
##00000017.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE464
Deuteranopia (green-blind)
#FFEA76
Tritanopia (blue-blind)
#FFDFD0
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f2ec70;
/* rgb */ color: rgb(242, 236, 112);
/* oklch */ color: oklch(92.4% 0.146 106.4);
Tailwind
colors: {
  custom: {
    50: '#f9f19d',
    500: '#f2ec70',
    950: '#000000',
  },
}
SCSS
$custom: #f2ec70;
$custom-light: #f9f19d;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ec70",
  "rgb": {
    "r": 242,
    "g": 236,
    "b": 112
  },
  "hsl": {
    "h": 57.231,
    "s": 83.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.92373,
    "c": 0.14563,
    "h": 106.4
  },
  "luminance": 0.80038
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2EC70

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

Preview Lab → · Contrast checker → · Palette generator →

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