#F7F06C#F7F06C

#F7F06C is a very light, vivid yellow. Relative luminance 0.832; OKLCH L 93.6% C 0.153 H 106.2°. Best body text is #000000 at 17.64:1 contrast (WCAG AA passes).

Color values

HEX#F7F06C
RGBrgb(247, 240, 108)
HSLhsl(57, 90%, 70%)
HSVhsv(57, 56%, 97%)
CMYKcmyk(0%, 2.8%, 56.3%, 3.1%)
CIE-LABlab(93.09, -13.96, 63.32)
CIE-LCHlch(93.09, 64.84, 102.43°)
OKLaboklab(93.56% -0.0425 0.1466)
OKLCHoklch(93.56% 0.153 106.2)
XYZxyz(72.2269, 83.1793, 26.4350)
Luminance0.8318 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F06C #6C73F7
analogous
#F7AA6C #F7F06C #B9F76C
triadic
#F7F06C #6CF7F0 #F06CF7
tetradic
#F7F06C #6CF7AA #6C73F7 #F76CB9
square
#F7F06C #6CF7AA #6C73F7 #F76CB9
split-complementary
#F7F06C #6CB9F7 #AA6CF7
monochromatic
#DDD20C #F4EA32 #F7F06C #FAF6A6 #FDFCE0

Accessibility & contrast

On white

1.19
#F7F06C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.64
#F7F06C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F06C
17.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F06C#FFFFFF#000000##000000
##F7F06C1.001.1917.6417.64
#FFFFFF1.191.0021.0021.00
#00000017.6421.001.001.00
##00000017.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE85E
Deuteranopia (green-blind)
#FFEE73
Tritanopia (blue-blind)
#FFE2D3
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f7f06c;
/* rgb */ color: rgb(247, 240, 108);
/* oklch */ color: oklch(93.6% 0.153 106.2);
Tailwind
colors: {
  custom: {
    50: '#fdf49a',
    500: '#f7f06c',
    950: '#000000',
  },
}
SCSS
$custom: #f7f06c;
$custom-light: #fdf49a;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f06c",
  "rgb": {
    "r": 247,
    "g": 240,
    "b": 108
  },
  "hsl": {
    "h": 56.978,
    "s": 89.677,
    "l": 69.608
  },
  "oklch": {
    "l": 0.93563,
    "c": 0.15264,
    "h": 106.2
  },
  "luminance": 0.83177
}

Semantic roles & 50–950 ramp

primary
#F7F06C
secondary
#363ED1
accent
#0CE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F7F06C

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

Preview Lab → · Contrast checker → · Palette generator →

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