#F3D97F#F3D97F

#F3D97F is a very light, moderate yellow. Relative luminance 0.702; OKLCH L 88.8% C 0.114 H 93.8°. Best body text is #000000 at 15.04:1 contrast (WCAG AA passes).

Color values

HEX#F3D97F
RGBrgb(243, 217, 127)
HSLhsl(47, 83%, 73%)
HSVhsv(47, 48%, 95%)
CMYKcmyk(0%, 10.7%, 47.7%, 4.7%)
CIE-LABlab(87.10, -2.52, 47.37)
CIE-LCHlch(87.10, 47.44, 93.05°)
OKLaboklab(88.8% -0.0074 0.1137)
OKLCHoklch(88.8% 0.114 93.8)
XYZxyz(65.6078, 70.2154, 30.1716)
Luminance0.7021 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F3D97F #7F99F3
analogous
#F39F7F #F3D97F #D3F37F
triadic
#F3D97F #7FF3D9 #D97FF3
tetradic
#F3D97F #7FF39F #7F99F3 #F37FD3
square
#F3D97F #7FF39F #7F99F3 #F37FD3
split-complementary
#F3D97F #7FD3F3 #9F7FF3
monochromatic
#E2B415 #EEC847 #F3D97F #F8EAB7 #FCF7E3

Accessibility & contrast

On white

1.40
#F3D97F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.04
#F3D97F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F3D97F
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F3D97F#FFFFFF#000000##000000
##F3D97F1.001.4015.0415.04
#FFFFFF1.401.0021.0021.00
#00000015.0421.001.001.00
##00000015.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD678
Deuteranopia (green-blind)
#F1DE82
Tritanopia (blue-blind)
#FFCCC3
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f3d97f;
/* rgb */ color: rgb(243, 217, 127);
/* oklch */ color: oklch(88.8% 0.114 93.8);
Tailwind
colors: {
  custom: {
    50: '#f9e4a6',
    500: '#f3d97f',
    950: '#000000',
  },
}
SCSS
$custom: #f3d97f;
$custom-light: #f9e4a6;
$custom-dark: #000000;
JSON
{
  "hex": "#f3d97f",
  "rgb": {
    "r": 243,
    "g": 217,
    "b": 127
  },
  "hsl": {
    "h": 46.552,
    "s": 82.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.888,
    "c": 0.1139,
    "h": 93.8
  },
  "luminance": 0.70213
}

Semantic roles & 50–950 ramp

primary
#F3D97F
secondary
#4866CE
accent
#37DF06
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18150F
muted
#868480

Preview Lab

Preview with #F3D97F

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

Preview Lab → · Contrast checker → · Palette generator →

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