#F1EA5F#F1EA5F

#F1EA5F is a very light, vivid yellow. Relative luminance 0.784; OKLCH L 91.7% C 0.158 H 106.4°. Best body text is #000000 at 16.67:1 contrast (WCAG AA passes).

Color values

HEX#F1EA5F
RGBrgb(241, 234, 95)
HSLhsl(57, 84%, 66%)
HSVhsv(57, 61%, 95%)
CMYKcmyk(0%, 2.9%, 60.6%, 5.5%)
CIE-LABlab(90.95, -14.32, 66.36)
CIE-LCHlch(90.95, 67.89, 102.17°)
OKLaboklab(91.71% -0.0446 0.1516)
OKLCHoklch(91.71% 0.158 106.4)
XYZxyz(67.7663, 78.3748, 22.3824)
Luminance0.7837 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1EA5F #5F66F1
analogous
#F1A15F #F1EA5F #AFF15F
triadic
#F1EA5F #5FF1EA #EA5FF1
tetradic
#F1EA5F #5FF1A1 #5F66F1 #F15FAF
square
#F1EA5F #5FF1A1 #5F66F1 #F15FAF
split-complementary
#F1EA5F #5FAFF1 #A15FF1
monochromatic
#C4BC11 #ECE327 #F1EA5F #F6F197 #FBF9D0

Accessibility & contrast

On white

1.26
#F1EA5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.67
#F1EA5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F1EA5F
16.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F1EA5F#FFFFFF#000000##000000
##F1EA5F1.001.2616.6716.67
#FFFFFF1.261.0021.0021.00
#00000016.6721.001.001.00
##00000016.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE24F
Deuteranopia (green-blind)
#FFE867
Tritanopia (blue-blind)
#FFDCCD
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f1ea5f;
/* rgb */ color: rgb(241, 234, 95);
/* oklch */ color: oklch(91.7% 0.158 106.4);
Tailwind
colors: {
  custom: {
    50: '#f9f092',
    500: '#f1ea5f',
    950: '#000000',
  },
}
SCSS
$custom: #f1ea5f;
$custom-light: #f9f092;
$custom-dark: #000000;
JSON
{
  "hex": "#f1ea5f",
  "rgb": {
    "r": 241,
    "g": 234,
    "b": 95
  },
  "hsl": {
    "h": 57.123,
    "s": 83.908,
    "l": 65.882
  },
  "oklch": {
    "l": 0.91705,
    "c": 0.15799,
    "h": 106.4
  },
  "luminance": 0.78373
}

Semantic roles & 50–950 ramp

primary
#F1EA5F
secondary
#3239C2
accent
#10E005
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #F1EA5F

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

Preview Lab → · Contrast checker → · Palette generator →

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