#F2EF6B#F2EF6B

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

Color values

HEX#F2EF6B
RGBrgb(242, 239, 107)
HSLhsl(59, 84%, 68%)
HSVhsv(59, 56%, 95%)
CMYKcmyk(0%, 1.2%, 55.8%, 5.1%)
CIE-LABlab(92.43, -15.54, 62.91)
CIE-LCHlch(92.43, 64.80, 103.88°)
OKLaboklab(92.94% -0.0469 0.1457)
OKLCHoklch(92.94% 0.153 107.8)
XYZxyz(70.1403, 81.6738, 25.9769)
Luminance0.8167 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EF6B #6B6EF2
analogous
#F2AB6B #F2EF6B #B1F26B
triadic
#F2EF6B #6BF2EF #EF6BF2
tetradic
#F2EF6B #6BF2AB #6B6EF2 #F26BB1
square
#F2EF6B #6BF2AB #6B6EF2 #F26BB1
split-complementary
#F2EF6B #6BB1F2 #AB6BF2
monochromatic
#D0CC12 #EDE933 #F2EF6B #F7F5A3 #FCFBDC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2EF6B#FFFFFF#000000##000000
##F2EF6B1.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)
#FFE65D
Deuteranopia (green-blind)
#FFEC72
Tritanopia (blue-blind)
#FFE1D2
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f2ef6b;
/* rgb */ color: rgb(242, 239, 107);
/* oklch */ color: oklch(92.9% 0.153 107.8);
Tailwind
colors: {
  custom: {
    50: '#f9f49a',
    500: '#f2ef6b',
    950: '#000000',
  },
}
SCSS
$custom: #f2ef6b;
$custom-light: #f9f49a;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ef6b",
  "rgb": {
    "r": 242,
    "g": 239,
    "b": 107
  },
  "hsl": {
    "h": 58.667,
    "s": 83.851,
    "l": 68.431
  },
  "oklch": {
    "l": 0.92937,
    "c": 0.15303,
    "h": 107.8
  },
  "luminance": 0.81672
}

Semantic roles & 50–950 ramp

primary
#F2EF6B
secondary
#363ACB
accent
#0AE005
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F2EF6B

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

Preview Lab → · Contrast checker → · Palette generator →

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