#F4E17B#F4E17B

#F4E17B is a very light, vivid yellow. Relative luminance 0.745; OKLCH L 90.4% C 0.125 H 99.0°. Best body text is #000000 at 15.90:1 contrast (WCAG AA passes).

Color values

HEX#F4E17B
RGBrgb(244, 225, 123)
HSLhsl(51, 85%, 72%)
HSVhsv(51, 50%, 96%)
CMYKcmyk(0%, 7.8%, 49.6%, 4.3%)
CIE-LABlab(89.17, -6.52, 51.84)
CIE-LCHlch(89.17, 52.25, 97.17°)
OKLaboklab(90.44% -0.0195 0.1232)
OKLCHoklch(90.44% 0.125 99)
XYZxyz(67.8107, 74.5161, 29.5461)
Luminance0.7451 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4E17B #7B8EF4
analogous
#F4A57B #F4E17B #CAF47B
triadic
#F4E17B #7BF4E1 #E17BF4
tetradic
#F4E17B #7BF4A5 #7B8EF4 #F47BCA
square
#F4E17B #7BF4A5 #7B8EF4 #F47BCA
split-complementary
#F4E17B #7BCAF4 #A57BF4
monochromatic
#E2C113 #EFD443 #F4E17B #F9EEB3 #FDF9E3

Accessibility & contrast

On white

1.32
#F4E17B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.90
#F4E17B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4E17B
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4E17B#FFFFFF#000000##000000
##F4E17B1.001.3215.9015.90
#FFFFFF1.321.0021.0021.00
#00000015.9021.001.001.00
##00000015.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DC72
Deuteranopia (green-blind)
#F8E37F
Tritanopia (blue-blind)
#FFD4C9
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f4e17b;
/* rgb */ color: rgb(244, 225, 123);
/* oklch */ color: oklch(90.4% 0.125 99.0);
Tailwind
colors: {
  custom: {
    50: '#faeaa3',
    500: '#f4e17b',
    950: '#000000',
  },
}
SCSS
$custom: #f4e17b;
$custom-light: #faeaa3;
$custom-dark: #000000;
JSON
{
  "hex": "#f4e17b",
  "rgb": {
    "r": 244,
    "g": 225,
    "b": 123
  },
  "hsl": {
    "h": 50.579,
    "s": 84.615,
    "l": 71.961
  },
  "oklch": {
    "l": 0.90437,
    "c": 0.12476,
    "h": 99
  },
  "luminance": 0.74514
}

Semantic roles & 50–950 ramp

primary
#F4E17B
secondary
#445ACF
accent
#27E104
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F4E17B

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

Preview Lab → · Contrast checker → · Palette generator →

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