#FFE140#FFE140

#FFE140 is a very light, vivid yellow. Relative luminance 0.755; OKLCH L 90.9% C 0.170 H 98.1°. Best body text is #000000 at 16.10:1 contrast (WCAG AA passes).

Color values

HEX#FFE140
RGBrgb(255, 225, 64)
HSLhsl(51, 100%, 63%)
HSVhsv(51, 75%, 100%)
CMYKcmyk(0%, 11.8%, 74.9%, 0%)
CIE-LABlab(89.62, -5.68, 77.05)
CIE-LCHlch(89.62, 77.26, 94.22°)
OKLaboklab(90.86% -0.024 0.1687)
OKLCHoklch(90.86% 0.17 98.1)
XYZxyz(69.0941, 75.4842, 15.7800)
Luminance0.7548 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE140 #405EFF
analogous
#FF8240 #FFE140 #BDFF40
triadic
#FFE140 #40FFE1 #E140FF
tetradic
#FFE140 #40FF82 #405EFF #FF40BD
square
#FFE140 #40FF82 #405EFF #FF40BD
split-complementary
#FFE140 #40BDFF #8240FF
monochromatic
#C5A600 #FFD703 #FFE140 #FFEB7D #FFF4BA

Accessibility & contrast

On white

1.30
#FFE140 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.10
#FFE140 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE140
16.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE140#FFFFFF#000000##000000
##FFE1401.001.3016.1016.10
#FFFFFF1.301.0021.0021.00
#00000016.1021.001.001.00
##00000016.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DB1F
Deuteranopia (green-blind)
#FFE64B
Tritanopia (blue-blind)
#FFD0C2
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #ffe140;
/* rgb */ color: rgb(255, 225, 64);
/* oklch */ color: oklch(90.9% 0.170 98.1);
Tailwind
colors: {
  custom: {
    50: '#ffea80',
    500: '#ffe140',
    950: '#000000',
  },
}
SCSS
$custom: #ffe140;
$custom-light: #ffea80;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe140",
  "rgb": {
    "r": 255,
    "g": 225,
    "b": 64
  },
  "hsl": {
    "h": 50.576,
    "s": 100,
    "l": 62.549
  },
  "oklch": {
    "l": 0.90862,
    "c": 0.17037,
    "h": 98.1
  },
  "luminance": 0.75481
}

Semantic roles & 50–950 ramp

primary
#FFE140
secondary
#223BC1
accent
#24E600
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#19160B
muted
#87847E

Preview Lab

Preview with #FFE140

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

Preview Lab → · Contrast checker → · Palette generator →

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