#F2EB35#F2EB35

#F2EB35 is a very light, vivid yellow. Relative luminance 0.786; OKLCH L 91.7% C 0.184 H 107.2°. Best body text is #000000 at 16.71:1 contrast (WCAG AA passes).

Color values

HEX#F2EB35
RGBrgb(242, 235, 53)
HSLhsl(58, 88%, 58%)
HSVhsv(58, 78%, 95%)
CMYKcmyk(0%, 2.9%, 78.1%, 5.1%)
CIE-LABlab(91.03, -16.42, 81.24)
CIE-LCHlch(91.03, 82.88, 101.43°)
OKLaboklab(91.71% -0.0545 0.1762)
OKLCHoklch(91.71% 0.184 107.2)
XYZxyz(66.9717, 78.5534, 15.0020)
Luminance0.7855 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EB35 #353CF2
analogous
#F28D35 #F2EB35 #9AF235
triadic
#F2EB35 #35F2EB #EB35F2
tetradic
#F2EB35 #35F28D #353CF2 #F2359A
square
#F2EB35 #35F28D #353CF2 #F2359A
split-complementary
#F2EB35 #359AF2 #8D35F2
monochromatic
#A29D0A #DCD40E #F2EB35 #F6F16E #F9F6A8

Accessibility & contrast

On white

1.26
#F2EB35 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.71
#F2EB35 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EB35
16.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EB35#FFFFFF#000000##000000
##F2EB351.001.2616.7116.71
#FFFFFF1.261.0021.0021.00
#00000016.7121.001.001.00
##00000016.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE200
Deuteranopia (green-blind)
#FFE845
Tritanopia (blue-blind)
#FFDBCA
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f2eb35;
/* rgb */ color: rgb(242, 235, 53);
/* oklch */ color: oklch(91.7% 0.184 107.2);
Tailwind
colors: {
  custom: {
    50: '#fbf17c',
    500: '#f2eb35',
    950: '#000000',
  },
}
SCSS
$custom: #f2eb35;
$custom-light: #fbf17c;
$custom-dark: #000000;
JSON
{
  "hex": "#f2eb35",
  "rgb": {
    "r": 242,
    "g": 235,
    "b": 53
  },
  "hsl": {
    "h": 57.778,
    "s": 87.907,
    "l": 57.843
  },
  "oklch": {
    "l": 0.91707,
    "c": 0.1844,
    "h": 107.2
  },
  "luminance": 0.78551
}

Semantic roles & 50–950 ramp

primary
#F2EB35
secondary
#272CA4
accent
#32FE2A
background
#FFFFFB
surface
#FFFEF2
border
#D7D6CC
text
#18160B
muted
#86857E

Preview Lab

Preview with #F2EB35

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

Preview Lab → · Contrast checker → · Palette generator →

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