#F3F397#F3F397

#F3F397 is a very light, moderate yellow. Relative luminance 0.854; OKLCH L 94.4% C 0.114 H 108.4°. Best body text is #000000 at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#F3F397
RGBrgb(243, 243, 151)
HSLhsl(60, 79%, 77%)
HSVhsv(60, 38%, 95%)
CMYKcmyk(0%, 0%, 37.9%, 4.7%)
CIE-LABlab(94.05, -13.15, 44.36)
CIE-LCHlch(94.05, 46.27, 106.51°)
OKLaboklab(94.41% -0.036 0.1083)
OKLCHoklch(94.41% 0.114 108.4)
XYZxyz(74.5996, 85.3917, 41.8246)
Luminance0.8539 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F3F397 #9797F3
analogous
#F3C597 #F3F397 #C5F397
triadic
#F3F397 #97F3F3 #F397F3
tetradic
#F3F397 #97F3C5 #9797F3 #F397C5
square
#F3F397 #97F3C5 #9797F3 #F397C5
split-complementary
#F3F397 #97C5F3 #C597F3
monochromatic
#E6E629 #EDED60 #F3F397 #F9F9CE #FCFCE4

Accessibility & contrast

On white

1.16
#F3F397 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.08
#F3F397 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F3F397
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F3F397#FFFFFF#000000##000000
##F3F3971.001.1618.0818.08
#FFFFFF1.161.0021.0021.00
#00000018.0821.001.001.00
##00000018.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC90
Deuteranopia (green-blind)
#FFF09B
Tritanopia (blue-blind)
#FFE8DC
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f3f397;
/* rgb */ color: rgb(243, 243, 151);
/* oklch */ color: oklch(94.4% 0.114 108.4);
Tailwind
colors: {
  custom: {
    50: '#f8f7b7',
    500: '#f3f397',
    950: '#000000',
  },
}
SCSS
$custom: #f3f397;
$custom-light: #f8f7b7;
$custom-dark: #000000;
JSON
{
  "hex": "#f3f397",
  "rgb": {
    "r": 243,
    "g": 243,
    "b": 151
  },
  "hsl": {
    "h": 60,
    "s": 79.31,
    "l": 77.255
  },
  "oklch": {
    "l": 0.94412,
    "c": 0.11408,
    "h": 108.4
  },
  "luminance": 0.8539
}

Semantic roles & 50–950 ramp

primary
#F3F397
secondary
#5D5DD1
accent
#0ADC0A
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #F3F397

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

Preview Lab → · Contrast checker → · Palette generator →

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