#F4E282#F4E282

#F4E282 is a very light, moderate yellow. Relative luminance 0.752; OKLCH L 90.7% C 0.119 H 98.9°. Best body text is #000000 at 16.05:1 contrast (WCAG AA passes).

Color values

HEX#F4E282
RGBrgb(244, 226, 130)
HSLhsl(51, 84%, 73%)
HSVhsv(51, 47%, 96%)
CMYKcmyk(0%, 7.4%, 46.7%, 4.3%)
CIE-LABlab(89.51, -6.40, 48.90)
CIE-LCHlch(89.51, 49.31, 97.46°)
OKLaboklab(90.73% -0.0184 0.1172)
OKLCHoklch(90.73% 0.119 98.9)
XYZxyz(68.5357, 75.2399, 32.0274)
Luminance0.7524 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4E282 #8294F4
analogous
#F4A982 #F4E282 #CDF482
triadic
#F4E282 #82F4E2 #E282F4
tetradic
#F4E282 #82F4A9 #8294F4 #F482CD
square
#F4E282 #82F4A9 #8294F4 #F482CD
split-complementary
#F4E282 #82CDF4 #A982F4
monochromatic
#E7C614 #EFD54A #F4E282 #F9EFBA #FDF8E3

Accessibility & contrast

On white

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

On black

16.05
#F4E282 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4E282
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4E282#FFFFFF#000000##000000
##F4E2821.001.3116.0516.05
#FFFFFF1.311.0021.0021.00
#00000016.0521.001.001.00
##00000016.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DD7A
Deuteranopia (green-blind)
#F8E486
Tritanopia (blue-blind)
#FFD6CB
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f4e282;
/* rgb */ color: rgb(244, 226, 130);
/* oklch */ color: oklch(90.7% 0.119 98.9);
Tailwind
colors: {
  custom: {
    50: '#faeaa8',
    500: '#f4e282',
    950: '#000000',
  },
}
SCSS
$custom: #f4e282;
$custom-light: #faeaa8;
$custom-dark: #000000;
JSON
{
  "hex": "#f4e282",
  "rgb": {
    "r": 244,
    "g": 226,
    "b": 130
  },
  "hsl": {
    "h": 50.526,
    "s": 83.824,
    "l": 73.333
  },
  "oklch": {
    "l": 0.90733,
    "c": 0.11868,
    "h": 98.9
  },
  "luminance": 0.75238
}

Semantic roles & 50–950 ramp

primary
#F4E282
secondary
#4A5FD0
accent
#28E005
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#181610
muted
#868480

Preview Lab

Preview with #F4E282

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

Preview Lab → · Contrast checker → · Palette generator →

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