#FFF262#FFF262

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

Color values

HEX#FFF262
RGBrgb(255, 242, 98)
HSLhsl(55, 100%, 69%)
HSVhsv(55, 62%, 100%)
CMYKcmyk(0%, 5.1%, 61.6%, 0%)
CIE-LABlab(94.16, -12.39, 68.91)
CIE-LCHlch(94.16, 70.02, 100.19°)
OKLaboklab(94.54% -0.0396 0.157)
OKLCHoklch(94.54% 0.162 104.2)
XYZxyz(75.1995, 85.6488, 24.1236)
Luminance0.8565 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF262 #626FFF
analogous
#FFA462 #FFF262 #BEFF62
triadic
#FFF262 #62FFF2 #F262FF
tetradic
#FFF262 #62FFA4 #626FFF #FF62BE
square
#FFF262 #62FFA4 #626FFF #FF62BE
split-complementary
#FFF262 #62BEFF #A462FF
monochromatic
#E7D400 #FFED25 #FFF262 #FFF79F #FFFCDC

Accessibility & contrast

On white

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

On black

18.13
#FFF262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF262
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF262#FFFFFF#000000##000000
##FFF2621.001.1618.1318.13
#FFFFFF1.161.0021.0021.00
#00000018.1321.001.001.00
##00000018.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fff262;
/* rgb */ color: rgb(255, 242, 98);
/* oklch */ color: oklch(94.5% 0.162 104.2);
Tailwind
colors: {
  custom: {
    50: '#fff694',
    500: '#fff262',
    950: '#000000',
  },
}
SCSS
$custom: #fff262;
$custom-light: #fff694;
$custom-dark: #000000;
JSON
{
  "hex": "#fff262",
  "rgb": {
    "r": 255,
    "g": 242,
    "b": 98
  },
  "hsl": {
    "h": 55.032,
    "s": 100,
    "l": 69.216
  },
  "oklch": {
    "l": 0.94541,
    "c": 0.16196,
    "h": 104.2
  },
  "luminance": 0.85646
}

Semantic roles & 50–950 ramp

primary
#FFF262
secondary
#2C3ADA
accent
#13E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#19170E
muted
#87857F

Preview Lab

Preview with #FFF262

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

Preview Lab → · Contrast checker → · Palette generator →

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