#F3EC5C#F3EC5C

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

Color values

HEX#F3EC5C
RGBrgb(243, 236, 92)
HSLhsl(57, 86%, 66%)
HSVhsv(57, 62%, 95%)
CMYKcmyk(0%, 2.9%, 62.1%, 4.7%)
CIE-LABlab(91.60, -14.67, 68.34)
CIE-LCHlch(91.60, 69.90, 102.12°)
OKLaboklab(92.26% -0.046 0.1553)
OKLCHoklch(92.26% 0.162 106.5)
XYZxyz(68.8917, 79.8206, 21.9011)
Luminance0.7982 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F3EC5C #5C63F3
analogous
#F3A15C #F3EC5C #AEF35C
triadic
#F3EC5C #5CF3EC #EC5CF3
tetradic
#F3EC5C #5CF3A1 #5C63F3 #F35CAE
square
#F3EC5C #5CF3A1 #5C63F3 #F35CAE
split-complementary
#F3EC5C #5CAEF3 #A15CF3
monochromatic
#C6BE0F #EFE523 #F3EC5C #F7F395 #FBF9CE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F3EC5C#FFFFFF#000000##000000
##F3EC5C1.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)
#FFE44A
Deuteranopia (green-blind)
#FFEA65
Tritanopia (blue-blind)
#FFDDCE
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f3ec5c;
/* rgb */ color: rgb(243, 236, 92);
/* oklch */ color: oklch(92.3% 0.162 106.5);
Tailwind
colors: {
  custom: {
    50: '#faf190',
    500: '#f3ec5c',
    950: '#000000',
  },
}
SCSS
$custom: #f3ec5c;
$custom-light: #faf190;
$custom-dark: #000000;
JSON
{
  "hex": "#f3ec5c",
  "rgb": {
    "r": 243,
    "g": 236,
    "b": 92
  },
  "hsl": {
    "h": 57.219,
    "s": 86.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.92257,
    "c": 0.16197,
    "h": 106.5
  },
  "luminance": 0.79818
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F3EC5C

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

Preview Lab → · Contrast checker → · Palette generator →

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