#F2EF6F#F2EF6F

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

Color values

HEX#F2EF6F
RGBrgb(242, 239, 111)
HSLhsl(59, 83%, 69%)
HSVhsv(59, 54%, 95%)
CMYKcmyk(0%, 1.2%, 54.1%, 5.1%)
CIE-LABlab(92.47, -15.24, 61.19)
CIE-LCHlch(92.47, 63.06, 103.99°)
OKLaboklab(92.98% -0.0456 0.1425)
OKLCHoklch(92.98% 0.15 107.8)
XYZxyz(70.3556, 81.7599, 27.1110)
Luminance0.8176 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EF6F #6F72F2
analogous
#F2AE6F #F2EF6F #B4F26F
triadic
#F2EF6F #6FF2EF #EF6FF2
tetradic
#F2EF6F #6FF2AE #6F72F2 #F26FB4
square
#F2EF6F #6FF2AE #6F72F2 #F26FB4
split-complementary
#F2EF6F #6FB4F2 #AE6FF2
monochromatic
#D4CF13 #EDE937 #F2EF6F #F7F5A7 #FCFBDF

Accessibility & contrast

On white

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

On black

17.35
#F2EF6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EF6F
17.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EF6F#FFFFFF#000000##000000
##F2EF6F1.001.2117.3517.35
#FFFFFF1.211.0021.0021.00
#00000017.3521.001.001.00
##00000017.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2ef6f;
/* rgb */ color: rgb(242, 239, 111);
/* oklch */ color: oklch(93.0% 0.150 107.8);
Tailwind
colors: {
  custom: {
    50: '#f9f49c',
    500: '#f2ef6f',
    950: '#000000',
  },
}
SCSS
$custom: #f2ef6f;
$custom-light: #f9f49c;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ef6f",
  "rgb": {
    "r": 242,
    "g": 239,
    "b": 111
  },
  "hsl": {
    "h": 58.626,
    "s": 83.439,
    "l": 69.216
  },
  "oklch": {
    "l": 0.9298,
    "c": 0.14957,
    "h": 107.8
  },
  "luminance": 0.81758
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2EF6F

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

Preview Lab → · Contrast checker → · Palette generator →

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