#F7F06F#F7F06F

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

Color values

HEX#F7F06F
RGBrgb(247, 240, 111)
HSLhsl(57, 89%, 70%)
HSVhsv(57, 55%, 97%)
CMYKcmyk(0%, 2.8%, 55.1%, 3.1%)
CIE-LABlab(93.12, -13.74, 62.04)
CIE-LCHlch(93.12, 63.54, 102.48°)
OKLaboklab(93.6% -0.0416 0.1442)
OKLCHoklch(93.6% 0.15 106.1)
XYZxyz(72.3893, 83.2442, 27.2904)
Luminance0.8324 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F06F #6F76F7
analogous
#F7AC6F #F7F06F #BAF76F
triadic
#F7F06F #6FF7F0 #F06FF7
tetradic
#F7F06F #6FF7AC #6F76F7 #F76FBA
square
#F7F06F #6FF7AC #6F76F7 #F76FBA
split-complementary
#F7F06F #6FBAF7 #AC6FF7
monochromatic
#DFD40C #F4EA35 #F7F06F #FAF6A9 #FDFCE2

Accessibility & contrast

On white

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

On black

17.65
#F7F06F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F06F
17.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F06F#FFFFFF#000000##000000
##F7F06F1.001.1917.6517.65
#FFFFFF1.191.0021.0021.00
#00000017.6521.001.001.00
##00000017.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE862
Deuteranopia (green-blind)
#FFEE76
Tritanopia (blue-blind)
#FFE2D4
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f7f06f;
/* rgb */ color: rgb(247, 240, 111);
/* oklch */ color: oklch(93.6% 0.150 106.1);
Tailwind
colors: {
  custom: {
    50: '#fcf49c',
    500: '#f7f06f',
    950: '#000000',
  },
}
SCSS
$custom: #f7f06f;
$custom-light: #fcf49c;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f06f",
  "rgb": {
    "r": 247,
    "g": 240,
    "b": 111
  },
  "hsl": {
    "h": 56.912,
    "s": 89.474,
    "l": 70.196
  },
  "oklch": {
    "l": 0.93595,
    "c": 0.15006,
    "h": 106.1
  },
  "luminance": 0.83242
}

Semantic roles & 50–950 ramp

primary
#F7F06F
secondary
#3941D1
accent
#0CE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F7F06F

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

Preview Lab → · Contrast checker → · Palette generator →

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