#F4E27B#F4E27B

#F4E27B is a very light, vivid yellow. Relative luminance 0.751; OKLCH L 90.6% C 0.126 H 99.6°. Best body text is #000000 at 16.01:1 contrast (WCAG AA passes).

Color values

HEX#F4E27B
RGBrgb(244, 226, 123)
HSLhsl(51, 85%, 72%)
HSVhsv(51, 50%, 96%)
CMYKcmyk(0%, 7.4%, 49.6%, 4.3%)
CIE-LABlab(89.42, -7.03, 52.15)
CIE-LCHlch(89.42, 52.62, 97.67°)
OKLaboklab(90.64% -0.0209 0.1239)
OKLCHoklch(90.64% 0.126 99.6)
XYZxyz(68.0818, 75.0583, 29.6365)
Luminance0.7506 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4E27B #7B8DF4
analogous
#F4A67B #F4E27B #CAF47B
triadic
#F4E27B #7BF4E2 #E27BF4
tetradic
#F4E27B #7BF4A6 #7B8DF4 #F47BCA
square
#F4E27B #7BF4A6 #7B8DF4 #F47BCA
split-complementary
#F4E27B #7BCAF4 #A67BF4
monochromatic
#E2C313 #EFD643 #F4E27B #F9EEB3 #FDF9E3

Accessibility & contrast

On white

1.31
#F4E27B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.01
#F4E27B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4E27B
16.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4E27B#FFFFFF#000000##000000
##F4E27B1.001.3116.0116.01
#FFFFFF1.311.0021.0021.00
#00000016.0121.001.001.00
##00000016.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DD72
Deuteranopia (green-blind)
#F8E47F
Tritanopia (blue-blind)
#FFD5CA
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f4e27b;
/* rgb */ color: rgb(244, 226, 123);
/* oklch */ color: oklch(90.6% 0.126 99.6);
Tailwind
colors: {
  custom: {
    50: '#faeaa3',
    500: '#f4e27b',
    950: '#000000',
  },
}
SCSS
$custom: #f4e27b;
$custom-light: #faeaa3;
$custom-dark: #000000;
JSON
{
  "hex": "#f4e27b",
  "rgb": {
    "r": 244,
    "g": 226,
    "b": 123
  },
  "hsl": {
    "h": 51.074,
    "s": 84.615,
    "l": 71.961
  },
  "oklch": {
    "l": 0.90638,
    "c": 0.12566,
    "h": 99.6
  },
  "luminance": 0.75056
}

Semantic roles & 50–950 ramp

primary
#F4E27B
secondary
#4459CF
accent
#25E104
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F4E27B

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

Preview Lab → · Contrast checker → · Palette generator →

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