#F2E682#F2E682

#F2E682 is a very light, vivid yellow. Relative luminance 0.771; OKLCH L 91.4% C 0.122 H 102.4°. Best body text is #000000 at 16.42:1 contrast (WCAG AA passes).

Color values

HEX#F2E682
RGBrgb(242, 230, 130)
HSLhsl(54, 81%, 73%)
HSVhsv(54, 46%, 95%)
CMYKcmyk(0%, 5%, 46.3%, 5.1%)
CIE-LABlab(90.36, -9.20, 49.91)
CIE-LCHlch(90.36, 50.75, 100.44°)
OKLaboklab(91.37% -0.0264 0.1195)
OKLCHoklch(91.37% 0.122 102.4)
XYZxyz(68.9457, 77.0847, 32.3618)
Luminance0.7708 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E682 #828EF2
analogous
#F2AE82 #F2E682 #C6F282
triadic
#F2E682 #82F2E6 #E682F2
tetradic
#F2E682 #82F2AE #828EF2 #F282C6
square
#F2E682 #82F2AE #828EF2 #F282C6
split-complementary
#F2E682 #82C6F2 #AE82F2
monochromatic
#E2CC18 #ECDB4B #F2E682 #F8F1B9 #FCF9E3

Accessibility & contrast

On white

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

On black

16.42
#F2E682 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E682
16.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E682#FFFFFF#000000##000000
##F2E6821.001.2816.4216.42
#FFFFFF1.281.0021.0021.00
#00000016.4221.001.001.00
##00000016.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E07A
Deuteranopia (green-blind)
#FAE686
Tritanopia (blue-blind)
#FFDACE
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f2e682;
/* rgb */ color: rgb(242, 230, 130);
/* oklch */ color: oklch(91.4% 0.122 102.4);
Tailwind
colors: {
  custom: {
    50: '#f8eda8',
    500: '#f2e682',
    950: '#000000',
  },
}
SCSS
$custom: #f2e682;
$custom-light: #f8eda8;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e682",
  "rgb": {
    "r": 242,
    "g": 230,
    "b": 130
  },
  "hsl": {
    "h": 53.571,
    "s": 81.159,
    "l": 72.941
  },
  "oklch": {
    "l": 0.91372,
    "c": 0.1224,
    "h": 102.4
  },
  "luminance": 0.77083
}

Semantic roles & 50–950 ramp

primary
#F2E682
secondary
#4B59CD
accent
#1FDE08
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#171610
muted
#858481

Preview Lab

Preview with #F2E682

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

Preview Lab → · Contrast checker → · Palette generator →

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