#F7E28A#F7E28A

#F7E28A is a very light, moderate yellow. Relative luminance 0.760; OKLCH L 91.1% C 0.111 H 96.3°. Best body text is #000000 at 16.20:1 contrast (WCAG AA passes).

Color values

HEX#F7E28A
RGBrgb(247, 226, 138)
HSLhsl(48, 87%, 75%)
HSVhsv(48, 44%, 97%)
CMYKcmyk(0%, 8.5%, 44.1%, 3.1%)
CIE-LABlab(89.86, -4.46, 45.50)
CIE-LCHlch(89.86, 45.71, 95.60°)
OKLaboklab(91.11% -0.0122 0.1101)
OKLCHoklch(91.11% 0.111 96.3)
XYZxyz(70.1434, 76.0044, 35.0153)
Luminance0.7600 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E28A #8A9FF7
analogous
#F7AB8A #F7E28A #D6F78A
triadic
#F7E28A #8AF7E2 #E28AF7
tetradic
#F7E28A #8AF7AB #8A9FF7 #F78AD6
square
#F7E28A #8AF7AB #8A9FF7 #F78AD6
split-complementary
#F7E28A #8AD6F7 #AB8AF7
monochromatic
#EFC617 #F3D451 #F7E28A #FBF0C3 #FDF8E2

Accessibility & contrast

On white

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

On black

16.20
#F7E28A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E28A
16.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E28A#FFFFFF#000000##000000
##F7E28A1.001.3016.2016.20
#FFFFFF1.301.0021.0021.00
#00000016.2021.001.001.00
##00000016.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f7e28a;
/* rgb */ color: rgb(247, 226, 138);
/* oklch */ color: oklch(91.1% 0.111 96.3);
Tailwind
colors: {
  custom: {
    50: '#fbeaad',
    500: '#f7e28a',
    950: '#000000',
  },
}
SCSS
$custom: #f7e28a;
$custom-light: #fbeaad;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e28a",
  "rgb": {
    "r": 247,
    "g": 226,
    "b": 138
  },
  "hsl": {
    "h": 48.44,
    "s": 87.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.91109,
    "c": 0.11079,
    "h": 96.3
  },
  "luminance": 0.76002
}

Semantic roles & 50–950 ramp

primary
#F7E28A
secondary
#506AD5
accent
#2DE402
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #F7E28A

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

Preview Lab → · Contrast checker → · Palette generator →

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