#F3E787#F3E787

#F3E787 is a very light, moderate yellow. Relative luminance 0.780; OKLCH L 91.7% C 0.118 H 102.2°. Best body text is #000000 at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#F3E787
RGBrgb(243, 231, 135)
HSLhsl(53, 82%, 74%)
HSVhsv(53, 44%, 95%)
CMYKcmyk(0%, 4.9%, 44.4%, 4.7%)
CIE-LABlab(90.76, -8.83, 48.01)
CIE-LCHlch(90.76, 48.82, 100.42°)
OKLaboklab(91.73% -0.0249 0.1156)
OKLCHoklch(91.73% 0.118 102.2)
XYZxyz(69.9129, 77.9579, 34.2816)
Luminance0.7796 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F3E787 #8793F3
analogous
#F3B187 #F3E787 #C9F387
triadic
#F3E787 #87F3E7 #E787F3
tetradic
#F3E787 #87F3B1 #8793F3 #F387C9
square
#F3E787 #87F3B1 #8793F3 #F387C9
split-complementary
#F3E787 #87C9F3 #B187F3
monochromatic
#E8D118 #EDDC4F #F3E787 #F9F2BF #FCF9E3

Accessibility & contrast

On white

1.27
#F3E787 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.59
#F3E787 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F3E787
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F3E787#FFFFFF#000000##000000
##F3E7871.001.2716.5916.59
#FFFFFF1.271.0021.0021.00
#00000016.5921.001.001.00
##00000016.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E17F
Deuteranopia (green-blind)
#FBE78B
Tritanopia (blue-blind)
#FFDBD0
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f3e787;
/* rgb */ color: rgb(243, 231, 135);
/* oklch */ color: oklch(91.7% 0.118 102.2);
Tailwind
colors: {
  custom: {
    50: '#f9eeab',
    500: '#f3e787',
    950: '#000000',
  },
}
SCSS
$custom: #f3e787;
$custom-light: #f9eeab;
$custom-dark: #000000;
JSON
{
  "hex": "#f3e787",
  "rgb": {
    "r": 243,
    "g": 231,
    "b": 135
  },
  "hsl": {
    "h": 53.333,
    "s": 81.818,
    "l": 74.118
  },
  "oklch": {
    "l": 0.91729,
    "c": 0.11826,
    "h": 102.2
  },
  "luminance": 0.77956
}

Semantic roles & 50–950 ramp

primary
#F3E787
secondary
#4F5DCF
accent
#1FDE07
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171610
muted
#858581

Preview Lab

Preview with #F3E787

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

Preview Lab → · Contrast checker → · Palette generator →

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