#F7E27A#F7E27A

#F7E27A is a very light, vivid yellow. Relative luminance 0.756; OKLCH L 90.9% C 0.127 H 98.2°. Best body text is #000000 at 16.11:1 contrast (WCAG AA passes).

Color values

HEX#F7E27A
RGBrgb(247, 226, 122)
HSLhsl(50, 89%, 72%)
HSVhsv(50, 51%, 97%)
CMYKcmyk(0%, 8.5%, 50.6%, 3.1%)
CIE-LABlab(89.66, -5.91, 52.97)
CIE-LCHlch(89.66, 53.30, 96.37°)
OKLaboklab(90.89% -0.018 0.1256)
OKLCHoklch(90.89% 0.127 98.2)
XYZxyz(69.0692, 75.5747, 29.3577)
Luminance0.7557 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E27A #7A8FF7
analogous
#F7A47A #F7E27A #CDF77A
triadic
#F7E27A #7AF7E2 #E27AF7
tetradic
#F7E27A #7AF7A4 #7A8FF7 #F77ACD
square
#F7E27A #7AF7A4 #7A8FF7 #F77ACD
split-complementary
#F7E27A #7ACDF7 #A47AF7
monochromatic
#E9C40E #F4D540 #F7E27A #FAEFB4 #FDF9E2

Accessibility & contrast

On white

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

On black

16.11
#F7E27A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E27A
16.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E27A#FFFFFF#000000##000000
##F7E27A1.001.3016.1116.11
#FFFFFF1.301.0021.0021.00
#00000016.1121.001.001.00
##00000016.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DD71
Deuteranopia (green-blind)
#FAE57E
Tritanopia (blue-blind)
#FFD5CA
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f7e27a;
/* rgb */ color: rgb(247, 226, 122);
/* oklch */ color: oklch(90.9% 0.127 98.2);
Tailwind
colors: {
  custom: {
    50: '#fceaa3',
    500: '#f7e27a',
    950: '#000000',
  },
}
SCSS
$custom: #f7e27a;
$custom-light: #fceaa3;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e27a",
  "rgb": {
    "r": 247,
    "g": 226,
    "b": 122
  },
  "hsl": {
    "h": 49.92,
    "s": 88.652,
    "l": 72.353
  },
  "oklch": {
    "l": 0.90886,
    "c": 0.12686,
    "h": 98.2
  },
  "luminance": 0.75572
}

Semantic roles & 50–950 ramp

primary
#F7E27A
secondary
#425BD3
accent
#27E500
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F7E27A

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

Preview Lab → · Contrast checker → · Palette generator →

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