#F6E170#F6E170

#F6E170 is a very light, vivid yellow. Relative luminance 0.746; OKLCH L 90.5% C 0.135 H 99.0°. Best body text is #000000 at 15.92:1 contrast (WCAG AA passes).

Color values

HEX#F6E170
RGBrgb(246, 225, 112)
HSLhsl(51, 88%, 70%)
HSVhsv(51, 54%, 96%)
CMYKcmyk(0%, 8.5%, 54.5%, 3.5%)
CIE-LABlab(89.21, -6.62, 57.08)
CIE-LCHlch(89.21, 57.46, 96.62°)
OKLaboklab(90.48% -0.0211 0.1336)
OKLCHoklch(90.48% 0.135 99)
XYZxyz(67.8583, 74.6158, 26.1540)
Luminance0.7461 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6E170 #7085F6
analogous
#F69E70 #F6E170 #C8F670
triadic
#F6E170 #70F6E1 #E170F6
tetradic
#F6E170 #70F69E #7085F6 #F670C8
square
#F6E170 #70F69E #7085F6 #F670C8
split-complementary
#F6E170 #70C8F6 #9E70F6
monochromatic
#DEBD0E #F2D536 #F6E170 #FAEDAA #FDF9E2

Accessibility & contrast

On white

1.32
#F6E170 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.92
#F6E170 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6E170
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6E170#FFFFFF#000000##000000
##F6E1701.001.3215.9215.92
#FFFFFF1.321.0021.0021.00
#00000015.9221.001.001.00
##00000015.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DC65
Deuteranopia (green-blind)
#F9E475
Tritanopia (blue-blind)
#FFD3C7
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f6e170;
/* rgb */ color: rgb(246, 225, 112);
/* oklch */ color: oklch(90.5% 0.135 99.0);
Tailwind
colors: {
  custom: {
    50: '#fcea9c',
    500: '#f6e170',
    950: '#000000',
  },
}
SCSS
$custom: #f6e170;
$custom-light: #fcea9c;
$custom-dark: #000000;
JSON
{
  "hex": "#f6e170",
  "rgb": {
    "r": 246,
    "g": 225,
    "b": 112
  },
  "hsl": {
    "h": 50.597,
    "s": 88.158,
    "l": 70.196
  },
  "oklch": {
    "l": 0.90475,
    "c": 0.13526,
    "h": 99
  },
  "luminance": 0.74613
}

Semantic roles & 50–950 ramp

primary
#F6E170
secondary
#3A51D0
accent
#24E501
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F6E170

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

Preview Lab → · Contrast checker → · Palette generator →

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