#F4DF7B#F4DF7B

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

Color values

HEX#F4DF7B
RGBrgb(244, 223, 123)
HSLhsl(50, 85%, 72%)
HSVhsv(50, 50%, 96%)
CMYKcmyk(0%, 8.6%, 49.6%, 4.3%)
CIE-LABlab(88.66, -5.52, 51.22)
CIE-LCHlch(88.66, 51.52, 96.15°)
OKLaboklab(90.03% -0.0166 0.1219)
OKLCHoklch(90.03% 0.123 97.7)
XYZxyz(67.2732, 73.4411, 29.3670)
Luminance0.7344 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4DF7B #7B90F4
analogous
#F4A37B #F4DF7B #CCF47B
triadic
#F4DF7B #7BF4DF #DF7BF4
tetradic
#F4DF7B #7BF4A3 #7B90F4 #F47BCC
square
#F4DF7B #7BF4A3 #7B90F4 #F47BCC
split-complementary
#F4DF7B #7BCCF4 #A37BF4
monochromatic
#E2BE13 #EFD143 #F4DF7B #F9EDB3 #FDF8E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F4DF7B#FFFFFF#000000##000000
##F4DF7B1.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)
#F0DA72
Deuteranopia (green-blind)
#F6E27F
Tritanopia (blue-blind)
#FFD2C8
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f4df7b;
/* rgb */ color: rgb(244, 223, 123);
/* oklch */ color: oklch(90.0% 0.123 97.7);
Tailwind
colors: {
  custom: {
    50: '#fae8a3',
    500: '#f4df7b',
    950: '#000000',
  },
}
SCSS
$custom: #f4df7b;
$custom-light: #fae8a3;
$custom-dark: #000000;
JSON
{
  "hex": "#f4df7b",
  "rgb": {
    "r": 244,
    "g": 223,
    "b": 123
  },
  "hsl": {
    "h": 49.587,
    "s": 84.615,
    "l": 71.961
  },
  "oklch": {
    "l": 0.90034,
    "c": 0.12299,
    "h": 97.7
  },
  "luminance": 0.73439
}

Semantic roles & 50–950 ramp

primary
#F4DF7B
secondary
#445CCF
accent
#2BE104
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F4DF7B

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

Preview Lab → · Contrast checker → · Palette generator →

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