#F7E46B#F7E46B

#F7E46B is a very light, vivid yellow. Relative luminance 0.763; OKLCH L 91.1% C 0.142 H 100.5°. Best body text is #000000 at 16.26:1 contrast (WCAG AA passes).

Color values

HEX#F7E46B
RGBrgb(247, 228, 107)
HSLhsl(52, 90%, 69%)
HSVhsv(52, 57%, 97%)
CMYKcmyk(0%, 7.7%, 56.7%, 3.1%)
CIE-LABlab(90.01, -8.09, 60.28)
CIE-LCHlch(90.01, 60.82, 97.65°)
OKLaboklab(91.11% -0.0259 0.14)
OKLCHoklch(91.11% 0.142 100.5)
XYZxyz(68.7575, 76.3252, 25.0175)
Luminance0.7632 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E46B #6B7EF7
analogous
#F79E6B #F7E46B #C4F76B
triadic
#F7E46B #6BF7E4 #E46BF7
tetradic
#F7E46B #6BF79E #6B7EF7 #F76BC4
square
#F7E46B #6BF79E #6B7EF7 #F76BC4
split-complementary
#F7E46B #6BC4F7 #9E6BF7
monochromatic
#DCC00C #F4D931 #F7E46B #FAEFA5 #FDF9DF

Accessibility & contrast

On white

1.29
#F7E46B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.26
#F7E46B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E46B
16.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E46B#FFFFFF#000000##000000
##F7E46B1.001.2916.2616.26
#FFFFFF1.291.0021.0021.00
#00000016.2621.001.001.00
##00000016.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DE5F
Deuteranopia (green-blind)
#FCE671
Tritanopia (blue-blind)
#FFD6C9
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f7e46b;
/* rgb */ color: rgb(247, 228, 107);
/* oklch */ color: oklch(91.1% 0.142 100.5);
Tailwind
colors: {
  custom: {
    50: '#fdec99',
    500: '#f7e46b',
    950: '#000000',
  },
}
SCSS
$custom: #f7e46b;
$custom-light: #fdec99;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e46b",
  "rgb": {
    "r": 247,
    "g": 228,
    "b": 107
  },
  "hsl": {
    "h": 51.857,
    "s": 89.744,
    "l": 69.412
  },
  "oklch": {
    "l": 0.91111,
    "c": 0.14233,
    "h": 100.5
  },
  "luminance": 0.76322
}

Semantic roles & 50–950 ramp

primary
#F7E46B
secondary
#354AD1
accent
#1FE600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F7E46B

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

Preview Lab → · Contrast checker → · Palette generator →

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