#F4E38C#F4E38C

#F4E38C is a very light, moderate yellow. Relative luminance 0.761; OKLCH L 91.1% C 0.109 H 98.5°. Best body text is #000000 at 16.21:1 contrast (WCAG AA passes).

Color values

HEX#F4E38C
RGBrgb(244, 227, 140)
HSLhsl(50, 83%, 75%)
HSVhsv(50, 43%, 96%)
CMYKcmyk(0%, 7%, 42.6%, 4.3%)
CIE-LABlab(89.89, -5.94, 44.50)
CIE-LCHlch(89.89, 44.89, 97.61°)
OKLaboklab(91.08% -0.0162 0.108)
OKLCHoklch(91.08% 0.109 98.5)
XYZxyz(69.5126, 76.0670, 35.8266)
Luminance0.7607 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4E38C #8C9DF4
analogous
#F4AF8C #F4E38C #D1F48C
triadic
#F4E38C #8CF4E3 #E38CF4
tetradic
#F4E38C #8CF4AF #8C9DF4 #F48CD1
square
#F4E38C #8CF4AF #8C9DF4 #F48CD1
split-complementary
#F4E38C #8CD1F4 #AF8CF4
monochromatic
#E9C81C #EFD554 #F4E38C #F9F1C4 #FCF8E3

Accessibility & contrast

On white

1.30
#F4E38C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.21
#F4E38C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4E38C
16.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4E38C#FFFFFF#000000##000000
##F4E38C1.001.3016.2116.21
#FFFFFF1.301.0021.0021.00
#00000016.2121.001.001.00
##00000016.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DE85
Deuteranopia (green-blind)
#F7E58F
Tritanopia (blue-blind)
#FFD7CE
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f4e38c;
/* rgb */ color: rgb(244, 227, 140);
/* oklch */ color: oklch(91.1% 0.109 98.5);
Tailwind
colors: {
  custom: {
    50: '#f9ebaf',
    500: '#f4e38c',
    950: '#000000',
  },
}
SCSS
$custom: #f4e38c;
$custom-light: #f9ebaf;
$custom-dark: #000000;
JSON
{
  "hex": "#f4e38c",
  "rgb": {
    "r": 244,
    "g": 227,
    "b": 140
  },
  "hsl": {
    "h": 50.192,
    "s": 82.54,
    "l": 75.294
  },
  "oklch": {
    "l": 0.91081,
    "c": 0.10921,
    "h": 98.5
  },
  "luminance": 0.76065
}

Semantic roles & 50–950 ramp

primary
#F4E38C
secondary
#5368D1
accent
#2ADF07
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#171610
muted
#858481

Preview Lab

Preview with #F4E38C

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

Preview Lab → · Contrast checker → · Palette generator →

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