#F4E7A2#F4E7A2

#F4E7A2 is a very light, moderate yellow. Relative luminance 0.790; OKLCH L 92.2% C 0.089 H 98.8°. Best body text is #000000 at 16.80:1 contrast (WCAG AA passes).

Color values

HEX#F4E7A2
RGBrgb(244, 231, 162)
HSLhsl(50, 79%, 80%)
HSVhsv(50, 34%, 96%)
CMYKcmyk(0%, 5.3%, 33.6%, 4.3%)
CIE-LABlab(91.23, -5.56, 35.24)
CIE-LCHlch(91.23, 35.67, 98.96°)
OKLaboklab(92.25% -0.0135 0.0876)
OKLCHoklch(92.25% 0.089 98.8)
XYZxyz(72.4067, 78.9954, 45.6089)
Luminance0.7899 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4E7A2 #A2AFF4
analogous
#F4BEA2 #F4E7A2 #D8F4A2
triadic
#F4E7A2 #A2F4E7 #E7A2F4
tetradic
#F4E7A2 #A2F4BE #A2AFF4 #F4A2D8
square
#F4E7A2 #A2F4BE #A2AFF4 #F4A2D8
split-complementary
#F4E7A2 #A2D8F4 #BEA2F4
monochromatic
#E7CB35 #EED96B #F4E7A2 #FAF5D9 #FCF8E4

Accessibility & contrast

On white

1.25
#F4E7A2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.80
#F4E7A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4E7A2
16.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4E7A2#FFFFFF#000000##000000
##F4E7A21.001.2516.8016.80
#FFFFFF1.251.0021.0021.00
#00000016.8021.001.001.00
##00000016.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4E39D
Deuteranopia (green-blind)
#F8E8A4
Tritanopia (blue-blind)
#FFDDD5
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f4e7a2;
/* rgb */ color: rgb(244, 231, 162);
/* oklch */ color: oklch(92.2% 0.089 98.8);
Tailwind
colors: {
  custom: {
    50: '#f9eebe',
    500: '#f4e7a2',
    950: '#000000',
  },
}
SCSS
$custom: #f4e7a2;
$custom-light: #f9eebe;
$custom-dark: #000000;
JSON
{
  "hex": "#f4e7a2",
  "rgb": {
    "r": 244,
    "g": 231,
    "b": 162
  },
  "hsl": {
    "h": 50.488,
    "s": 78.846,
    "l": 79.608
  },
  "oklch": {
    "l": 0.92249,
    "c": 0.08862,
    "h": 98.8
  },
  "luminance": 0.78994
}

Semantic roles & 50–950 ramp

primary
#F4E7A2
secondary
#6778D3
accent
#2BDB0A
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171612
muted
#858582

Preview Lab

Preview with #F4E7A2

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

Preview Lab → · Contrast checker → · Palette generator →

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