#FFE38C#FFE38C

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

Color values

HEX#FFE38C
RGBrgb(255, 227, 140)
HSLhsl(45, 100%, 77%)
HSVhsv(45, 45%, 100%)
CMYKcmyk(0%, 11%, 45.1%, 0%)
CIE-LABlab(90.82, -1.62, 45.87)
CIE-LCHlch(90.82, 45.90, 92.03°)
OKLaboklab(92.04% -0.0042 0.111)
OKLCHoklch(92.04% 0.111 92.2)
XYZxyz(73.4449, 78.0946, 36.0109)
Luminance0.7809 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE38C #8CA8FF
analogous
#FFA98C #FFE38C #E2FF8C
triadic
#FFE38C #8CFFE3 #E38CFF
tetradic
#FFE38C #8CFFA9 #8CA8FF #FF8CE2
square
#FFE38C #8CFFA9 #8CA8FF #FF8CE2
split-complementary
#FFE38C #8CE2FF #A98CFF
monochromatic
#FFC512 #FFD44F #FFE38C #FFF2C9 #FFF8E0

Accessibility & contrast

On white

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

On black

16.62
#FFE38C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE38C
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE38C#FFFFFF#000000##000000
##FFE38C1.001.2616.6216.62
#FFFFFF1.261.0021.0021.00
#00000016.6221.001.001.00
##00000016.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ffe38c;
/* rgb */ color: rgb(255, 227, 140);
/* oklch */ color: oklch(92.0% 0.111 92.2);
Tailwind
colors: {
  custom: {
    50: '#ffebaf',
    500: '#ffe38c',
    950: '#000000',
  },
}
SCSS
$custom: #ffe38c;
$custom-light: #ffebaf;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe38c",
  "rgb": {
    "r": 255,
    "g": 227,
    "b": 140
  },
  "hsl": {
    "h": 45.391,
    "s": 100,
    "l": 77.451
  },
  "oklch": {
    "l": 0.9204,
    "c": 0.11106,
    "h": 92.2
  },
  "luminance": 0.78092
}

Semantic roles & 50–950 ramp

primary
#FFE38C
secondary
#4F72E0
accent
#38E600
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #FFE38C

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

Preview Lab → · Contrast checker → · Palette generator →

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