#F2E368#F2E368

#F2E368 is a very light, vivid yellow. Relative luminance 0.748; OKLCH L 90.4% C 0.144 H 102.4°. Best body text is #000000 at 15.96:1 contrast (WCAG AA passes).

Color values

HEX#F2E368
RGBrgb(242, 227, 104)
HSLhsl(53, 84%, 68%)
HSVhsv(53, 57%, 95%)
CMYKcmyk(0%, 6.2%, 57%, 5.1%)
CIE-LABlab(89.31, -9.84, 60.70)
CIE-LCHlch(89.31, 61.50, 99.20°)
OKLaboklab(90.44% -0.0309 0.1406)
OKLCHoklch(90.44% 0.144 102.4)
XYZxyz(66.5880, 74.8173, 24.0277)
Luminance0.7481 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E368 #6877F2
analogous
#F29E68 #F2E368 #BCF268
triadic
#F2E368 #68F2E3 #E368F2
tetradic
#F2E368 #68F29E #6877F2 #F268BC
square
#F2E368 #68F29E #6877F2 #F268BC
split-complementary
#F2E368 #68BCF2 #9E68F2
monochromatic
#CEB912 #EDD930 #F2E368 #F7EDA0 #FCF8D9

Accessibility & contrast

On white

1.32
#F2E368 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.96
#F2E368 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E368
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E368#FFFFFF#000000##000000
##F2E3681.001.3215.9615.96
#FFFFFF1.321.0021.0021.00
#00000015.9621.001.001.00
##00000015.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DD5B
Deuteranopia (green-blind)
#FAE36E
Tritanopia (blue-blind)
#FFD5C8
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f2e368;
/* rgb */ color: rgb(242, 227, 104);
/* oklch */ color: oklch(90.4% 0.144 102.4);
Tailwind
colors: {
  custom: {
    50: '#f9eb97',
    500: '#f2e368',
    950: '#000000',
  },
}
SCSS
$custom: #f2e368;
$custom-light: #f9eb97;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e368",
  "rgb": {
    "r": 242,
    "g": 227,
    "b": 104
  },
  "hsl": {
    "h": 53.478,
    "s": 84.146,
    "l": 67.843
  },
  "oklch": {
    "l": 0.90444,
    "c": 0.14398,
    "h": 102.4
  },
  "luminance": 0.74815
}

Semantic roles & 50–950 ramp

primary
#F2E368
secondary
#3445CA
accent
#1DE105
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F2E368

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

Preview Lab → · Contrast checker → · Palette generator →

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