#F4E170#F4E170

#F4E170 is a very light, vivid yellow. Relative luminance 0.743; OKLCH L 90.3% C 0.135 H 99.9°. Best body text is #000000 at 15.85:1 contrast (WCAG AA passes).

Color values

HEX#F4E170
RGBrgb(244, 225, 112)
HSLhsl(51, 86%, 70%)
HSVhsv(51, 54%, 96%)
CMYKcmyk(0%, 7.8%, 54.1%, 4.3%)
CIE-LABlab(89.04, -7.43, 56.84)
CIE-LCHlch(89.04, 57.32, 97.45°)
OKLaboklab(90.3% -0.0233 0.1331)
OKLCHoklch(90.3% 0.135 99.9)
XYZxyz(67.1604, 74.2560, 26.1212)
Luminance0.7425 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4E170 #7083F4
analogous
#F49F70 #F4E170 #C5F470
triadic
#F4E170 #70F4E1 #E170F4
tetradic
#F4E170 #70F49F #7083F4 #F470C5
square
#F4E170 #70F49F #7083F4 #F470C5
split-complementary
#F4E170 #70C5F4 #9F70F4
monochromatic
#D9BC11 #F0D537 #F4E170 #F8EDA9 #FDF9E2

Accessibility & contrast

On white

1.32
#F4E170 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.85
#F4E170 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4E170
15.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4E170#FFFFFF#000000##000000
##F4E1701.001.3215.8515.85
#FFFFFF1.321.0021.0021.00
#00000015.8521.001.001.00
##00000015.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DB65
Deuteranopia (green-blind)
#F9E375
Tritanopia (blue-blind)
#FFD3C7
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f4e170;
/* rgb */ color: rgb(244, 225, 112);
/* oklch */ color: oklch(90.3% 0.135 99.9);
Tailwind
colors: {
  custom: {
    50: '#faea9c',
    500: '#f4e170',
    950: '#000000',
  },
}
SCSS
$custom: #f4e170;
$custom-light: #faea9c;
$custom-dark: #000000;
JSON
{
  "hex": "#f4e170",
  "rgb": {
    "r": 244,
    "g": 225,
    "b": 112
  },
  "hsl": {
    "h": 51.364,
    "s": 85.714,
    "l": 69.804
  },
  "oklch": {
    "l": 0.903,
    "c": 0.13515,
    "h": 99.9
  },
  "luminance": 0.74253
}

Semantic roles & 50–950 ramp

primary
#F4E170
secondary
#3A50CE
accent
#23E203
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F4E170

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

Preview Lab → · Contrast checker → · Palette generator →

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