#F2EB62#F2EB62

#F2EB62 is a very light, vivid yellow. Relative luminance 0.792; OKLCH L 92.0% C 0.156 H 106.3°. Best body text is #000000 at 16.84:1 contrast (WCAG AA passes).

Color values

HEX#F2EB62
RGBrgb(242, 235, 98)
HSLhsl(57, 85%, 67%)
HSVhsv(57, 60%, 95%)
CMYKcmyk(0%, 2.9%, 59.5%, 5.1%)
CIE-LABlab(91.31, -14.21, 65.53)
CIE-LCHlch(91.31, 67.05, 102.23°)
OKLaboklab(92.02% -0.044 0.1502)
OKLCHoklch(92.02% 0.156 106.3)
XYZxyz(68.5331, 79.1779, 23.2257)
Luminance0.7918 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EB62 #6269F2
analogous
#F2A362 #F2EB62 #B1F262
triadic
#F2EB62 #62F2EB #EB62F2
tetradic
#F2EB62 #62F2A3 #6269F2 #F262B1
square
#F2EB62 #62F2A3 #6269F2 #F262B1
split-complementary
#F2EB62 #62B1F2 #A362F2
monochromatic
#C9C011 #EDE429 #F2EB62 #F7F29B #FBF9D3

Accessibility & contrast

On white

1.25
#F2EB62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.84
#F2EB62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EB62
16.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EB62#FFFFFF#000000##000000
##F2EB621.001.2516.8416.84
#FFFFFF1.251.0021.0021.00
#00000016.8421.001.001.00
##00000016.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE352
Deuteranopia (green-blind)
#FFE96A
Tritanopia (blue-blind)
#FFDDCE
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f2eb62;
/* rgb */ color: rgb(242, 235, 98);
/* oklch */ color: oklch(92.0% 0.156 106.3);
Tailwind
colors: {
  custom: {
    50: '#f9f194',
    500: '#f2eb62',
    950: '#000000',
  },
}
SCSS
$custom: #f2eb62;
$custom-light: #f9f194;
$custom-dark: #000000;
JSON
{
  "hex": "#f2eb62",
  "rgb": {
    "r": 242,
    "g": 235,
    "b": 98
  },
  "hsl": {
    "h": 57.083,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.92023,
    "c": 0.15648,
    "h": 106.3
  },
  "luminance": 0.79176
}

Semantic roles & 50–950 ramp

primary
#F2EB62
secondary
#333AC6
accent
#0FE104
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160D
muted
#86857F

Preview Lab

Preview with #F2EB62

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

Preview Lab → · Contrast checker → · Palette generator →

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