#F2EF70#F2EF70

#F2EF70 is a very light, vivid yellow. Relative luminance 0.818; OKLCH L 93.0% C 0.149 H 107.7°. Best body text is #000000 at 17.36:1 contrast (WCAG AA passes).

Color values

HEX#F2EF70
RGBrgb(242, 239, 112)
HSLhsl(59, 83%, 69%)
HSVhsv(59, 54%, 95%)
CMYKcmyk(0%, 1.2%, 53.7%, 5.1%)
CIE-LABlab(92.48, -15.16, 60.76)
CIE-LCHlch(92.48, 62.62, 104.01°)
OKLaboklab(92.99% -0.0453 0.1416)
OKLCHoklch(92.99% 0.149 107.7)
XYZxyz(70.4110, 81.7820, 27.4026)
Luminance0.8178 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EF70 #7073F2
analogous
#F2AE70 #F2EF70 #B4F270
triadic
#F2EF70 #70F2EF #EF70F2
tetradic
#F2EF70 #70F2AE #7073F2 #F270B4
square
#F2EF70 #70F2AE #7073F2 #F270B4
split-complementary
#F2EF70 #70B4F2 #AE70F2
monochromatic
#D4D013 #EDE938 #F2EF70 #F7F5A8 #FCFCE0

Accessibility & contrast

On white

1.21
#F2EF70 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.36
#F2EF70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EF70
17.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EF70#FFFFFF#000000##000000
##F2EF701.001.2117.3617.36
#FFFFFF1.211.0021.0021.00
#00000017.3621.001.001.00
##00000017.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE763
Deuteranopia (green-blind)
#FFEC77
Tritanopia (blue-blind)
#FFE2D3
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f2ef70;
/* rgb */ color: rgb(242, 239, 112);
/* oklch */ color: oklch(93.0% 0.149 107.7);
Tailwind
colors: {
  custom: {
    50: '#f9f49d',
    500: '#f2ef70',
    950: '#000000',
  },
}
SCSS
$custom: #f2ef70;
$custom-light: #f9f49d;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ef70",
  "rgb": {
    "r": 242,
    "g": 239,
    "b": 112
  },
  "hsl": {
    "h": 58.615,
    "s": 83.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.92991,
    "c": 0.14869,
    "h": 107.7
  },
  "luminance": 0.8178
}

Semantic roles & 50–950 ramp

primary
#F2EF70
secondary
#3B3ECB
accent
#0BE006
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F2EF70

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

Preview Lab → · Contrast checker → · Palette generator →

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