#F4F03B#F4F03B

#F4F03B is a very light, vivid yellow. Relative luminance 0.819; OKLCH L 92.9% C 0.186 H 108.2°. Best body text is #000000 at 17.37:1 contrast (WCAG AA passes).

Color values

HEX#F4F03B
RGBrgb(244, 240, 59)
HSLhsl(59, 89%, 59%)
HSVhsv(59, 76%, 96%)
CMYKcmyk(0%, 1.6%, 75.8%, 4.3%)
CIE-LABlab(92.52, -17.81, 80.92)
CIE-LCHlch(92.52, 82.86, 102.41°)
OKLaboklab(92.94% -0.058 0.1765)
OKLCHoklch(92.94% 0.186 108.2)
XYZxyz(69.2605, 81.8714, 16.2912)
Luminance0.8187 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4F03B #3B3FF4
analogous
#F4943B #F4F03B #9BF43B
triadic
#F4F03B #3BF4F0 #F03BF4
tetradic
#F4F03B #3BF494 #3B3FF4 #F43B9B
square
#F4F03B #3BF494 #3B3FF4 #F43B9B
split-complementary
#F4F03B #3B9BF4 #943BF4
monochromatic
#ABA80A #E5E00D #F4F03B #F7F475 #FBF9AF

Accessibility & contrast

On white

1.21
#F4F03B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.37
#F4F03B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4F03B
17.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4F03B#FFFFFF#000000##000000
##F4F03B1.001.2117.3717.37
#FFFFFF1.211.0021.0021.00
#00000017.3721.001.001.00
##00000017.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE602
Deuteranopia (green-blind)
#FFEC4A
Tritanopia (blue-blind)
#FFE0CE
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f4f03b;
/* rgb */ color: rgb(244, 240, 59);
/* oklch */ color: oklch(92.9% 0.186 108.2);
Tailwind
colors: {
  custom: {
    50: '#fcf47f',
    500: '#f4f03b',
    950: '#000000',
  },
}
SCSS
$custom: #f4f03b;
$custom-light: #fcf47f;
$custom-dark: #000000;
JSON
{
  "hex": "#f4f03b",
  "rgb": {
    "r": 244,
    "g": 240,
    "b": 59
  },
  "hsl": {
    "h": 58.703,
    "s": 89.372,
    "l": 59.412
  },
  "oklch": {
    "l": 0.9294,
    "c": 0.18577,
    "h": 108.2
  },
  "luminance": 0.81869
}

Semantic roles & 50–950 ramp

primary
#F4F03B
secondary
#282AAC
accent
#2DFF29
background
#FFFFFB
surface
#FFFEF2
border
#D7D6CC
text
#18170B
muted
#86857E

Preview Lab

Preview with #F4F03B

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

Preview Lab → · Contrast checker → · Palette generator →

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