#F6E770#F6E770

#F6E770 is a very light, vivid yellow. Relative luminance 0.779; OKLCH L 91.7% C 0.141 H 102.2°. Best body text is #000000 at 16.58:1 contrast (WCAG AA passes).

Color values

HEX#F6E770
RGBrgb(246, 231, 112)
HSLhsl(53, 88%, 70%)
HSVhsv(53, 54%, 96%)
CMYKcmyk(0%, 6.1%, 54.5%, 3.5%)
CIE-LABlab(90.74, -9.62, 58.85)
CIE-LCHlch(90.74, 59.63, 99.28°)
OKLaboklab(91.69% -0.0297 0.1374)
OKLCHoklch(91.69% 0.141 102.2)
XYZxyz(69.5089, 77.9170, 26.7042)
Luminance0.7792 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6E770 #707FF6
analogous
#F6A470 #F6E770 #C2F670
triadic
#F6E770 #70F6E7 #E770F6
tetradic
#F6E770 #70F6A4 #707FF6 #F670C2
square
#F6E770 #70F6A4 #707FF6 #F670C2
split-complementary
#F6E770 #70C2F6 #A470F6
monochromatic
#DEC60E #F2DD36 #F6E770 #FAF1AA #FDFAE2

Accessibility & contrast

On white

1.27
#F6E770 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.58
#F6E770 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6E770
16.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6E770#FFFFFF#000000##000000
##F6E7701.001.2716.5816.58
#FFFFFF1.271.0021.0021.00
#00000016.5821.001.001.00
##00000016.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E164
Deuteranopia (green-blind)
#FEE876
Tritanopia (blue-blind)
#FFD9CC
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f6e770;
/* rgb */ color: rgb(246, 231, 112);
/* oklch */ color: oklch(91.7% 0.141 102.2);
Tailwind
colors: {
  custom: {
    50: '#fcee9c',
    500: '#f6e770',
    950: '#000000',
  },
}
SCSS
$custom: #f6e770;
$custom-light: #fcee9c;
$custom-dark: #000000;
JSON
{
  "hex": "#f6e770",
  "rgb": {
    "r": 246,
    "g": 231,
    "b": 112
  },
  "hsl": {
    "h": 53.284,
    "s": 88.158,
    "l": 70.196
  },
  "oklch": {
    "l": 0.91688,
    "c": 0.14061,
    "h": 102.2
  },
  "luminance": 0.77915
}

Semantic roles & 50–950 ramp

primary
#F6E770
secondary
#3A4BD0
accent
#1AE501
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F6E770

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

Preview Lab → · Contrast checker → · Palette generator →

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