#F2E362#F2E362

#F2E362 is a very light, vivid yellow. Relative luminance 0.747; OKLCH L 90.4% C 0.149 H 102.7°. Best body text is #000000 at 15.94:1 contrast (WCAG AA passes).

Color values

HEX#F2E362
RGBrgb(242, 227, 98)
HSLhsl(54, 85%, 67%)
HSVhsv(54, 60%, 95%)
CMYKcmyk(0%, 6.2%, 59.5%, 5.1%)
CIE-LABlab(89.25, -10.25, 63.26)
CIE-LCHlch(89.25, 64.09, 99.21°)
OKLaboklab(90.38% -0.0328 0.1454)
OKLCHoklch(90.38% 0.149 102.7)
XYZxyz(66.2940, 74.6998, 22.4793)
Luminance0.7470 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E362 #6271F2
analogous
#F29B62 #F2E362 #B9F262
triadic
#F2E362 #62F2E3 #E362F2
tetradic
#F2E362 #62F29B #6271F2 #F262B9
square
#F2E362 #62F29B #6271F2 #F262B9
split-complementary
#F2E362 #62B9F2 #9B62F2
monochromatic
#C9B611 #EDD929 #F2E362 #F7ED9B #FBF7D3

Accessibility & contrast

On white

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

On black

15.94
#F2E362 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E362
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E362#FFFFFF#000000##000000
##F2E3621.001.3215.9415.94
#FFFFFF1.321.0021.0021.00
#00000015.9421.001.001.00
##00000015.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DC54
Deuteranopia (green-blind)
#FAE369
Tritanopia (blue-blind)
#FFD5C7
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f2e362;
/* rgb */ color: rgb(242, 227, 98);
/* oklch */ color: oklch(90.4% 0.149 102.7);
Tailwind
colors: {
  custom: {
    50: '#f9eb93',
    500: '#f2e362',
    950: '#000000',
  },
}
SCSS
$custom: #f2e362;
$custom-light: #f9eb93;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e362",
  "rgb": {
    "r": 242,
    "g": 227,
    "b": 98
  },
  "hsl": {
    "h": 53.75,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.90382,
    "c": 0.149,
    "h": 102.7
  },
  "luminance": 0.74697
}

Semantic roles & 50–950 ramp

primary
#F2E362
secondary
#3342C6
accent
#1BE104
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F2E362

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

Preview Lab → · Contrast checker → · Palette generator →

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