#F2E679#F2E679

#F2E679 is a very light, vivid yellow. Relative luminance 0.769; OKLCH L 91.3% C 0.131 H 103.0°. Best body text is #000000 at 16.37:1 contrast (WCAG AA passes).

Color values

HEX#F2E679
RGBrgb(242, 230, 121)
HSLhsl(54, 82%, 71%)
HSVhsv(54, 50%, 95%)
CMYKcmyk(0%, 5%, 50%, 5.1%)
CIE-LABlab(90.25, -10.00, 54.05)
CIE-LCHlch(90.25, 54.96, 100.48°)
OKLaboklab(91.25% -0.0296 0.1279)
OKLCHoklch(91.25% 0.131 103)
XYZxyz(68.3679, 76.8536, 29.3183)
Luminance0.7685 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E679 #7985F2
analogous
#F2A979 #F2E679 #C1F279
triadic
#F2E679 #79F2E6 #E679F2
tetradic
#F2E679 #79F2A9 #7985F2 #F279C1
square
#F2E679 #79F2A9 #7985F2 #F279C1
split-complementary
#F2E679 #79C1F2 #A979F2
monochromatic
#DBC815 #EDDC41 #F2E679 #F7F0B1 #FCFAE3

Accessibility & contrast

On white

1.28
#F2E679 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.37
#F2E679 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E679
16.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E679#FFFFFF#000000##000000
##F2E6791.001.2816.3716.37
#FFFFFF1.281.0021.0021.00
#00000016.3721.001.001.00
##00000016.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E06F
Deuteranopia (green-blind)
#FBE67E
Tritanopia (blue-blind)
#FFD9CD
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f2e679;
/* rgb */ color: rgb(242, 230, 121);
/* oklch */ color: oklch(91.3% 0.131 103.0);
Tailwind
colors: {
  custom: {
    50: '#f8eda2',
    500: '#f2e679',
    950: '#000000',
  },
}
SCSS
$custom: #f2e679;
$custom-light: #f8eda2;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e679",
  "rgb": {
    "r": 242,
    "g": 230,
    "b": 121
  },
  "hsl": {
    "h": 54.05,
    "s": 82.313,
    "l": 71.176
  },
  "oklch": {
    "l": 0.91253,
    "c": 0.13131,
    "h": 103
  },
  "luminance": 0.76851
}

Semantic roles & 50–950 ramp

primary
#F2E679
secondary
#4350CC
accent
#1CDF07
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F2E679

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

Preview Lab → · Contrast checker → · Palette generator →

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