#F7E274#F7E274

#F7E274 is a very light, vivid yellow. Relative luminance 0.754; OKLCH L 90.8% C 0.133 H 98.7°. Best body text is #000000 at 16.09:1 contrast (WCAG AA passes).

Color values

HEX#F7E274
RGBrgb(247, 226, 116)
HSLhsl(50, 89%, 71%)
HSVhsv(50, 53%, 97%)
CMYKcmyk(0%, 8.5%, 53%, 3.1%)
CIE-LABlab(89.59, -6.41, 55.70)
CIE-LCHlch(89.59, 56.07, 96.56°)
OKLaboklab(90.81% -0.0201 0.131)
OKLCHoklch(90.81% 0.133 98.7)
XYZxyz(68.7089, 75.4305, 27.4599)
Luminance0.7543 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E274 #7489F7
analogous
#F7A074 #F7E274 #CAF774
triadic
#F7E274 #74F7E2 #E274F7
tetradic
#F7E274 #74F7A0 #7489F7 #F774CA
square
#F7E274 #74F7A0 #7489F7 #F774CA
split-complementary
#F7E274 #74CAF7 #A074F7
monochromatic
#E4C10D #F4D63A #F7E274 #FAEEAE #FDF9E2

Accessibility & contrast

On white

1.31
#F7E274 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.09
#F7E274 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E274
16.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E274#FFFFFF#000000##000000
##F7E2741.001.3116.0916.09
#FFFFFF1.311.0021.0021.00
#00000016.0921.001.001.00
##00000016.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DD6A
Deuteranopia (green-blind)
#FAE579
Tritanopia (blue-blind)
#FFD4C9
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f7e274;
/* rgb */ color: rgb(247, 226, 116);
/* oklch */ color: oklch(90.8% 0.133 98.7);
Tailwind
colors: {
  custom: {
    50: '#fcea9f',
    500: '#f7e274',
    950: '#000000',
  },
}
SCSS
$custom: #f7e274;
$custom-light: #fcea9f;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e274",
  "rgb": {
    "r": 247,
    "g": 226,
    "b": 116
  },
  "hsl": {
    "h": 50.382,
    "s": 89.116,
    "l": 71.176
  },
  "oklch": {
    "l": 0.90811,
    "c": 0.13253,
    "h": 98.7
  },
  "luminance": 0.75428
}

Semantic roles & 50–950 ramp

primary
#F7E274
secondary
#3D55D2
accent
#25E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F7E274

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

Preview Lab → · Contrast checker → · Palette generator →

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