#F2E35E#F2E35E

#F2E35E is a very light, vivid yellow. Relative luminance 0.746; OKLCH L 90.3% C 0.152 H 102.9°. Best body text is #000000 at 15.92:1 contrast (WCAG AA passes).

Color values

HEX#F2E35E
RGBrgb(242, 227, 94)
HSLhsl(54, 85%, 66%)
HSVhsv(54, 61%, 95%)
CMYKcmyk(0%, 6.2%, 61.2%, 5.1%)
CIE-LABlab(89.22, -10.51, 64.93)
CIE-LCHlch(89.22, 65.78, 99.20°)
OKLaboklab(90.34% -0.034 0.1484)
OKLCHoklch(90.34% 0.152 102.9)
XYZxyz(66.1099, 74.6261, 21.5094)
Luminance0.7462 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E35E #5E6DF2
analogous
#F2995E #F2E35E #B7F25E
triadic
#F2E35E #5EF2E3 #E35EF2
tetradic
#F2E35E #5EF299 #5E6DF2 #F25EB7
square
#F2E35E #5EF299 #5E6DF2 #F25EB7
split-complementary
#F2E35E #5EB7F2 #995EF2
monochromatic
#C6B310 #EDD925 #F2E35E #F7ED97 #FBF7CF

Accessibility & contrast

On white

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

On black

15.92
#F2E35E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E35E
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E35E#FFFFFF#000000##000000
##F2E35E1.001.3215.9215.92
#FFFFFF1.321.0021.0021.00
#00000015.9221.001.001.00
##00000015.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2e35e;
/* rgb */ color: rgb(242, 227, 94);
/* oklch */ color: oklch(90.3% 0.152 102.9);
Tailwind
colors: {
  custom: {
    50: '#f9eb91',
    500: '#f2e35e',
    950: '#000000',
  },
}
SCSS
$custom: #f2e35e;
$custom-light: #f9eb91;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e35e",
  "rgb": {
    "r": 242,
    "g": 227,
    "b": 94
  },
  "hsl": {
    "h": 53.919,
    "s": 85.057,
    "l": 65.882
  },
  "oklch": {
    "l": 0.90344,
    "c": 0.1522,
    "h": 102.9
  },
  "luminance": 0.74624
}

Semantic roles & 50–950 ramp

primary
#F2E35E
secondary
#3140C3
accent
#1AE204
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F2E35E

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

Preview Lab → · Contrast checker → · Palette generator →

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