#FFE27C#FFE27C

#FFE27C is a very light, vivid yellow. Relative luminance 0.771; OKLCH L 91.6% C 0.126 H 93.9°. Best body text is #000000 at 16.42:1 contrast (WCAG AA passes).

Color values

HEX#FFE27C
RGBrgb(255, 226, 124)
HSLhsl(47, 100%, 74%)
HSVhsv(47, 51%, 100%)
CMYKcmyk(0%, 11.4%, 51.4%, 0%)
CIE-LABlab(90.37, -2.55, 53.04)
CIE-LCHlch(90.37, 53.10, 92.75°)
OKLaboklab(91.62% -0.0085 0.1258)
OKLCHoklch(91.62% 0.126 93.9)
XYZxyz(72.0770, 77.1111, 30.1522)
Luminance0.7711 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE27C #7C99FF
analogous
#FFA17C #FFE27C #DAFF7C
triadic
#FFE27C #7CFFE2 #E27CFF
tetradic
#FFE27C #7CFFA1 #7C99FF #FF7CDA
square
#FFE27C #7CFFA1 #7C99FF #FF7CDA
split-complementary
#FFE27C #7CDAFF #A17CFF
monochromatic
#FFC702 #FFD43F #FFE27C #FFF0B9 #FFF8E0

Accessibility & contrast

On white

1.28
#FFE27C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.42
#FFE27C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE27C
16.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE27C#FFFFFF#000000##000000
##FFE27C1.001.2816.4216.42
#FFFFFF1.281.0021.0021.00
#00000016.4221.001.001.00
##00000016.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DE73
Deuteranopia (green-blind)
#FCE780
Tritanopia (blue-blind)
#FFD4CA
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ffe27c;
/* rgb */ color: rgb(255, 226, 124);
/* oklch */ color: oklch(91.6% 0.126 93.9);
Tailwind
colors: {
  custom: {
    50: '#ffeaa4',
    500: '#ffe27c',
    950: '#000000',
  },
}
SCSS
$custom: #ffe27c;
$custom-light: #ffeaa4;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe27c",
  "rgb": {
    "r": 255,
    "g": 226,
    "b": 124
  },
  "hsl": {
    "h": 46.718,
    "s": 100,
    "l": 74.314
  },
  "oklch": {
    "l": 0.91619,
    "c": 0.12607,
    "h": 93.9
  },
  "luminance": 0.77108
}

Semantic roles & 50–950 ramp

primary
#FFE27C
secondary
#4264DE
accent
#33E600
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #FFE27C

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

Preview Lab → · Contrast checker → · Palette generator →

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