#FFE270#FFE270

#FFE270 is a very light, vivid yellow. Relative luminance 0.768; OKLCH L 91.5% C 0.137 H 95.3°. Best body text is #000000 at 16.36:1 contrast (WCAG AA passes).

Color values

HEX#FFE270
RGBrgb(255, 226, 112)
HSLhsl(48, 100%, 72%)
HSVhsv(48, 56%, 100%)
CMYKcmyk(0%, 11.4%, 56.1%, 0%)
CIE-LABlab(90.24, -3.49, 58.47)
CIE-LCHlch(90.24, 58.57, 93.42°)
OKLaboklab(91.47% -0.0126 0.1364)
OKLCHoklch(91.47% 0.137 95.3)
XYZxyz(71.3638, 76.8258, 26.3960)
Luminance0.7682 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE270 #708DFF
analogous
#FF9B70 #FFE270 #D5FF70
triadic
#FFE270 #70FFE2 #E270FF
tetradic
#FFE270 #70FF9B #708DFF #FF70D5
square
#FFE270 #70FF9B #708DFF #FF70D5
split-complementary
#FFE270 #70D5FF #9B70FF
monochromatic
#F5C300 #FFD633 #FFE270 #FFEEAD #FFF9E0

Accessibility & contrast

On white

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

On black

16.36
#FFE270 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE270
16.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE270#FFFFFF#000000##000000
##FFE2701.001.2816.3616.36
#FFFFFF1.281.0021.0021.00
#00000016.3621.001.001.00
##00000016.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DE65
Deuteranopia (green-blind)
#FDE775
Tritanopia (blue-blind)
#FFD3C8
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ffe270;
/* rgb */ color: rgb(255, 226, 112);
/* oklch */ color: oklch(91.5% 0.137 95.3);
Tailwind
colors: {
  custom: {
    50: '#ffea9c',
    500: '#ffe270',
    950: '#000000',
  },
}
SCSS
$custom: #ffe270;
$custom-light: #ffea9c;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe270",
  "rgb": {
    "r": 255,
    "g": 226,
    "b": 112
  },
  "hsl": {
    "h": 47.832,
    "s": 100,
    "l": 71.961
  },
  "oklch": {
    "l": 0.91473,
    "c": 0.13702,
    "h": 95.3
  },
  "luminance": 0.76823
}

Semantic roles & 50–950 ramp

primary
#FFE270
secondary
#3759DC
accent
#2FE600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #FFE270

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

Preview Lab → · Contrast checker → · Palette generator →

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