#F7F27C#F7F27C

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

Color values

HEX#F7F27C
RGBrgb(247, 242, 124)
HSLhsl(58, 88%, 73%)
HSVhsv(58, 50%, 97%)
CMYKcmyk(0%, 2%, 49.8%, 3.1%)
CIE-LABlab(93.77, -13.69, 56.93)
CIE-LCHlch(93.77, 58.55, 103.52°)
OKLaboklab(94.15% -0.0401 0.1344)
OKLCHoklch(94.15% 0.14 106.6)
XYZxyz(73.7499, 84.7357, 31.5356)
Luminance0.8473 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F27C #7C81F7
analogous
#F7B47C #F7F27C #BEF77C
triadic
#F7F27C #7CF7F2 #F27CF7
tetradic
#F7F27C #7CF7B4 #7C81F7 #F77CBE
square
#F7F27C #7CF7B4 #7C81F7 #F77CBE
split-complementary
#F7F27C #7CBEF7 #B47CF7
monochromatic
#EAE10E #F3EC42 #F7F27C #FBF8B6 #FDFCE2

Accessibility & contrast

On white

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

On black

17.95
#F7F27C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F27C
17.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F27C#FFFFFF#000000##000000
##F7F27C1.001.1717.9517.95
#FFFFFF1.171.0021.0021.00
#00000017.9521.001.001.00
##00000017.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f7f27c;
/* rgb */ color: rgb(247, 242, 124);
/* oklch */ color: oklch(94.2% 0.140 106.6);
Tailwind
colors: {
  custom: {
    50: '#fcf6a5',
    500: '#f7f27c',
    950: '#000000',
  },
}
SCSS
$custom: #f7f27c;
$custom-light: #fcf6a5;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f27c",
  "rgb": {
    "r": 247,
    "g": 242,
    "b": 124
  },
  "hsl": {
    "h": 57.561,
    "s": 88.489,
    "l": 72.745
  },
  "oklch": {
    "l": 0.94153,
    "c": 0.14028,
    "h": 106.6
  },
  "luminance": 0.84734
}

Semantic roles & 50–950 ramp

primary
#F7F27C
secondary
#444AD3
accent
#0AE500
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F7F27C

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

Preview Lab → · Contrast checker → · Palette generator →

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