#FFE38B#FFE38B

#FFE38B is a very light, moderate yellow. Relative luminance 0.781; OKLCH L 92.0% C 0.112 H 92.3°. Best body text is #000000 at 16.61:1 contrast (WCAG AA passes).

Color values

HEX#FFE38B
RGBrgb(255, 227, 139)
HSLhsl(46, 100%, 77%)
HSVhsv(46, 45%, 100%)
CMYKcmyk(0%, 11%, 45.5%, 0%)
CIE-LABlab(90.81, -1.72, 46.34)
CIE-LCHlch(90.81, 46.37, 92.12°)
OKLaboklab(92.03% -0.0046 0.112)
OKLCHoklch(92.03% 0.112 92.3)
XYZxyz(73.3715, 78.0652, 35.6244)
Luminance0.7806 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE38B #8BA7FF
analogous
#FFA98B #FFE38B #E1FF8B
triadic
#FFE38B #8BFFE3 #E38BFF
tetradic
#FFE38B #8BFFA9 #8BA7FF #FF8BE1
square
#FFE38B #8BFFA9 #8BA7FF #FF8BE1
split-complementary
#FFE38B #8BE1FF #A98BFF
monochromatic
#FFC511 #FFD44E #FFE38B #FFF2C8 #FFF8E0

Accessibility & contrast

On white

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

On black

16.61
#FFE38B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE38B
16.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE38B#FFFFFF#000000##000000
##FFE38B1.001.2616.6116.61
#FFFFFF1.261.0021.0021.00
#00000016.6121.001.001.00
##00000016.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4E084
Deuteranopia (green-blind)
#FCE88E
Tritanopia (blue-blind)
#FFD6CE
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #ffe38b;
/* rgb */ color: rgb(255, 227, 139);
/* oklch */ color: oklch(92.0% 0.112 92.3);
Tailwind
colors: {
  custom: {
    50: '#ffebae',
    500: '#ffe38b',
    950: '#000000',
  },
}
SCSS
$custom: #ffe38b;
$custom-light: #ffebae;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe38b",
  "rgb": {
    "r": 255,
    "g": 227,
    "b": 139
  },
  "hsl": {
    "h": 45.517,
    "s": 100,
    "l": 77.255
  },
  "oklch": {
    "l": 0.92025,
    "c": 0.11207,
    "h": 92.3
  },
  "luminance": 0.78062
}

Semantic roles & 50–950 ramp

primary
#FFE38B
secondary
#4E71E0
accent
#37E600
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #FFE38B

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

Preview Lab → · Contrast checker → · Palette generator →

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