#F3EC5B#F3EC5B

#F3EC5B is a very light, vivid yellow. Relative luminance 0.798; OKLCH L 92.2% C 0.163 H 106.5°. Best body text is #000000 at 16.96:1 contrast (WCAG AA passes).

Color values

HEX#F3EC5B
RGBrgb(243, 236, 91)
HSLhsl(57, 86%, 65%)
HSVhsv(57, 63%, 95%)
CMYKcmyk(0%, 2.9%, 62.6%, 4.7%)
CIE-LABlab(91.60, -14.73, 68.74)
CIE-LCHlch(91.60, 70.30, 102.10°)
OKLaboklab(92.25% -0.0463 0.156)
OKLCHoklch(92.25% 0.163 106.5)
XYZxyz(68.8483, 79.8032, 21.6724)
Luminance0.7980 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F3EC5B #5B62F3
analogous
#F3A05B #F3EC5B #AEF35B
triadic
#F3EC5B #5BF3EC #EC5BF3
tetradic
#F3EC5B #5BF3A0 #5B62F3 #F35BAE
square
#F3EC5B #5BF3A0 #5B62F3 #F35BAE
split-complementary
#F3EC5B #5BAEF3 #A05BF3
monochromatic
#C5BD0E #EFE522 #F3EC5B #F7F394 #FBF9CD

Accessibility & contrast

On white

1.24
#F3EC5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.96
#F3EC5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F3EC5B
16.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F3EC5B#FFFFFF#000000##000000
##F3EC5B1.001.2416.9616.96
#FFFFFF1.241.0021.0021.00
#00000016.9621.001.001.00
##00000016.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE449
Deuteranopia (green-blind)
#FFEA64
Tritanopia (blue-blind)
#FFDDCE
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f3ec5b;
/* rgb */ color: rgb(243, 236, 91);
/* oklch */ color: oklch(92.2% 0.163 106.5);
Tailwind
colors: {
  custom: {
    50: '#faf190',
    500: '#f3ec5b',
    950: '#000000',
  },
}
SCSS
$custom: #f3ec5b;
$custom-light: #faf190;
$custom-dark: #000000;
JSON
{
  "hex": "#f3ec5b",
  "rgb": {
    "r": 243,
    "g": 236,
    "b": 91
  },
  "hsl": {
    "h": 57.237,
    "s": 86.364,
    "l": 65.49
  },
  "oklch": {
    "l": 0.92248,
    "c": 0.16271,
    "h": 106.5
  },
  "luminance": 0.79801
}

Semantic roles & 50–950 ramp

primary
#F3EC5B
secondary
#3037C2
accent
#0DE303
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #F3EC5B

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

Preview Lab → · Contrast checker → · Palette generator →

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