#F7E168#F7E168

#F7E168 is a very light, vivid yellow. Relative luminance 0.746; OKLCH L 90.5% C 0.142 H 99.1°. Best body text is #000000 at 15.92:1 contrast (WCAG AA passes).

Color values

HEX#F7E168
RGBrgb(247, 225, 104)
HSLhsl(51, 90%, 69%)
HSVhsv(51, 58%, 97%)
CMYKcmyk(0%, 8.9%, 57.9%, 3.1%)
CIE-LABlab(89.22, -6.81, 60.72)
CIE-LCHlch(89.22, 61.10, 96.40°)
OKLaboklab(90.47% -0.0225 0.1405)
OKLCHoklch(90.47% 0.142 99.1)
XYZxyz(67.7843, 74.6269, 23.9279)
Luminance0.7462 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E168 #687EF7
analogous
#F79A68 #F7E168 #C6F768
triadic
#F7E168 #68F7E1 #E168F7
tetradic
#F7E168 #68F79A #687EF7 #F768C6
square
#F7E168 #68F79A #687EF7 #F768C6
split-complementary
#F7E168 #68C6F7 #9A68F7
monochromatic
#D9B90C #F4D52E #F7E168 #FAEDA2 #FDF8DC

Accessibility & contrast

On white

1.32
#F7E168 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.92
#F7E168 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E168
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E168#FFFFFF#000000##000000
##F7E1681.001.3215.9215.92
#FFFFFF1.321.0021.0021.00
#00000015.9221.001.001.00
##00000015.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DC5B
Deuteranopia (green-blind)
#FAE46E
Tritanopia (blue-blind)
#FFD3C6
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f7e168;
/* rgb */ color: rgb(247, 225, 104);
/* oklch */ color: oklch(90.5% 0.142 99.1);
Tailwind
colors: {
  custom: {
    50: '#fdea97',
    500: '#f7e168',
    950: '#000000',
  },
}
SCSS
$custom: #f7e168;
$custom-light: #fdea97;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e168",
  "rgb": {
    "r": 247,
    "g": 225,
    "b": 104
  },
  "hsl": {
    "h": 50.769,
    "s": 89.937,
    "l": 68.824
  },
  "oklch": {
    "l": 0.90473,
    "c": 0.14234,
    "h": 99.1
  },
  "luminance": 0.74624
}

Semantic roles & 50–950 ramp

primary
#F7E168
secondary
#334BD1
accent
#23E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F7E168

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

Preview Lab → · Contrast checker → · Palette generator →

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