#F1D477#F1D477

#F1D477 is a very light, moderate yellow. Relative luminance 0.671; OKLCH L 87.5% C 0.118 H 92.5°. Best body text is #000000 at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#F1D477
RGBrgb(241, 212, 119)
HSLhsl(46, 81%, 71%)
HSVhsv(46, 51%, 95%)
CMYKcmyk(0%, 12%, 50.6%, 5.5%)
CIE-LABlab(85.57, -1.48, 49.34)
CIE-LCHlch(85.57, 49.36, 91.72°)
OKLaboklab(87.51% -0.0051 0.1174)
OKLCHoklch(87.51% 0.118 92.5)
XYZxyz(63.1511, 67.1225, 27.0787)
Luminance0.6712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1D477 #7794F1
analogous
#F19777 #F1D477 #D1F177
triadic
#F1D477 #77F1D4 #D477F1
tetradic
#F1D477 #77F197 #7794F1 #F177D1
square
#F1D477 #77F197 #7794F1 #F177D1
split-complementary
#F1D477 #77D1F1 #9777F1
monochromatic
#D7A916 #EBC240 #F1D477 #F7E6AE #FCF6E3

Accessibility & contrast

On white

1.46
#F1D477 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.42
#F1D477 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F1D477
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F1D477#FFFFFF#000000##000000
##F1D4771.001.4614.4214.42
#FFFFFF1.461.0021.0021.00
#00000014.4221.001.001.00
##00000014.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D16F
Deuteranopia (green-blind)
#EDDA7B
Tritanopia (blue-blind)
#FFC7BE
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #f1d477;
/* rgb */ color: rgb(241, 212, 119);
/* oklch */ color: oklch(87.5% 0.118 92.5);
Tailwind
colors: {
  custom: {
    50: '#f8e1a0',
    500: '#f1d477',
    950: '#000000',
  },
}
SCSS
$custom: #f1d477;
$custom-light: #f8e1a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f1d477",
  "rgb": {
    "r": 241,
    "g": 212,
    "b": 119
  },
  "hsl": {
    "h": 45.738,
    "s": 81.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.87513,
    "c": 0.11755,
    "h": 92.5
  },
  "luminance": 0.6712
}

Semantic roles & 50–950 ramp

primary
#F1D477
secondary
#4162CB
accent
#3BDE08
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F1D477

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

Preview Lab → · Contrast checker → · Palette generator →

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