#F1D372#F1D372

#F1D372 is a very light, vivid yellow. Relative luminance 0.665; OKLCH L 87.2% C 0.122 H 92.6°. Best body text is #000000 at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#F1D372
RGBrgb(241, 211, 114)
HSLhsl(46, 82%, 70%)
HSVhsv(46, 53%, 95%)
CMYKcmyk(0%, 12.4%, 52.7%, 5.5%)
CIE-LABlab(85.25, -1.39, 51.37)
CIE-LCHlch(85.25, 51.39, 91.55°)
OKLaboklab(87.25% -0.0054 0.1215)
OKLCHoklch(87.25% 0.122 92.6)
XYZxyz(62.6095, 66.5071, 25.4556)
Luminance0.6650 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1D372 #7290F1
analogous
#F19472 #F1D372 #CFF172
triadic
#F1D372 #72F1D3 #D372F1
tetradic
#F1D372 #72F194 #7290F1 #F172CF
square
#F1D372 #72F194 #7290F1 #F172CF
split-complementary
#F1D372 #72CFF1 #9472F1
monochromatic
#D4A715 #EBC23A #F1D372 #F7E4AA #FCF6E1

Accessibility & contrast

On white

1.47
#F1D372 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.30
#F1D372 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F1D372
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F1D372#FFFFFF#000000##000000
##F1D3721.001.4714.3014.30
#FFFFFF1.471.0021.0021.00
#00000014.3021.001.001.00
##00000014.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D069
Deuteranopia (green-blind)
#EDD976
Tritanopia (blue-blind)
#FFC6BC
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #f1d372;
/* rgb */ color: rgb(241, 211, 114);
/* oklch */ color: oklch(87.2% 0.122 92.6);
Tailwind
colors: {
  custom: {
    50: '#f8e09d',
    500: '#f1d372',
    950: '#000000',
  },
}
SCSS
$custom: #f1d372;
$custom-light: #f8e09d;
$custom-dark: #000000;
JSON
{
  "hex": "#f1d372",
  "rgb": {
    "r": 241,
    "g": 211,
    "b": 114
  },
  "hsl": {
    "h": 45.827,
    "s": 81.935,
    "l": 69.608
  },
  "oklch": {
    "l": 0.87248,
    "c": 0.12159,
    "h": 92.6
  },
  "luminance": 0.66504
}

Semantic roles & 50–950 ramp

primary
#F1D372
secondary
#3D5ECA
accent
#3ADE07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F1D372

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

Preview Lab → · Contrast checker → · Palette generator →

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