#F2E867#F2E867

#F2E867 is a very light, vivid yellow. Relative luminance 0.776; OKLCH L 91.5% C 0.149 H 104.9°. Best body text is #000000 at 16.51:1 contrast (WCAG AA passes).

Color values

HEX#F2E867
RGBrgb(242, 232, 103)
HSLhsl(56, 84%, 68%)
HSVhsv(56, 57%, 95%)
CMYKcmyk(0%, 4.1%, 57.4%, 5.1%)
CIE-LABlab(90.58, -12.39, 62.58)
CIE-LCHlch(90.58, 63.79, 101.20°)
OKLaboklab(91.46% -0.0383 0.1445)
OKLCHoklch(91.46% 0.15 104.9)
XYZxyz(67.9250, 77.5720, 24.2242)
Luminance0.7757 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E867 #6771F2
analogous
#F2A267 #F2E867 #B7F267
triadic
#F2E867 #67F2E8 #E867F2
tetradic
#F2E867 #67F2A2 #6771F2 #F267B7
square
#F2E867 #67F2A2 #6771F2 #F267B7
split-complementary
#F2E867 #67B7F2 #A267F2
monochromatic
#CDC012 #EDDF2F #F2E867 #F7F19F #FCF9D8

Accessibility & contrast

On white

1.27
#F2E867 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.51
#F2E867 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E867
16.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E867#FFFFFF#000000##000000
##F2E8671.001.2716.5116.51
#FFFFFF1.271.0021.0021.00
#00000016.5121.001.001.00
##00000016.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE159
Deuteranopia (green-blind)
#FEE76E
Tritanopia (blue-blind)
#FFDACC
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f2e867;
/* rgb */ color: rgb(242, 232, 103);
/* oklch */ color: oklch(91.5% 0.149 104.9);
Tailwind
colors: {
  custom: {
    50: '#f9ef97',
    500: '#f2e867',
    950: '#000000',
  },
}
SCSS
$custom: #f2e867;
$custom-light: #f9ef97;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e867",
  "rgb": {
    "r": 242,
    "g": 232,
    "b": 103
  },
  "hsl": {
    "h": 55.683,
    "s": 84.242,
    "l": 67.647
  },
  "oklch": {
    "l": 0.91455,
    "c": 0.1495,
    "h": 104.9
  },
  "luminance": 0.7757
}

Semantic roles & 50–950 ramp

primary
#F2E867
secondary
#343FC9
accent
#15E105
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F2E867

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

Preview Lab → · Contrast checker → · Palette generator →

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