#F7E27C#F7E27C

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

Color values

HEX#F7E27C
RGBrgb(247, 226, 124)
HSLhsl(50, 88%, 73%)
HSVhsv(50, 50%, 97%)
CMYKcmyk(0%, 8.5%, 49.8%, 3.1%)
CIE-LABlab(89.68, -5.74, 52.05)
CIE-LCHlch(89.68, 52.36, 96.30°)
OKLaboklab(90.91% -0.0173 0.1237)
OKLCHoklch(90.91% 0.125 98)
XYZxyz(69.1944, 75.6247, 30.0171)
Luminance0.7562 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E27C #7C91F7
analogous
#F7A47C #F7E27C #CEF77C
triadic
#F7E27C #7CF7E2 #E27CF7
tetradic
#F7E27C #7CF7A4 #7C91F7 #F77CCE
square
#F7E27C #7CF7A4 #7C91F7 #F77CCE
split-complementary
#F7E27C #7CCEF7 #A47CF7
monochromatic
#EAC50E #F3D542 #F7E27C #FBEFB6 #FDF9E2

Accessibility & contrast

On white

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

On black

16.12
#F7E27C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E27C
16.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E27C#FFFFFF#000000##000000
##F7E27C1.001.3016.1216.12
#FFFFFF1.301.0021.0021.00
#00000016.1221.001.001.00
##00000016.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f7e27c;
/* rgb */ color: rgb(247, 226, 124);
/* oklch */ color: oklch(90.9% 0.125 98.0);
Tailwind
colors: {
  custom: {
    50: '#fceaa4',
    500: '#f7e27c',
    950: '#000000',
  },
}
SCSS
$custom: #f7e27c;
$custom-light: #fceaa4;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e27c",
  "rgb": {
    "r": 247,
    "g": 226,
    "b": 124
  },
  "hsl": {
    "h": 49.756,
    "s": 88.489,
    "l": 72.745
  },
  "oklch": {
    "l": 0.90912,
    "c": 0.12493,
    "h": 98
  },
  "luminance": 0.75622
}

Semantic roles & 50–950 ramp

primary
#F7E27C
secondary
#445DD3
accent
#27E500
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F7E27C

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

Preview Lab → · Contrast checker → · Palette generator →

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