#F4DC5B#F4DC5B

#F4DC5B is a very light, vivid yellow. Relative luminance 0.712; OKLCH L 89.1% C 0.149 H 98.7°. Best body text is #000000 at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#F4DC5B
RGBrgb(244, 220, 91)
HSLhsl(51, 87%, 66%)
HSVhsv(51, 63%, 96%)
CMYKcmyk(0%, 9.8%, 62.7%, 4.3%)
CIE-LABlab(87.57, -6.38, 64.46)
CIE-LCHlch(87.57, 64.78, 95.65°)
OKLaboklab(89.07% -0.0226 0.1469)
OKLCHoklch(89.07% 0.149 98.7)
XYZxyz(64.7925, 71.1777, 20.2213)
Luminance0.7117 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4DC5B #5B73F4
analogous
#F48F5B #F4DC5B #C0F45B
triadic
#F4DC5B #5BF4DC #DC5BF4
tetradic
#F4DC5B #5BF48F #5B73F4 #F45BC0
square
#F4DC5B #5BF48F #5B73F4 #F45BC0
split-complementary
#F4DC5B #5BC0F4 #8F5BF4
monochromatic
#C7AA0D #F0D022 #F4DC5B #F8E894 #FCF4CE

Accessibility & contrast

On white

1.38
#F4DC5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.24
#F4DC5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4DC5B
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4DC5B#FFFFFF#000000##000000
##F4DC5B1.001.3815.2415.24
#FFFFFF1.381.0021.0021.00
#00000015.2421.001.001.00
##00000015.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D74C
Deuteranopia (green-blind)
#F6DF62
Tritanopia (blue-blind)
#FFCDC1
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f4dc5b;
/* rgb */ color: rgb(244, 220, 91);
/* oklch */ color: oklch(89.1% 0.149 98.7);
Tailwind
colors: {
  custom: {
    50: '#fbe68f',
    500: '#f4dc5b',
    950: '#000000',
  },
}
SCSS
$custom: #f4dc5b;
$custom-light: #fbe68f;
$custom-dark: #000000;
JSON
{
  "hex": "#f4dc5b",
  "rgb": {
    "r": 244,
    "g": 220,
    "b": 91
  },
  "hsl": {
    "h": 50.588,
    "s": 87.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.8907,
    "c": 0.14864,
    "h": 98.7
  },
  "luminance": 0.71175
}

Semantic roles & 50–950 ramp

primary
#F4DC5B
secondary
#2F47C4
accent
#25E402
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F4DC5B

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

Preview Lab → · Contrast checker → · Palette generator →

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