#F2EA34#F2EA34

#F2EA34 is a very light, vivid yellow. Relative luminance 0.780; OKLCH L 91.5% C 0.184 H 106.8°. Best body text is #000000 at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#F2EA34
RGBrgb(242, 234, 52)
HSLhsl(57, 88%, 58%)
HSVhsv(57, 79%, 95%)
CMYKcmyk(0%, 3.3%, 78.5%, 5.1%)
CIE-LABlab(90.77, -15.96, 81.28)
CIE-LCHlch(90.77, 82.83, 101.11°)
OKLaboklab(91.5% -0.0533 0.1761)
OKLCHoklch(91.5% 0.184 106.8)
XYZxyz(66.6634, 77.9733, 14.7870)
Luminance0.7797 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EA34 #343CF2
analogous
#F28B34 #F2EA34 #9BF234
triadic
#F2EA34 #34F2EA #EA34F2
tetradic
#F2EA34 #34F28B #343CF2 #F2349B
square
#F2EA34 #34F28B #343CF2 #F2349B
split-complementary
#F2EA34 #349BF2 #8B34F2
monochromatic
#A19B0A #DBD20E #F2EA34 #F6F06E #F9F6A7

Accessibility & contrast

On white

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

On black

16.59
#F2EA34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EA34
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EA34#FFFFFF#000000##000000
##F2EA341.001.2716.5916.59
#FFFFFF1.271.0021.0021.00
#00000016.5921.001.001.00
##00000016.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE100
Deuteranopia (green-blind)
#FFE844
Tritanopia (blue-blind)
#FFDAC9
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f2ea34;
/* rgb */ color: rgb(242, 234, 52);
/* oklch */ color: oklch(91.5% 0.184 106.8);
Tailwind
colors: {
  custom: {
    50: '#fbf07c',
    500: '#f2ea34',
    950: '#000000',
  },
}
SCSS
$custom: #f2ea34;
$custom-light: #fbf07c;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ea34",
  "rgb": {
    "r": 242,
    "g": 234,
    "b": 52
  },
  "hsl": {
    "h": 57.474,
    "s": 87.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.91495,
    "c": 0.18396,
    "h": 106.8
  },
  "luminance": 0.77971
}

Semantic roles & 50–950 ramp

primary
#F2EA34
secondary
#272CA3
accent
#33FE2A
background
#FFFFFB
surface
#FFFEF2
border
#D7D6CC
text
#18160B
muted
#86857E

Preview Lab

Preview with #F2EA34

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

Preview Lab → · Contrast checker → · Palette generator →

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