#F3E97B#F3E97B

#F3E97B is a very light, vivid yellow. Relative luminance 0.788; OKLCH L 92.0% C 0.132 H 104.0°. Best body text is #000000 at 16.75:1 contrast (WCAG AA passes).

Color values

HEX#F3E97B
RGBrgb(243, 233, 123)
HSLhsl(55, 83%, 72%)
HSVhsv(55, 49%, 95%)
CMYKcmyk(0%, 4.1%, 49.4%, 4.7%)
CIE-LABlab(91.13, -10.92, 54.17)
CIE-LCHlch(91.13, 55.26, 101.39°)
OKLaboklab(91.97% -0.0321 0.1284)
OKLCHoklch(91.97% 0.132 104)
XYZxyz(69.6781, 78.7647, 30.2678)
Luminance0.7876 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F3E97B #7B85F3
analogous
#F3AD7B #F3E97B #C1F37B
triadic
#F3E97B #7BF3E9 #E97BF3
tetradic
#F3E97B #7BF3AD #7B85F3 #F37BC1
square
#F3E97B #7BF3AD #7B85F3 #F37BC1
split-complementary
#F3E97B #7BC1F3 #AD7BF3
monochromatic
#DFCE14 #EEE043 #F3E97B #F8F2B3 #FCFAE3

Accessibility & contrast

On white

1.25
#F3E97B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.75
#F3E97B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F3E97B
16.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F3E97B#FFFFFF#000000##000000
##F3E97B1.001.2516.7516.75
#FFFFFF1.251.0021.0021.00
#00000016.7521.001.001.00
##00000016.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE271
Deuteranopia (green-blind)
#FDE880
Tritanopia (blue-blind)
#FFDCD0
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f3e97b;
/* rgb */ color: rgb(243, 233, 123);
/* oklch */ color: oklch(92.0% 0.132 104.0);
Tailwind
colors: {
  custom: {
    50: '#f9efa4',
    500: '#f3e97b',
    950: '#000000',
  },
}
SCSS
$custom: #f3e97b;
$custom-light: #f9efa4;
$custom-dark: #000000;
JSON
{
  "hex": "#f3e97b",
  "rgb": {
    "r": 243,
    "g": 233,
    "b": 123
  },
  "hsl": {
    "h": 55,
    "s": 83.333,
    "l": 71.765
  },
  "oklch": {
    "l": 0.91973,
    "c": 0.13232,
    "h": 104
  },
  "luminance": 0.78763
}

Semantic roles & 50–950 ramp

primary
#F3E97B
secondary
#4450CE
accent
#18E006
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #F3E97B

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

Preview Lab → · Contrast checker → · Palette generator →

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