#F7E790#F7E790

#F7E790 is a very light, moderate yellow. Relative luminance 0.789; OKLCH L 92.2% C 0.109 H 99.1°. Best body text is #000000 at 16.79:1 contrast (WCAG AA passes).

Color values

HEX#F7E790
RGBrgb(247, 231, 144)
HSLhsl(51, 87%, 77%)
HSVhsv(51, 42%, 97%)
CMYKcmyk(0%, 6.5%, 41.7%, 3.1%)
CIE-LABlab(91.21, -6.37, 44.24)
CIE-LCHlch(91.21, 44.70, 98.20°)
OKLaboklab(92.2% -0.0173 0.1076)
OKLCHoklch(92.2% 0.109 99.1)
XYZxyz(71.9693, 78.9419, 37.8264)
Luminance0.7894 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E790 #90A0F7
analogous
#F7B490 #F7E790 #D4F790
triadic
#F7E790 #90F7E7 #E790F7
tetradic
#F7E790 #90F7B4 #90A0F7 #F790D4
square
#F7E790 #90F7B4 #90A0F7 #F790D4
split-complementary
#F7E790 #90D4F7 #B490F7
monochromatic
#EFCE1E #F3DB57 #F7E790 #FBF3C9 #FDF9E2

Accessibility & contrast

On white

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

On black

16.79
#F7E790 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E790
16.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E790#FFFFFF#000000##000000
##F7E7901.001.2516.7916.79
#FFFFFF1.251.0021.0021.00
#00000016.7921.001.001.00
##00000016.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E289
Deuteranopia (green-blind)
#FBE993
Tritanopia (blue-blind)
#FFDCD2
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f7e790;
/* rgb */ color: rgb(247, 231, 144);
/* oklch */ color: oklch(92.2% 0.109 99.1);
Tailwind
colors: {
  custom: {
    50: '#fbeeb2',
    500: '#f7e790',
    950: '#000000',
  },
}
SCSS
$custom: #f7e790;
$custom-light: #fbeeb2;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e790",
  "rgb": {
    "r": 247,
    "g": 231,
    "b": 144
  },
  "hsl": {
    "h": 50.68,
    "s": 86.555,
    "l": 76.667
  },
  "oklch": {
    "l": 0.92201,
    "c": 0.10898,
    "h": 99.1
  },
  "luminance": 0.7894
}

Semantic roles & 50–950 ramp

primary
#F7E790
secondary
#566AD5
accent
#25E302
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181611
muted
#868581

Preview Lab

Preview with #F7E790

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

Preview Lab → · Contrast checker → · Palette generator →

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