#FFF38E#FFF38E

#FFF38E is a very light, vivid yellow. Relative luminance 0.873; OKLCH L 95.3% C 0.123 H 102.5°. Best body text is #000000 at 18.46:1 contrast (WCAG AA passes).

Color values

HEX#FFF38E
RGBrgb(255, 243, 142)
HSLhsl(54, 100%, 78%)
HSVhsv(54, 44%, 100%)
CMYKcmyk(0%, 4.7%, 44.3%, 0%)
CIE-LABlab(94.87, -9.43, 49.95)
CIE-LCHlch(94.87, 50.83, 100.69°)
OKLaboklab(95.25% -0.0266 0.1203)
OKLCHoklch(95.25% 0.123 102.5)
XYZxyz(78.1749, 87.3165, 38.3217)
Luminance0.8731 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF38E #8E9AFF
analogous
#FFBA8E #FFF38E #D3FF8E
triadic
#FFF38E #8EFFF3 #F38EFF
tetradic
#FFF38E #8EFFBA #8E9AFF #FF8ED3
square
#FFF38E #8EFFBA #8E9AFF #FF8ED3
split-complementary
#FFF38E #8ED3FF #BA8EFF
monochromatic
#FFE614 #FFEC51 #FFF38E #FFF9CB #FFFCE0

Accessibility & contrast

On white

1.14
#FFF38E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.46
#FFF38E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF38E
18.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF38E#FFFFFF#000000##000000
##FFF38E1.001.1418.4618.46
#FFFFFF1.141.0021.0021.00
#00000018.4621.001.001.00
##00000018.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED86
Deuteranopia (green-blind)
#FFF392
Tritanopia (blue-blind)
#FFE7DB
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fff38e;
/* rgb */ color: rgb(255, 243, 142);
/* oklch */ color: oklch(95.3% 0.123 102.5);
Tailwind
colors: {
  custom: {
    50: '#fff6b1',
    500: '#fff38e',
    950: '#000000',
  },
}
SCSS
$custom: #fff38e;
$custom-light: #fff6b1;
$custom-dark: #000000;
JSON
{
  "hex": "#fff38e",
  "rgb": {
    "r": 255,
    "g": 243,
    "b": 142
  },
  "hsl": {
    "h": 53.628,
    "s": 100,
    "l": 77.843
  },
  "oklch": {
    "l": 0.95253,
    "c": 0.12318,
    "h": 102.5
  },
  "luminance": 0.87314
}

Semantic roles & 50–950 ramp

primary
#FFF38E
secondary
#5160E0
accent
#18E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FFF38E

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

Preview Lab → · Contrast checker → · Palette generator →

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