#FFE266#FFE266

#FFE266 is a very light, vivid yellow. Relative luminance 0.766; OKLCH L 91.4% C 0.145 H 96.2°. Best body text is #000000 at 16.32:1 contrast (WCAG AA passes).

Color values

HEX#FFE266
RGBrgb(255, 226, 102)
HSLhsl(49, 100%, 70%)
HSVhsv(49, 60%, 100%)
CMYKcmyk(0%, 11.4%, 60%, 0%)
CIE-LABlab(90.14, -4.19, 62.83)
CIE-LCHlch(90.14, 62.97, 93.82°)
OKLaboklab(91.37% -0.0157 0.1446)
OKLCHoklch(91.37% 0.145 96.2)
XYZxyz(70.8376, 76.6153, 23.6248)
Luminance0.7661 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE266 #6683FF
analogous
#FF9566 #FFE266 #D0FF66
triadic
#FFE266 #66FFE2 #E266FF
tetradic
#FFE266 #66FF95 #6683FF #FF66D0
square
#FFE266 #66FF95 #6683FF #FF66D0
split-complementary
#FFE266 #66D0FF #9566FF
monochromatic
#EBBE00 #FFD629 #FFE266 #FFEEA3 #FFF9E0

Accessibility & contrast

On white

1.29
#FFE266 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.32
#FFE266 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE266
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE266#FFFFFF#000000##000000
##FFE2661.001.2916.3216.32
#FFFFFF1.291.0021.0021.00
#00000016.3221.001.001.00
##00000016.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DD59
Deuteranopia (green-blind)
#FEE76C
Tritanopia (blue-blind)
#FFD3C7
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ffe266;
/* rgb */ color: rgb(255, 226, 102);
/* oklch */ color: oklch(91.4% 0.145 96.2);
Tailwind
colors: {
  custom: {
    50: '#ffea96',
    500: '#ffe266',
    950: '#000000',
  },
}
SCSS
$custom: #ffe266;
$custom-light: #ffea96;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe266",
  "rgb": {
    "r": 255,
    "g": 226,
    "b": 102
  },
  "hsl": {
    "h": 48.627,
    "s": 100,
    "l": 70
  },
  "oklch": {
    "l": 0.91365,
    "c": 0.14548,
    "h": 96.2
  },
  "luminance": 0.76612
}

Semantic roles & 50–950 ramp

primary
#FFE266
secondary
#2F4FDA
accent
#2CE600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#19160E
muted
#87847F

Preview Lab

Preview with #FFE266

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

Preview Lab → · Contrast checker → · Palette generator →

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