#F7E277#F7E277

#F7E277 is a very light, vivid yellow. Relative luminance 0.755; OKLCH L 90.8% C 0.130 H 98.4°. Best body text is #000000 at 16.10:1 contrast (WCAG AA passes).

Color values

HEX#F7E277
RGBrgb(247, 226, 119)
HSLhsl(50, 89%, 72%)
HSVhsv(50, 52%, 97%)
CMYKcmyk(0%, 8.5%, 51.8%, 3.1%)
CIE-LABlab(89.63, -6.16, 54.34)
CIE-LCHlch(89.63, 54.69, 96.47°)
OKLaboklab(90.85% -0.019 0.1283)
OKLCHoklch(90.85% 0.13 98.4)
XYZxyz(68.8862, 75.5015, 28.3938)
Luminance0.7550 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E277 #778CF7
analogous
#F7A277 #F7E277 #CCF777
triadic
#F7E277 #77F7E2 #E277F7
tetradic
#F7E277 #77F7A2 #778CF7 #F777CC
square
#F7E277 #77F7A2 #778CF7 #F777CC
split-complementary
#F7E277 #77CCF7 #A277F7
monochromatic
#E6C30E #F4D63D #F7E277 #FAEEB1 #FDF9E2

Accessibility & contrast

On white

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

On black

16.10
#F7E277 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E277
16.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E277#FFFFFF#000000##000000
##F7E2771.001.3016.1016.10
#FFFFFF1.301.0021.0021.00
#00000016.1021.001.001.00
##00000016.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DD6D
Deuteranopia (green-blind)
#FAE57C
Tritanopia (blue-blind)
#FFD5C9
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f7e277;
/* rgb */ color: rgb(247, 226, 119);
/* oklch */ color: oklch(90.8% 0.130 98.4);
Tailwind
colors: {
  custom: {
    50: '#fceaa1',
    500: '#f7e277',
    950: '#000000',
  },
}
SCSS
$custom: #f7e277;
$custom-light: #fceaa1;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e277",
  "rgb": {
    "r": 247,
    "g": 226,
    "b": 119
  },
  "hsl": {
    "h": 50.156,
    "s": 88.889,
    "l": 71.765
  },
  "oklch": {
    "l": 0.90848,
    "c": 0.12972,
    "h": 98.4
  },
  "luminance": 0.75499
}

Semantic roles & 50–950 ramp

primary
#F7E277
secondary
#4058D2
accent
#26E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F7E277

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

Preview Lab → · Contrast checker → · Palette generator →

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