#F3EC5F#F3EC5F

#F3EC5F is a very light, vivid yellow. Relative luminance 0.799; OKLCH L 92.3% C 0.160 H 106.4°. Best body text is #000000 at 16.97:1 contrast (WCAG AA passes).

Color values

HEX#F3EC5F
RGBrgb(243, 236, 95)
HSLhsl(57, 86%, 66%)
HSVhsv(57, 61%, 95%)
CMYKcmyk(0%, 2.9%, 60.9%, 4.7%)
CIE-LABlab(91.63, -14.49, 67.14)
CIE-LCHlch(91.63, 68.69, 102.18°)
OKLaboklab(92.28% -0.0452 0.1532)
OKLCHoklch(92.28% 0.16 106.4)
XYZxyz(69.0255, 79.8741, 22.6055)
Luminance0.7987 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F3EC5F #5F66F3
analogous
#F3A25F #F3EC5F #B0F35F
triadic
#F3EC5F #5FF3EC #EC5FF3
tetradic
#F3EC5F #5FF3A2 #5F66F3 #F35FB0
square
#F3EC5F #5FF3A2 #5F66F3 #F35FB0
split-complementary
#F3EC5F #5FB0F3 #A25FF3
monochromatic
#C9C00F #EFE526 #F3EC5F #F7F398 #FCFAD1

Accessibility & contrast

On white

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

On black

16.97
#F3EC5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F3EC5F
16.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F3EC5F#FFFFFF#000000##000000
##F3EC5F1.001.2416.9716.97
#FFFFFF1.241.0021.0021.00
#00000016.9721.001.001.00
##00000016.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE44E
Deuteranopia (green-blind)
#FFEA67
Tritanopia (blue-blind)
#FFDECE
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f3ec5f;
/* rgb */ color: rgb(243, 236, 95);
/* oklch */ color: oklch(92.3% 0.160 106.4);
Tailwind
colors: {
  custom: {
    50: '#faf192',
    500: '#f3ec5f',
    950: '#000000',
  },
}
SCSS
$custom: #f3ec5f;
$custom-light: #faf192;
$custom-dark: #000000;
JSON
{
  "hex": "#f3ec5f",
  "rgb": {
    "r": 243,
    "g": 236,
    "b": 95
  },
  "hsl": {
    "h": 57.162,
    "s": 86.047,
    "l": 66.275
  },
  "oklch": {
    "l": 0.92284,
    "c": 0.15969,
    "h": 106.4
  },
  "luminance": 0.79872
}

Semantic roles & 50–950 ramp

primary
#F3EC5F
secondary
#3138C5
accent
#0EE303
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #F3EC5F

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

Preview Lab → · Contrast checker → · Palette generator →

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