#FFF276#FFF276

#FFF276 is a very light, vivid yellow. Relative luminance 0.861; OKLCH L 94.7% C 0.145 H 103.3°. Best body text is #000000 at 18.21:1 contrast (WCAG AA passes).

Color values

HEX#FFF276
RGBrgb(255, 242, 118)
HSLhsl(54, 100%, 73%)
HSVhsv(54, 54%, 100%)
CMYKcmyk(0%, 5.1%, 53.7%, 0%)
CIE-LABlab(94.34, -11.00, 60.49)
CIE-LCHlch(94.34, 61.49, 100.31°)
OKLaboklab(94.75% -0.0335 0.1415)
OKLCHoklch(94.75% 0.145 103.3)
XYZxyz(76.2645, 86.0749, 29.7328)
Luminance0.8607 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF276 #7683FF
analogous
#FFAE76 #FFF276 #C7FF76
triadic
#FFF276 #76FFF2 #F276FF
tetradic
#FFF276 #76FFAE #7683FF #FF76C7
square
#FFF276 #76FFAE #7683FF #FF76C7
split-complementary
#FFF276 #76C7FF #AE76FF
monochromatic
#FBE300 #FFEC39 #FFF276 #FFF8B3 #FFFCE0

Accessibility & contrast

On white

1.15
#FFF276 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.21
#FFF276 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF276
18.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF276#FFFFFF#000000##000000
##FFF2761.001.1518.2118.21
#FFFFFF1.151.0021.0021.00
#00000018.2121.001.001.00
##00000018.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB6A
Deuteranopia (green-blind)
#FFF27C
Tritanopia (blue-blind)
#FFE4D6
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fff276;
/* rgb */ color: rgb(255, 242, 118);
/* oklch */ color: oklch(94.7% 0.145 103.3);
Tailwind
colors: {
  custom: {
    50: '#fff6a1',
    500: '#fff276',
    950: '#000000',
  },
}
SCSS
$custom: #fff276;
$custom-light: #fff6a1;
$custom-dark: #000000;
JSON
{
  "hex": "#fff276",
  "rgb": {
    "r": 255,
    "g": 242,
    "b": 118
  },
  "hsl": {
    "h": 54.307,
    "s": 100,
    "l": 73.137
  },
  "oklch": {
    "l": 0.94745,
    "c": 0.14537,
    "h": 103.3
  },
  "luminance": 0.86072
}

Semantic roles & 50–950 ramp

primary
#FFF276
secondary
#3D4CDD
accent
#16E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FFF276

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

Preview Lab → · Contrast checker → · Palette generator →

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