#F4E07B#F4E07B

#F4E07B is a very light, vivid yellow. Relative luminance 0.740; OKLCH L 90.2% C 0.124 H 98.4°. Best body text is #000000 at 15.79:1 contrast (WCAG AA passes).

Color values

HEX#F4E07B
RGBrgb(244, 224, 123)
HSLhsl(50, 85%, 72%)
HSVhsv(50, 50%, 96%)
CMYKcmyk(0%, 8.2%, 49.6%, 4.3%)
CIE-LABlab(88.91, -6.02, 51.53)
CIE-LCHlch(88.91, 51.88, 96.67°)
OKLaboklab(90.24% -0.018 0.1226)
OKLCHoklch(90.24% 0.124 98.4)
XYZxyz(67.5411, 73.9770, 29.4563)
Luminance0.7397 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4E07B #7B8FF4
analogous
#F4A47B #F4E07B #CBF47B
triadic
#F4E07B #7BF4E0 #E07BF4
tetradic
#F4E07B #7BF4A4 #7B8FF4 #F47BCB
square
#F4E07B #7BF4A4 #7B8FF4 #F47BCB
split-complementary
#F4E07B #7BCBF4 #A47BF4
monochromatic
#E2C013 #EFD343 #F4E07B #F9EDB3 #FDF8E3

Accessibility & contrast

On white

1.33
#F4E07B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.79
#F4E07B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4E07B
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4E07B#FFFFFF#000000##000000
##F4E07B1.001.3315.7915.79
#FFFFFF1.331.0021.0021.00
#00000015.7921.001.001.00
##00000015.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DB72
Deuteranopia (green-blind)
#F7E27F
Tritanopia (blue-blind)
#FFD3C8
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f4e07b;
/* rgb */ color: rgb(244, 224, 123);
/* oklch */ color: oklch(90.2% 0.124 98.4);
Tailwind
colors: {
  custom: {
    50: '#fae9a3',
    500: '#f4e07b',
    950: '#000000',
  },
}
SCSS
$custom: #f4e07b;
$custom-light: #fae9a3;
$custom-dark: #000000;
JSON
{
  "hex": "#f4e07b",
  "rgb": {
    "r": 244,
    "g": 224,
    "b": 123
  },
  "hsl": {
    "h": 50.083,
    "s": 84.615,
    "l": 71.961
  },
  "oklch": {
    "l": 0.90236,
    "c": 0.12387,
    "h": 98.4
  },
  "luminance": 0.73974
}

Semantic roles & 50–950 ramp

primary
#F4E07B
secondary
#445BCF
accent
#29E104
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F4E07B

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

Preview Lab → · Contrast checker → · Palette generator →

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