#F6E970#F6E970

#F6E970 is a very light, vivid yellow. Relative luminance 0.790; OKLCH L 92.1% C 0.142 H 103.2°. Best body text is #000000 at 16.81:1 contrast (WCAG AA passes).

Color values

HEX#F6E970
RGBrgb(246, 233, 112)
HSLhsl(54, 88%, 70%)
HSVhsv(54, 54%, 96%)
CMYKcmyk(0%, 5.3%, 54.5%, 3.5%)
CIE-LABlab(91.25, -10.61, 59.44)
CIE-LCHlch(91.25, 60.38, 100.12°)
OKLaboklab(92.09% -0.0325 0.1387)
OKLCHoklch(92.09% 0.142 103.2)
XYZxyz(70.0718, 79.0429, 26.8918)
Luminance0.7904 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6E970 #707DF6
analogous
#F6A670 #F6E970 #C0F670
triadic
#F6E970 #70F6E9 #E970F6
tetradic
#F6E970 #70F6A6 #707DF6 #F670C0
square
#F6E970 #70F6A6 #707DF6 #F670C0
split-complementary
#F6E970 #70C0F6 #A670F6
monochromatic
#DEC90E #F2E036 #F6E970 #FAF2AA #FDFBE2

Accessibility & contrast

On white

1.25
#F6E970 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.81
#F6E970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6E970
16.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6E970#FFFFFF#000000##000000
##F6E9701.001.2516.8116.81
#FFFFFF1.251.0021.0021.00
#00000016.8121.001.001.00
##00000016.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE264
Deuteranopia (green-blind)
#FFE976
Tritanopia (blue-blind)
#FFDBCE
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f6e970;
/* rgb */ color: rgb(246, 233, 112);
/* oklch */ color: oklch(92.1% 0.142 103.2);
Tailwind
colors: {
  custom: {
    50: '#fcef9c',
    500: '#f6e970',
    950: '#000000',
  },
}
SCSS
$custom: #f6e970;
$custom-light: #fcef9c;
$custom-dark: #000000;
JSON
{
  "hex": "#f6e970",
  "rgb": {
    "r": 246,
    "g": 233,
    "b": 112
  },
  "hsl": {
    "h": 54.179,
    "s": 88.158,
    "l": 70.196
  },
  "oklch": {
    "l": 0.92094,
    "c": 0.14247,
    "h": 103.2
  },
  "luminance": 0.79041
}

Semantic roles & 50–950 ramp

primary
#F6E970
secondary
#3A48D0
accent
#17E501
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F6E970

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

Preview Lab → · Contrast checker → · Palette generator →

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