#F7E06B#F7E06B

#F7E06B is a very light, vivid yellow. Relative luminance 0.741; OKLCH L 90.3% C 0.139 H 98.3°. Best body text is #000000 at 15.83:1 contrast (WCAG AA passes).

Color values

HEX#F7E06B
RGBrgb(247, 224, 107)
HSLhsl(50, 90%, 69%)
HSVhsv(50, 57%, 97%)
CMYKcmyk(0%, 9.3%, 56.7%, 3.1%)
CIE-LABlab(88.99, -6.09, 59.12)
CIE-LCHlch(88.99, 59.43, 95.88°)
OKLaboklab(90.31% -0.0201 0.1375)
OKLCHoklch(90.31% 0.139 98.3)
XYZxyz(67.6698, 74.1499, 24.6550)
Luminance0.7415 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E06B #6B82F7
analogous
#F79A6B #F7E06B #C8F76B
triadic
#F7E06B #6BF7E0 #E06BF7
tetradic
#F7E06B #6BF79A #6B82F7 #F76BC8
square
#F7E06B #6BF79A #6B82F7 #F76BC8
split-complementary
#F7E06B #6BC8F7 #9A6BF7
monochromatic
#DCBA0C #F4D431 #F7E06B #FAECA5 #FDF8DF

Accessibility & contrast

On white

1.33
#F7E06B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.83
#F7E06B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E06B
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E06B#FFFFFF#000000##000000
##F7E06B1.001.3315.8315.83
#FFFFFF1.331.0021.0021.00
#00000015.8321.001.001.00
##00000015.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DB5F
Deuteranopia (green-blind)
#F9E370
Tritanopia (blue-blind)
#FFD2C6
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f7e06b;
/* rgb */ color: rgb(247, 224, 107);
/* oklch */ color: oklch(90.3% 0.139 98.3);
Tailwind
colors: {
  custom: {
    50: '#fde999',
    500: '#f7e06b',
    950: '#000000',
  },
}
SCSS
$custom: #f7e06b;
$custom-light: #fde999;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e06b",
  "rgb": {
    "r": 247,
    "g": 224,
    "b": 107
  },
  "hsl": {
    "h": 50.143,
    "s": 89.744,
    "l": 69.412
  },
  "oklch": {
    "l": 0.90305,
    "c": 0.13893,
    "h": 98.3
  },
  "luminance": 0.74147
}

Semantic roles & 50–950 ramp

primary
#F7E06B
secondary
#354FD1
accent
#26E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F7E06B

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

Preview Lab → · Contrast checker → · Palette generator →

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