#F7E374#F7E374

#F7E374 is a very light, vivid yellow. Relative luminance 0.760; OKLCH L 91.0% C 0.133 H 99.3°. Best body text is #000000 at 16.19:1 contrast (WCAG AA passes).

Color values

HEX#F7E374
RGBrgb(247, 227, 116)
HSLhsl(51, 89%, 71%)
HSVhsv(51, 53%, 97%)
CMYKcmyk(0%, 8.1%, 53%, 3.1%)
CIE-LABlab(89.85, -6.91, 56.00)
CIE-LCHlch(89.85, 56.42, 97.03°)
OKLaboklab(91.01% -0.0215 0.1317)
OKLCHoklch(91.01% 0.133 99.3)
XYZxyz(68.9816, 75.9760, 27.5508)
Luminance0.7597 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E374 #7488F7
analogous
#F7A174 #F7E374 #C9F774
triadic
#F7E374 #74F7E3 #E374F7
tetradic
#F7E374 #74F7A1 #7488F7 #F774C9
square
#F7E374 #74F7A1 #7488F7 #F774C9
split-complementary
#F7E374 #74C9F7 #A174F7
monochromatic
#E4C30D #F4D73A #F7E374 #FAEFAE #FDF9E2

Accessibility & contrast

On white

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

On black

16.19
#F7E374 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E374
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E374#FFFFFF#000000##000000
##F7E3741.001.3016.1916.19
#FFFFFF1.301.0021.0021.00
#00000016.1921.001.001.00
##00000016.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DE6A
Deuteranopia (green-blind)
#FBE579
Tritanopia (blue-blind)
#FFD5CA
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f7e374;
/* rgb */ color: rgb(247, 227, 116);
/* oklch */ color: oklch(91.0% 0.133 99.3);
Tailwind
colors: {
  custom: {
    50: '#fceb9f',
    500: '#f7e374',
    950: '#000000',
  },
}
SCSS
$custom: #f7e374;
$custom-light: #fceb9f;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e374",
  "rgb": {
    "r": 247,
    "g": 227,
    "b": 116
  },
  "hsl": {
    "h": 50.84,
    "s": 89.116,
    "l": 71.176
  },
  "oklch": {
    "l": 0.91012,
    "c": 0.1334,
    "h": 99.3
  },
  "luminance": 0.75973
}

Semantic roles & 50–950 ramp

primary
#F7E374
secondary
#3D54D2
accent
#23E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F7E374

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

Preview Lab → · Contrast checker → · Palette generator →

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