#F7E672#F7E672

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

Color values

HEX#F7E672
RGBrgb(247, 230, 114)
HSLhsl(52, 89%, 71%)
HSVhsv(52, 54%, 97%)
CMYKcmyk(0%, 6.9%, 53.8%, 3.1%)
CIE-LABlab(90.59, -8.57, 57.78)
CIE-LCHlch(90.59, 58.42, 98.43°)
OKLaboklab(91.59% -0.0265 0.1353)
OKLCHoklch(91.59% 0.138 101.1)
XYZxyz(69.6942, 77.5853, 27.2206)
Luminance0.7758 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E672 #7283F7
analogous
#F7A372 #F7E672 #C5F772
triadic
#F7E672 #72F7E6 #E672F7
tetradic
#F7E672 #72F7A3 #7283F7 #F772C5
square
#F7E672 #72F7A3 #7283F7 #F772C5
split-complementary
#F7E672 #72C5F7 #A372F7
monochromatic
#E2C70D #F4DC38 #F7E672 #FAF0AC #FDFAE2

Accessibility & contrast

On white

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

On black

16.52
#F7E672 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E672
16.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E672#FFFFFF#000000##000000
##F7E6721.001.2716.5216.52
#FFFFFF1.271.0021.0021.00
#00000016.5221.001.001.00
##00000016.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f7e672;
/* rgb */ color: rgb(247, 230, 114);
/* oklch */ color: oklch(91.6% 0.138 101.1);
Tailwind
colors: {
  custom: {
    50: '#fced9e',
    500: '#f7e672',
    950: '#000000',
  },
}
SCSS
$custom: #f7e672;
$custom-light: #fced9e;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e672",
  "rgb": {
    "r": 247,
    "g": 230,
    "b": 114
  },
  "hsl": {
    "h": 52.331,
    "s": 89.262,
    "l": 70.784
  },
  "oklch": {
    "l": 0.91594,
    "c": 0.1379,
    "h": 101.1
  },
  "luminance": 0.77583
}

Semantic roles & 50–950 ramp

primary
#F7E672
secondary
#3B4FD2
accent
#1DE600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F7E672

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

Preview Lab → · Contrast checker → · Palette generator →

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