#F4E062#F4E062

#F4E062 is a very light, vivid yellow. Relative luminance 0.734; OKLCH L 89.9% C 0.146 H 100.3°. Best body text is #000000 at 15.69:1 contrast (WCAG AA passes).

Color values

HEX#F4E062
RGBrgb(244, 224, 98)
HSLhsl(52, 87%, 67%)
HSVhsv(52, 60%, 96%)
CMYKcmyk(0%, 8.2%, 59.8%, 4.3%)
CIE-LABlab(88.65, -7.94, 62.65)
CIE-LCHlch(88.65, 63.15, 97.22°)
OKLaboklab(89.95% -0.0263 0.144)
OKLCHoklch(89.95% 0.146 100.3)
XYZxyz(66.1710, 73.4290, 22.2406)
Luminance0.7343 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4E062 #6276F4
analogous
#F49762 #F4E062 #BFF462
triadic
#F4E062 #62F4E0 #E062F4
tetradic
#F4E062 #62F497 #6276F4 #F462BF
square
#F4E062 #62F497 #6276F4 #F462BF
split-complementary
#F4E062 #62BFF4 #9762F4
monochromatic
#CDB30E #F0D529 #F4E062 #F8EB9B #FCF7D4

Accessibility & contrast

On white

1.34
#F4E062 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.69
#F4E062 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4E062
15.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4E062#FFFFFF#000000##000000
##F4E0621.001.3415.6915.69
#FFFFFF1.341.0021.0021.00
#00000015.6921.001.001.00
##00000015.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DA54
Deuteranopia (green-blind)
#F9E268
Tritanopia (blue-blind)
#FFD1C5
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f4e062;
/* rgb */ color: rgb(244, 224, 98);
/* oklch */ color: oklch(89.9% 0.146 100.3);
Tailwind
colors: {
  custom: {
    50: '#fbe993',
    500: '#f4e062',
    950: '#000000',
  },
}
SCSS
$custom: #f4e062;
$custom-light: #fbe993;
$custom-dark: #000000;
JSON
{
  "hex": "#f4e062",
  "rgb": {
    "r": 244,
    "g": 224,
    "b": 98
  },
  "hsl": {
    "h": 51.781,
    "s": 86.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.89946,
    "c": 0.14637,
    "h": 100.3
  },
  "luminance": 0.73426
}

Semantic roles & 50–950 ramp

primary
#F4E062
secondary
#3146C9
accent
#21E302
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F4E062

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

Preview Lab → · Contrast checker → · Palette generator →

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