#F4D862#F4D862

#F4D862 is a very light, vivid yellow. Relative luminance 0.692; OKLCH L 88.3% C 0.140 H 96.0°. Best body text is #000000 at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#F4D862
RGBrgb(244, 216, 98)
HSLhsl(48, 87%, 67%)
HSVhsv(48, 60%, 96%)
CMYKcmyk(0%, 11.5%, 59.8%, 4.3%)
CIE-LABlab(86.62, -3.91, 60.39)
CIE-LCHlch(86.62, 60.52, 93.70°)
OKLaboklab(88.33% -0.0147 0.1392)
OKLCHoklch(88.33% 0.14 96)
XYZxyz(64.0714, 69.2297, 21.5407)
Luminance0.6923 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4D862 #627EF4
analogous
#F48F62 #F4D862 #C7F462
triadic
#F4D862 #62F4D8 #D862F4
tetradic
#F4D862 #62F48F #627EF4 #F462C7
square
#F4D862 #62F48F #627EF4 #F462C7
split-complementary
#F4D862 #62C7F4 #8F62F4
monochromatic
#CDA90E #F0CA29 #F4D862 #F8E69B #FCF4D4

Accessibility & contrast

On white

1.41
#F4D862 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.85
#F4D862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4D862
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4D862#FFFFFF#000000##000000
##F4D8621.001.4114.8514.85
#FFFFFF1.411.0021.0021.00
#00000014.8521.001.001.00
##00000014.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD455
Deuteranopia (green-blind)
#F3DD68
Tritanopia (blue-blind)
#FFC9BE
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #f4d862;
/* rgb */ color: rgb(244, 216, 98);
/* oklch */ color: oklch(88.3% 0.140 96.0);
Tailwind
colors: {
  custom: {
    50: '#fbe393',
    500: '#f4d862',
    950: '#000000',
  },
}
SCSS
$custom: #f4d862;
$custom-light: #fbe393;
$custom-dark: #000000;
JSON
{
  "hex": "#f4d862",
  "rgb": {
    "r": 244,
    "g": 216,
    "b": 98
  },
  "hsl": {
    "h": 48.493,
    "s": 86.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.88334,
    "c": 0.13995,
    "h": 96
  },
  "luminance": 0.69227
}

Semantic roles & 50–950 ramp

primary
#F4D862
secondary
#314EC9
accent
#2DE302
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F4D862

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

Preview Lab → · Contrast checker → · Palette generator →

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