#FEF269#FEF269

#FEF269 is a very light, vivid yellow. Relative luminance 0.856; OKLCH L 94.5% C 0.157 H 104.3°. Best body text is #000000 at 18.12:1 contrast (WCAG AA passes).

Color values

HEX#FEF269
RGBrgb(254, 242, 105)
HSLhsl(55, 99%, 70%)
HSVhsv(55, 59%, 100%)
CMYKcmyk(0%, 4.7%, 58.7%, 0.4%)
CIE-LABlab(94.14, -12.34, 65.94)
CIE-LCHlch(94.14, 67.08, 100.60°)
OKLaboklab(94.52% -0.0387 0.1517)
OKLCHoklch(94.52% 0.157 104.3)
XYZxyz(75.1776, 85.5976, 25.9238)
Luminance0.8559 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF269 #6975FE
analogous
#FEA869 #FEF269 #BFFE69
triadic
#FEF269 #69FEF2 #F269FE
tetradic
#FEF269 #69FEA8 #6975FE #FE69BF
square
#FEF269 #69FEA8 #6975FE #FE69BF
split-complementary
#FEF269 #69BFFE #A869FE
monochromatic
#EBD802 #FEED2C #FEF269 #FEF7A6 #FFFCE1

Accessibility & contrast

On white

1.16
#FEF269 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.12
#FEF269 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF269
18.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF269#FFFFFF#000000##000000
##FEF2691.001.1618.1218.12
#FFFFFF1.161.0021.0021.00
#00000018.1221.001.001.00
##00000018.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA5A
Deuteranopia (green-blind)
#FFF170
Tritanopia (blue-blind)
#FFE3D4
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fef269;
/* rgb */ color: rgb(254, 242, 105);
/* oklch */ color: oklch(94.5% 0.157 104.3);
Tailwind
colors: {
  custom: {
    50: '#fff699',
    500: '#fef269',
    950: '#000000',
  },
}
SCSS
$custom: #fef269;
$custom-light: #fff699;
$custom-dark: #000000;
JSON
{
  "hex": "#fef269",
  "rgb": {
    "r": 254,
    "g": 242,
    "b": 105
  },
  "hsl": {
    "h": 55.168,
    "s": 98.675,
    "l": 70.392
  },
  "oklch": {
    "l": 0.94523,
    "c": 0.15651,
    "h": 104.3
  },
  "luminance": 0.85595
}

Semantic roles & 50–950 ramp

primary
#FEF269
secondary
#323FD9
accent
#12E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FEF269

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

Preview Lab → · Contrast checker → · Palette generator →

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