#F4E187#F4E187

#F4E187 is a very light, moderate yellow. Relative luminance 0.748; OKLCH L 90.6% C 0.113 H 97.7°. Best body text is #000000 at 15.97:1 contrast (WCAG AA passes).

Color values

HEX#F4E187
RGBrgb(244, 225, 135)
HSLhsl(50, 83%, 74%)
HSVhsv(50, 45%, 96%)
CMYKcmyk(0%, 7.8%, 44.7%, 4.3%)
CIE-LABlab(89.32, -5.43, 46.23)
CIE-LCHlch(89.32, 46.55, 96.69°)
OKLaboklab(90.6% -0.0151 0.1116)
OKLCHoklch(90.6% 0.113 97.7)
XYZxyz(68.6084, 74.8352, 33.7476)
Luminance0.7483 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4E187 #879AF4
analogous
#F4AB87 #F4E187 #D1F487
triadic
#F4E187 #87F4E1 #E187F4
tetradic
#F4E187 #87F4AB #879AF4 #F487D1
square
#F4E187 #87F4AB #879AF4 #F487D1
split-complementary
#F4E187 #87D1F4 #AB87F4
monochromatic
#EAC517 #EFD34F #F4E187 #F9EFBF #FCF8E3

Accessibility & contrast

On white

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

On black

15.97
#F4E187 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4E187
15.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4E187#FFFFFF#000000##000000
##F4E1871.001.3215.9715.97
#FFFFFF1.321.0021.0021.00
#00000015.9721.001.001.00
##00000015.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DD80
Deuteranopia (green-blind)
#F6E38B
Tritanopia (blue-blind)
#FFD5CB
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f4e187;
/* rgb */ color: rgb(244, 225, 135);
/* oklch */ color: oklch(90.6% 0.113 97.7);
Tailwind
colors: {
  custom: {
    50: '#f9eaab',
    500: '#f4e187',
    950: '#000000',
  },
}
SCSS
$custom: #f4e187;
$custom-light: #f9eaab;
$custom-dark: #000000;
JSON
{
  "hex": "#f4e187",
  "rgb": {
    "r": 244,
    "g": 225,
    "b": 135
  },
  "hsl": {
    "h": 49.541,
    "s": 83.206,
    "l": 74.314
  },
  "oklch": {
    "l": 0.90604,
    "c": 0.11263,
    "h": 97.7
  },
  "luminance": 0.74833
}

Semantic roles & 50–950 ramp

primary
#F4E187
secondary
#4F65D0
accent
#2CE006
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #F4E187

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

Preview Lab → · Contrast checker → · Palette generator →

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