#F3EC8A#F3EC8A

#F3EC8A is a very light, vivid yellow. Relative luminance 0.809; OKLCH L 92.8% C 0.120 H 104.9°. Best body text is #000000 at 17.18:1 contrast (WCAG AA passes).

Color values

HEX#F3EC8A
RGBrgb(243, 236, 138)
HSLhsl(56, 81%, 75%)
HSVhsv(56, 43%, 95%)
CMYKcmyk(0%, 2.9%, 43.2%, 4.7%)
CIE-LABlab(92.08, -11.03, 48.20)
CIE-LCHlch(92.08, 49.44, 102.88°)
OKLaboklab(92.79% -0.031 0.1162)
OKLCHoklch(92.79% 0.12 104.9)
XYZxyz(71.5465, 80.8825, 35.8828)
Luminance0.8088 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F3EC8A #8A91F3
analogous
#F3B88A #F3EC8A #C6F38A
triadic
#F3EC8A #8AF3EC #EC8AF3
tetradic
#F3EC8A #8AF3B8 #8A91F3 #F38AC6
square
#F3EC8A #8AF3B8 #8A91F3 #F38AC6
split-complementary
#F3EC8A #8AC6F3 #B88AF3
monochromatic
#E8DA1B #EDE352 #F3EC8A #F9F5C2 #FCFAE3

Accessibility & contrast

On white

1.22
#F3EC8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.18
#F3EC8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F3EC8A
17.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F3EC8A#FFFFFF#000000##000000
##F3EC8A1.001.2217.1817.18
#FFFFFF1.221.0021.0021.00
#00000017.1821.001.001.00
##00000017.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE582
Deuteranopia (green-blind)
#FEEB8E
Tritanopia (blue-blind)
#FFE0D4
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f3ec8a;
/* rgb */ color: rgb(243, 236, 138);
/* oklch */ color: oklch(92.8% 0.120 104.9);
Tailwind
colors: {
  custom: {
    50: '#f9f2ae',
    500: '#f3ec8a',
    950: '#000000',
  },
}
SCSS
$custom: #f3ec8a;
$custom-light: #f9f2ae;
$custom-dark: #000000;
JSON
{
  "hex": "#f3ec8a",
  "rgb": {
    "r": 243,
    "g": 236,
    "b": 138
  },
  "hsl": {
    "h": 56,
    "s": 81.395,
    "l": 74.706
  },
  "oklch": {
    "l": 0.92788,
    "c": 0.12027,
    "h": 104.9
  },
  "luminance": 0.80881
}

Semantic roles & 50–950 ramp

primary
#F3EC8A
secondary
#525AD0
accent
#16DE08
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171610
muted
#858581

Preview Lab

Preview with #F3EC8A

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

Preview Lab → · Contrast checker → · Palette generator →

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