#F4E274#F4E274

#F4E274 is a very light, vivid yellow. Relative luminance 0.749; OKLCH L 90.5% C 0.132 H 100.2°. Best body text is #000000 at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#F4E274
RGBrgb(244, 226, 116)
HSLhsl(52, 85%, 71%)
HSVhsv(52, 52%, 96%)
CMYKcmyk(0%, 7.4%, 52.5%, 4.3%)
CIE-LABlab(89.34, -7.61, 55.34)
CIE-LCHlch(89.34, 55.86, 97.83°)
OKLaboklab(90.55% -0.0234 0.1303)
OKLCHoklch(90.55% 0.132 100.2)
XYZxyz(67.6592, 74.8893, 27.4107)
Luminance0.7489 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4E274 #7486F4
analogous
#F4A274 #F4E274 #C6F474
triadic
#F4E274 #74F4E2 #E274F4
tetradic
#F4E274 #74F4A2 #7486F4 #F474C6
square
#F4E274 #74F4A2 #7486F4 #F474C6
split-complementary
#F4E274 #74C6F4 #A274F4
monochromatic
#DCC011 #F0D63B #F4E274 #F8EEAD #FDF9E3

Accessibility & contrast

On white

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

On black

15.98
#F4E274 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4E274
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4E274#FFFFFF#000000##000000
##F4E2741.001.3115.9815.98
#FFFFFF1.311.0021.0021.00
#00000015.9821.001.001.00
##00000015.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DC6A
Deuteranopia (green-blind)
#F9E479
Tritanopia (blue-blind)
#FFD5C9
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f4e274;
/* rgb */ color: rgb(244, 226, 116);
/* oklch */ color: oklch(90.5% 0.132 100.2);
Tailwind
colors: {
  custom: {
    50: '#faea9f',
    500: '#f4e274',
    950: '#000000',
  },
}
SCSS
$custom: #f4e274;
$custom-light: #faea9f;
$custom-dark: #000000;
JSON
{
  "hex": "#f4e274",
  "rgb": {
    "r": 244,
    "g": 226,
    "b": 116
  },
  "hsl": {
    "h": 51.563,
    "s": 85.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.9055,
    "c": 0.13235,
    "h": 100.2
  },
  "luminance": 0.74887
}

Semantic roles & 50–950 ramp

primary
#F4E274
secondary
#3E52CE
accent
#23E204
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F4E274

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

Preview Lab → · Contrast checker → · Palette generator →

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