#F7F27E#F7F27E

#F7F27E is a very light, vivid yellow. Relative luminance 0.848; OKLCH L 94.2% C 0.138 H 106.6°. Best body text is #000000 at 17.96:1 contrast (WCAG AA passes).

Color values

HEX#F7F27E
RGBrgb(247, 242, 126)
HSLhsl(58, 88%, 73%)
HSVhsv(58, 49%, 97%)
CMYKcmyk(0%, 2%, 49%, 3.1%)
CIE-LABlab(93.79, -13.52, 56.04)
CIE-LCHlch(93.79, 57.64, 103.56°)
OKLaboklab(94.18% -0.0394 0.1326)
OKLCHoklch(94.18% 0.138 106.6)
XYZxyz(73.8776, 84.7868, 32.2084)
Luminance0.8478 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F27E #7E83F7
analogous
#F7B57E #F7F27E #BFF77E
triadic
#F7F27E #7EF7F2 #F27EF7
tetradic
#F7F27E #7EF7B5 #7E83F7 #F77EBF
square
#F7F27E #7EF7B5 #7E83F7 #F77EBF
split-complementary
#F7F27E #7EBFF7 #B57EF7
monochromatic
#ECE30F #F3EC44 #F7F27E #FBF8B8 #FDFCE2

Accessibility & contrast

On white

1.17
#F7F27E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.96
#F7F27E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F27E
17.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F27E#FFFFFF#000000##000000
##F7F27E1.001.1717.9617.96
#FFFFFF1.171.0021.0021.00
#00000017.9621.001.001.00
##00000017.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA74
Deuteranopia (green-blind)
#FFF084
Tritanopia (blue-blind)
#FFE5D7
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f7f27e;
/* rgb */ color: rgb(247, 242, 126);
/* oklch */ color: oklch(94.2% 0.138 106.6);
Tailwind
colors: {
  custom: {
    50: '#fcf6a6',
    500: '#f7f27e',
    950: '#000000',
  },
}
SCSS
$custom: #f7f27e;
$custom-light: #fcf6a6;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f27e",
  "rgb": {
    "r": 247,
    "g": 242,
    "b": 126
  },
  "hsl": {
    "h": 57.521,
    "s": 88.321,
    "l": 73.137
  },
  "oklch": {
    "l": 0.94178,
    "c": 0.13837,
    "h": 106.6
  },
  "luminance": 0.84785
}

Semantic roles & 50–950 ramp

primary
#F7F27E
secondary
#464CD3
accent
#0AE501
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#181710
muted
#868580

Preview Lab

Preview with #F7F27E

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

Preview Lab → · Contrast checker → · Palette generator →

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