#F1E172#F1E172

#F1E172 is a very light, vivid yellow. Relative luminance 0.738; OKLCH L 90.1% C 0.133 H 101.2°. Best body text is #000000 at 15.75:1 contrast (WCAG AA passes).

Color values

HEX#F1E172
RGBrgb(241, 225, 114)
HSLhsl(52, 82%, 70%)
HSVhsv(52, 53%, 95%)
CMYKcmyk(0%, 6.6%, 52.7%, 5.5%)
CIE-LABlab(88.81, -8.48, 55.58)
CIE-LCHlch(88.81, 56.23, 98.67°)
OKLaboklab(90.06% -0.0259 0.1307)
OKLCHoklch(90.06% 0.133 101.2)
XYZxyz(66.2402, 73.7685, 26.6658)
Luminance0.7377 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1E172 #7282F1
analogous
#F1A272 #F1E172 #C2F172
triadic
#F1E172 #72F1E1 #E172F1
tetradic
#F1E172 #72F1A2 #7282F1 #F172C2
square
#F1E172 #72F1A2 #7282F1 #F172C2
split-complementary
#F1E172 #72C2F1 #A272F1
monochromatic
#D4BC15 #EBD53A #F1E172 #F7EDAA #FCF9E1

Accessibility & contrast

On white

1.33
#F1E172 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.75
#F1E172 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F1E172
15.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F1E172#FFFFFF#000000##000000
##F1E1721.001.3315.7515.75
#FFFFFF1.331.0021.0021.00
#00000015.7521.001.001.00
##00000015.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DB68
Deuteranopia (green-blind)
#F7E277
Tritanopia (blue-blind)
#FFD4C8
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f1e172;
/* rgb */ color: rgb(241, 225, 114);
/* oklch */ color: oklch(90.1% 0.133 101.2);
Tailwind
colors: {
  custom: {
    50: '#f8ea9d',
    500: '#f1e172',
    950: '#000000',
  },
}
SCSS
$custom: #f1e172;
$custom-light: #f8ea9d;
$custom-dark: #000000;
JSON
{
  "hex": "#f1e172",
  "rgb": {
    "r": 241,
    "g": 225,
    "b": 114
  },
  "hsl": {
    "h": 52.441,
    "s": 81.935,
    "l": 69.608
  },
  "oklch": {
    "l": 0.90064,
    "c": 0.1332,
    "h": 101.2
  },
  "luminance": 0.73766
}

Semantic roles & 50–950 ramp

primary
#F1E172
secondary
#3D4FCA
accent
#22DE07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F1E172

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

Preview Lab → · Contrast checker → · Palette generator →

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