#F7E674#F7E674

#F7E674 is a very light, vivid yellow. Relative luminance 0.776; OKLCH L 91.6% C 0.136 H 100.9°. Best body text is #000000 at 16.53:1 contrast (WCAG AA passes).

Color values

HEX#F7E674
RGBrgb(247, 230, 116)
HSLhsl(52, 89%, 71%)
HSVhsv(52, 53%, 97%)
CMYKcmyk(0%, 6.9%, 53%, 3.1%)
CIE-LABlab(90.61, -8.41, 56.89)
CIE-LCHlch(90.61, 57.51, 98.41°)
OKLaboklab(91.62% -0.0258 0.1336)
OKLCHoklch(91.62% 0.136 100.9)
XYZxyz(69.8092, 77.6313, 27.8267)
Luminance0.7763 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E674 #7485F7
analogous
#F7A474 #F7E674 #C6F774
triadic
#F7E674 #74F7E6 #E674F7
tetradic
#F7E674 #74F7A4 #7485F7 #F774C6
square
#F7E674 #74F7A4 #7485F7 #F774C6
split-complementary
#F7E674 #74C6F7 #A474F7
monochromatic
#E4C80D #F4DC3A #F7E674 #FAF0AE #FDFAE2

Accessibility & contrast

On white

1.27
#F7E674 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.53
#F7E674 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E674
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E674#FFFFFF#000000##000000
##F7E6741.001.2716.5316.53
#FFFFFF1.271.0021.0021.00
#00000016.5321.001.001.00
##00000016.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E069
Deuteranopia (green-blind)
#FDE779
Tritanopia (blue-blind)
#FFD8CC
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f7e674;
/* rgb */ color: rgb(247, 230, 116);
/* oklch */ color: oklch(91.6% 0.136 100.9);
Tailwind
colors: {
  custom: {
    50: '#fced9f',
    500: '#f7e674',
    950: '#000000',
  },
}
SCSS
$custom: #f7e674;
$custom-light: #fced9f;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e674",
  "rgb": {
    "r": 247,
    "g": 230,
    "b": 116
  },
  "hsl": {
    "h": 52.214,
    "s": 89.116,
    "l": 71.176
  },
  "oklch": {
    "l": 0.91617,
    "c": 0.13606,
    "h": 100.9
  },
  "luminance": 0.77629
}

Semantic roles & 50–950 ramp

primary
#F7E674
secondary
#3D50D2
accent
#1EE600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F7E674

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

Preview Lab → · Contrast checker → · Palette generator →

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