#F4E45F#F4E45F

#F4E45F is a very light, vivid yellow. Relative luminance 0.755; OKLCH L 90.7% C 0.152 H 102.5°. Best body text is #000000 at 16.11:1 contrast (WCAG AA passes).

Color values

HEX#F4E45F
RGBrgb(244, 228, 95)
HSLhsl(54, 87%, 66%)
HSVhsv(54, 61%, 96%)
CMYKcmyk(0%, 6.6%, 61.1%, 4.3%)
CIE-LABlab(89.65, -10.13, 65.02)
CIE-LCHlch(89.65, 65.81, 98.86°)
OKLaboklab(90.73% -0.0329 0.1487)
OKLCHoklch(90.73% 0.152 102.5)
XYZxyz(67.1197, 75.5487, 21.8711)
Luminance0.7555 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4E45F #5F6FF4
analogous
#F49A5F #F4E45F #BAF45F
triadic
#F4E45F #5FF4E4 #E45FF4
tetradic
#F4E45F #5FF49A #5F6FF4 #F45FBA
square
#F4E45F #5FF49A #5F6FF4 #F45FBA
split-complementary
#F4E45F #5FBAF4 #9A5FF4
monochromatic
#CBB60E #F0DA26 #F4E45F #F8EE98 #FCF7D2

Accessibility & contrast

On white

1.30
#F4E45F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.11
#F4E45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4E45F
16.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4E45F#FFFFFF#000000##000000
##F4E45F1.001.3016.1116.11
#FFFFFF1.301.0021.0021.00
#00000016.1121.001.001.00
##00000016.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DD50
Deuteranopia (green-blind)
#FCE566
Tritanopia (blue-blind)
#FFD5C8
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f4e45f;
/* rgb */ color: rgb(244, 228, 95);
/* oklch */ color: oklch(90.7% 0.152 102.5);
Tailwind
colors: {
  custom: {
    50: '#fbec92',
    500: '#f4e45f',
    950: '#000000',
  },
}
SCSS
$custom: #f4e45f;
$custom-light: #fbec92;
$custom-dark: #000000;
JSON
{
  "hex": "#f4e45f",
  "rgb": {
    "r": 244,
    "g": 228,
    "b": 95
  },
  "hsl": {
    "h": 53.557,
    "s": 87.135,
    "l": 66.471
  },
  "oklch": {
    "l": 0.90729,
    "c": 0.15224,
    "h": 102.5
  },
  "luminance": 0.75546
}

Semantic roles & 50–950 ramp

primary
#F4E45F
secondary
#3040C7
accent
#1AE402
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F4E45F

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

Preview Lab → · Contrast checker → · Palette generator →

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