#F2EB79#F2EB79

#F2EB79 is a very light, vivid yellow. Relative luminance 0.797; OKLCH L 92.3% C 0.136 H 105.6°. Best body text is #000000 at 16.93:1 contrast (WCAG AA passes).

Color values

HEX#F2EB79
RGBrgb(242, 235, 121)
HSLhsl(57, 82%, 71%)
HSVhsv(57, 50%, 95%)
CMYKcmyk(0%, 2.9%, 50%, 5.1%)
CIE-LABlab(91.54, -12.47, 55.58)
CIE-LCHlch(91.54, 56.96, 102.65°)
OKLaboklab(92.27% -0.0367 0.1313)
OKLCHoklch(92.27% 0.136 105.6)
XYZxyz(69.7793, 79.6764, 29.7888)
Luminance0.7967 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EB79 #7980F2
analogous
#F2AE79 #F2EB79 #BCF279
triadic
#F2EB79 #79F2EB #EB79F2
tetradic
#F2EB79 #79F2AE #7980F2 #F279BC
square
#F2EB79 #79F2AE #7980F2 #F279BC
split-complementary
#F2EB79 #79BCF2 #AE79F2
monochromatic
#DBD015 #EDE341 #F2EB79 #F7F3B1 #FCFBE3

Accessibility & contrast

On white

1.24
#F2EB79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.93
#F2EB79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EB79
16.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EB79#FFFFFF#000000##000000
##F2EB791.001.2416.9316.93
#FFFFFF1.241.0021.0021.00
#00000016.9321.001.001.00
##00000016.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE46F
Deuteranopia (green-blind)
#FFE97F
Tritanopia (blue-blind)
#FFDED1
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f2eb79;
/* rgb */ color: rgb(242, 235, 121);
/* oklch */ color: oklch(92.3% 0.136 105.6);
Tailwind
colors: {
  custom: {
    50: '#f8f1a2',
    500: '#f2eb79',
    950: '#000000',
  },
}
SCSS
$custom: #f2eb79;
$custom-light: #f8f1a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f2eb79",
  "rgb": {
    "r": 242,
    "g": 235,
    "b": 121
  },
  "hsl": {
    "h": 56.529,
    "s": 82.313,
    "l": 71.176
  },
  "oklch": {
    "l": 0.92274,
    "c": 0.13631,
    "h": 105.6
  },
  "luminance": 0.79674
}

Semantic roles & 50–950 ramp

primary
#F2EB79
secondary
#434BCC
accent
#13DF07
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #F2EB79

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

Preview Lab → · Contrast checker → · Palette generator →

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