#FFE38F#FFE38F

#FFE38F is a very light, moderate yellow. Relative luminance 0.782; OKLCH L 92.1% C 0.108 H 91.7°. Best body text is #000000 at 16.64:1 contrast (WCAG AA passes).

Color values

HEX#FFE38F
RGBrgb(255, 227, 143)
HSLhsl(45, 100%, 78%)
HSVhsv(45, 44%, 100%)
CMYKcmyk(0%, 11%, 43.9%, 0%)
CIE-LABlab(90.86, -1.33, 44.44)
CIE-LCHlch(90.86, 44.46, 91.72°)
OKLaboklab(92.09% -0.0031 0.1079)
OKLCHoklch(92.09% 0.108 91.7)
XYZxyz(73.6691, 78.1843, 37.1918)
Luminance0.7818 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE38F #8FABFF
analogous
#FFAB8F #FFE38F #E3FF8F
triadic
#FFE38F #8FFFE3 #E38FFF
tetradic
#FFE38F #8FFFAB #8FABFF #FF8FE3
square
#FFE38F #8FFFAB #8FABFF #FF8FE3
split-complementary
#FFE38F #8FE3FF #AB8FFF
monochromatic
#FFC415 #FFD452 #FFE38F #FFF2CC #FFF7E0

Accessibility & contrast

On white

1.26
#FFE38F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.64
#FFE38F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE38F
16.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE38F#FFFFFF#000000##000000
##FFE38F1.001.2616.6416.64
#FFFFFF1.261.0021.0021.00
#00000016.6421.001.001.00
##00000016.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4E088
Deuteranopia (green-blind)
#FBE892
Tritanopia (blue-blind)
#FFD7CE
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #ffe38f;
/* rgb */ color: rgb(255, 227, 143);
/* oklch */ color: oklch(92.1% 0.108 91.7);
Tailwind
colors: {
  custom: {
    50: '#ffebb1',
    500: '#ffe38f',
    950: '#000000',
  },
}
SCSS
$custom: #ffe38f;
$custom-light: #ffebb1;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe38f",
  "rgb": {
    "r": 255,
    "g": 227,
    "b": 143
  },
  "hsl": {
    "h": 45,
    "s": 100,
    "l": 78.039
  },
  "oklch": {
    "l": 0.92086,
    "c": 0.10797,
    "h": 91.7
  },
  "luminance": 0.78181
}

Semantic roles & 50–950 ramp

primary
#FFE38F
secondary
#5275E0
accent
#39E600
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#181611
muted
#868481

Preview Lab

Preview with #FFE38F

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

Preview Lab → · Contrast checker → · Palette generator →

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