#F2EF6D#F2EF6D

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

Color values

HEX#F2EF6D
RGBrgb(242, 239, 109)
HSLhsl(59, 84%, 69%)
HSVhsv(59, 55%, 95%)
CMYKcmyk(0%, 1.2%, 55%, 5.1%)
CIE-LABlab(92.45, -15.39, 62.05)
CIE-LCHlch(92.45, 63.93, 103.93°)
OKLaboklab(92.96% -0.0462 0.1441)
OKLCHoklch(92.96% 0.151 107.8)
XYZxyz(70.2468, 81.7163, 26.5375)
Luminance0.8171 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EF6D #6D70F2
analogous
#F2AD6D #F2EF6D #B3F26D
triadic
#F2EF6D #6DF2EF #EF6DF2
tetradic
#F2EF6D #6DF2AD #6D70F2 #F26DB3
square
#F2EF6D #6DF2AD #6D70F2 #F26DB3
split-complementary
#F2EF6D #6DB3F2 #AD6DF2
monochromatic
#D2CE13 #EDE935 #F2EF6D #F7F5A5 #FCFBDD

Accessibility & contrast

On white

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

On black

17.34
#F2EF6D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EF6D
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EF6D#FFFFFF#000000##000000
##F2EF6D1.001.2117.3417.34
#FFFFFF1.211.0021.0021.00
#00000017.3421.001.001.00
##00000017.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE760
Deuteranopia (green-blind)
#FFEC74
Tritanopia (blue-blind)
#FFE1D2
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f2ef6d;
/* rgb */ color: rgb(242, 239, 109);
/* oklch */ color: oklch(93.0% 0.151 107.8);
Tailwind
colors: {
  custom: {
    50: '#f9f49b',
    500: '#f2ef6d',
    950: '#000000',
  },
}
SCSS
$custom: #f2ef6d;
$custom-light: #f9f49b;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ef6d",
  "rgb": {
    "r": 242,
    "g": 239,
    "b": 109
  },
  "hsl": {
    "h": 58.647,
    "s": 83.648,
    "l": 68.824
  },
  "oklch": {
    "l": 0.92958,
    "c": 0.15132,
    "h": 107.8
  },
  "luminance": 0.81714
}

Semantic roles & 50–950 ramp

primary
#F2EF6D
secondary
#383BCB
accent
#0AE005
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F2EF6D

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

Preview Lab → · Contrast checker → · Palette generator →

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