#F2EF6A#F2EF6A

#F2EF6A is a very light, vivid yellow. Relative luminance 0.817; OKLCH L 92.9% C 0.154 H 107.9°. Best body text is #000000 at 17.33:1 contrast (WCAG AA passes).

Color values

HEX#F2EF6A
RGBrgb(242, 239, 106)
HSLhsl(59, 84%, 68%)
HSVhsv(59, 56%, 95%)
CMYKcmyk(0%, 1.2%, 56.2%, 5.1%)
CIE-LABlab(92.42, -15.61, 63.33)
CIE-LCHlch(92.42, 65.23, 103.85°)
OKLaboklab(92.93% -0.0472 0.1465)
OKLCHoklch(92.93% 0.154 107.9)
XYZxyz(70.0880, 81.6528, 25.7014)
Luminance0.8165 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EF6A #6A6DF2
analogous
#F2AB6A #F2EF6A #B1F26A
triadic
#F2EF6A #6AF2EF #EF6AF2
tetradic
#F2EF6A #6AF2AB #6A6DF2 #F26AB1
square
#F2EF6A #6AF2AB #6A6DF2 #F26AB1
split-complementary
#F2EF6A #6AB1F2 #AB6AF2
monochromatic
#CFCB12 #EDE932 #F2EF6A #F7F5A2 #FCFBDB

Accessibility & contrast

On white

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

On black

17.33
#F2EF6A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EF6A
17.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EF6A#FFFFFF#000000##000000
##F2EF6A1.001.2117.3317.33
#FFFFFF1.211.0021.0021.00
#00000017.3321.001.001.00
##00000017.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2ef6a;
/* rgb */ color: rgb(242, 239, 106);
/* oklch */ color: oklch(92.9% 0.154 107.9);
Tailwind
colors: {
  custom: {
    50: '#f9f499',
    500: '#f2ef6a',
    950: '#000000',
  },
}
SCSS
$custom: #f2ef6a;
$custom-light: #f9f499;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ef6a",
  "rgb": {
    "r": 242,
    "g": 239,
    "b": 106
  },
  "hsl": {
    "h": 58.676,
    "s": 83.951,
    "l": 68.235
  },
  "oklch": {
    "l": 0.92927,
    "c": 0.15388,
    "h": 107.9
  },
  "luminance": 0.81651
}

Semantic roles & 50–950 ramp

primary
#F2EF6A
secondary
#3639CB
accent
#0AE005
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F2EF6A

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

Preview Lab → · Contrast checker → · Palette generator →

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