#F7E28E#F7E28E

#F7E28E is a very light, moderate yellow. Relative luminance 0.761; OKLCH L 91.2% C 0.107 H 95.8°. Best body text is #000000 at 16.22:1 contrast (WCAG AA passes).

Color values

HEX#F7E28E
RGBrgb(247, 226, 142)
HSLhsl(48, 87%, 76%)
HSVhsv(48, 43%, 97%)
CMYKcmyk(0%, 8.5%, 42.5%, 3.1%)
CIE-LABlab(89.92, -4.06, 43.59)
CIE-LCHlch(89.92, 43.78, 95.32°)
OKLaboklab(91.17% -0.0107 0.106)
OKLCHoklch(91.17% 0.107 95.8)
XYZxyz(70.4384, 76.1223, 36.5686)
Luminance0.7612 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E28E #8EA3F7
analogous
#F7AE8E #F7E28E #D8F78E
triadic
#F7E28E #8EF7E2 #E28EF7
tetradic
#F7E28E #8EF7AE #8EA3F7 #F78ED8
square
#F7E28E #8EF7AE #8EA3F7 #F78ED8
split-complementary
#F7E28E #8ED8F7 #AE8EF7
monochromatic
#EFC51C #F3D355 #F7E28E #FBF1C7 #FDF8E2

Accessibility & contrast

On white

1.29
#F7E28E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.22
#F7E28E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E28E
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E28E#FFFFFF#000000##000000
##F7E28E1.001.2916.2216.22
#FFFFFF1.291.0021.0021.00
#00000016.2221.001.001.00
##00000016.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DE88
Deuteranopia (green-blind)
#F8E591
Tritanopia (blue-blind)
#FFD6CD
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f7e28e;
/* rgb */ color: rgb(247, 226, 142);
/* oklch */ color: oklch(91.2% 0.107 95.8);
Tailwind
colors: {
  custom: {
    50: '#fbeab0',
    500: '#f7e28e',
    950: '#000000',
  },
}
SCSS
$custom: #f7e28e;
$custom-light: #fbeab0;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e28e",
  "rgb": {
    "r": 247,
    "g": 226,
    "b": 142
  },
  "hsl": {
    "h": 48,
    "s": 86.777,
    "l": 76.275
  },
  "oklch": {
    "l": 0.9117,
    "c": 0.10657,
    "h": 95.8
  },
  "luminance": 0.7612
}

Semantic roles & 50–950 ramp

primary
#F7E28E
secondary
#546ED5
accent
#2FE302
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #F7E28E

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

Preview Lab → · Contrast checker → · Palette generator →

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