#F7F06B#F7F06B

#F7F06B 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.63:1 contrast (WCAG AA passes).

Color values

HEX#F7F06B
RGBrgb(247, 240, 107)
HSLhsl(57, 90%, 69%)
HSVhsv(57, 57%, 97%)
CMYKcmyk(0%, 2.8%, 56.7%, 3.1%)
CIE-LABlab(93.08, -14.03, 63.75)
CIE-LCHlch(93.08, 65.27, 102.41°)
OKLaboklab(93.55% -0.0428 0.1474)
OKLCHoklch(93.55% 0.153 106.2)
XYZxyz(72.1739, 83.1581, 26.1563)
Luminance0.8316 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F06B #6B72F7
analogous
#F7AA6B #F7F06B #B8F76B
triadic
#F7F06B #6BF7F0 #F06BF7
tetradic
#F7F06B #6BF7AA #6B72F7 #F76BB8
square
#F7F06B #6BF7AA #6B72F7 #F76BB8
split-complementary
#F7F06B #6BB8F7 #AA6BF7
monochromatic
#DCD10C #F4EA31 #F7F06B #FAF6A5 #FDFCDF

Accessibility & contrast

On white

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

On black

17.63
#F7F06B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F06B
17.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F06B#FFFFFF#000000##000000
##F7F06B1.001.1917.6317.63
#FFFFFF1.191.0021.0021.00
#00000017.6321.001.001.00
##00000017.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f7f06b;
/* rgb */ color: rgb(247, 240, 107);
/* oklch */ color: oklch(93.6% 0.153 106.2);
Tailwind
colors: {
  custom: {
    50: '#fdf49a',
    500: '#f7f06b',
    950: '#000000',
  },
}
SCSS
$custom: #f7f06b;
$custom-light: #fdf49a;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f06b",
  "rgb": {
    "r": 247,
    "g": 240,
    "b": 107
  },
  "hsl": {
    "h": 57,
    "s": 89.744,
    "l": 69.412
  },
  "oklch": {
    "l": 0.93553,
    "c": 0.15348,
    "h": 106.2
  },
  "luminance": 0.83156
}

Semantic roles & 50–950 ramp

primary
#F7F06B
secondary
#353DD1
accent
#0BE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F7F06B

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

Preview Lab → · Contrast checker → · Palette generator →

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