#F5EA7F#F5EA7F

#F5EA7F is a very light, vivid yellow. Relative luminance 0.798; OKLCH L 92.4% C 0.129 H 103.4°. Best body text is #000000 at 16.96:1 contrast (WCAG AA passes).

Color values

HEX#F5EA7F
RGBrgb(245, 234, 127)
HSLhsl(54, 86%, 73%)
HSVhsv(54, 48%, 96%)
CMYKcmyk(0%, 4.5%, 48.2%, 3.9%)
CIE-LABlab(91.59, -10.27, 52.89)
CIE-LCHlch(91.59, 53.88, 100.99°)
OKLaboklab(92.4% -0.0299 0.1259)
OKLCHoklch(92.4% 0.129 103.4)
XYZxyz(70.9116, 79.7926, 31.7407)
Luminance0.7979 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5EA7F #7F8AF5
analogous
#F5AF7F #F5EA7F #C5F57F
triadic
#F5EA7F #7FF5EA #EA7FF5
tetradic
#F5EA7F #7FF5AF #7F8AF5 #F57FC5
square
#F5EA7F #7FF5AF #7F8AF5 #F57FC5
split-complementary
#F5EA7F #7FC5F5 #AF7FF5
monochromatic
#E8D412 #F1E146 #F5EA7F #F9F3B8 #FDFAE3

Accessibility & contrast

On white

1.24
#F5EA7F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.96
#F5EA7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5EA7F
16.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5EA7F#FFFFFF#000000##000000
##F5EA7F1.001.2416.9616.96
#FFFFFF1.241.0021.0021.00
#00000016.9621.001.001.00
##00000016.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE476
Deuteranopia (green-blind)
#FEEA84
Tritanopia (blue-blind)
#FFDDD1
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f5ea7f;
/* rgb */ color: rgb(245, 234, 127);
/* oklch */ color: oklch(92.4% 0.129 103.4);
Tailwind
colors: {
  custom: {
    50: '#faf0a6',
    500: '#f5ea7f',
    950: '#000000',
  },
}
SCSS
$custom: #f5ea7f;
$custom-light: #faf0a6;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ea7f",
  "rgb": {
    "r": 245,
    "g": 234,
    "b": 127
  },
  "hsl": {
    "h": 54.407,
    "s": 85.507,
    "l": 72.941
  },
  "oklch": {
    "l": 0.92396,
    "c": 0.12936,
    "h": 103.4
  },
  "luminance": 0.7979
}

Semantic roles & 50–950 ramp

primary
#F5EA7F
secondary
#4754D1
accent
#18E203
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #F5EA7F

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

Preview Lab → · Contrast checker → · Palette generator →

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