#F1DB8A#F1DB8A

#F1DB8A is a very light, moderate yellow. Relative luminance 0.712; OKLCH L 89.2% C 0.104 H 94.7°. Best body text is #000000 at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#F1DB8A
RGBrgb(241, 219, 138)
HSLhsl(47, 79%, 74%)
HSVhsv(47, 43%, 95%)
CMYKcmyk(0%, 9.1%, 42.7%, 5.5%)
CIE-LABlab(87.58, -3.27, 42.51)
CIE-LCHlch(87.58, 42.64, 94.41°)
OKLaboklab(89.19% -0.0085 0.1034)
OKLCHoklch(89.19% 0.104 94.7)
XYZxyz(66.1963, 71.2012, 34.2961)
Luminance0.7120 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1DB8A #8AA0F1
analogous
#F1A88A #F1DB8A #D4F18A
triadic
#F1DB8A #8AF1DB #DB8AF1
tetradic
#F1DB8A #8AF1A8 #8AA0F1 #F18AD4
square
#F1DB8A #8AF1A8 #8AA0F1 #F18AD4
split-complementary
#F1DB8A #8AD4F1 #A88AF1
monochromatic
#E4B91D #EACA53 #F1DB8A #F8ECC1 #FCF7E4

Accessibility & contrast

On white

1.38
#F1DB8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.24
#F1DB8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F1DB8A
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F1DB8A#FFFFFF#000000##000000
##F1DB8A1.001.3815.2415.24
#FFFFFF1.381.0021.0021.00
#00000015.2421.001.001.00
##00000015.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD784
Deuteranopia (green-blind)
#F0DF8D
Tritanopia (blue-blind)
#FFD0C7
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f1db8a;
/* rgb */ color: rgb(241, 219, 138);
/* oklch */ color: oklch(89.2% 0.104 94.7);
Tailwind
colors: {
  custom: {
    50: '#f7e6ad',
    500: '#f1db8a',
    950: '#000000',
  },
}
SCSS
$custom: #f1db8a;
$custom-light: #f7e6ad;
$custom-dark: #000000;
JSON
{
  "hex": "#f1db8a",
  "rgb": {
    "r": 241,
    "g": 219,
    "b": 138
  },
  "hsl": {
    "h": 47.184,
    "s": 78.626,
    "l": 74.314
  },
  "oklch": {
    "l": 0.89187,
    "c": 0.10377,
    "h": 94.7
  },
  "luminance": 0.71199
}

Semantic roles & 50–950 ramp

primary
#F1DB8A
secondary
#526CCD
accent
#37DB0B
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #F1DB8A

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

Preview Lab → · Contrast checker → · Palette generator →

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