#F6D161#F6D161

#F6D161 is a very light, vivid yellow. Relative luminance 0.661; OKLCH L 87.1% C 0.136 H 91.0°. Best body text is #000000 at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#F6D161
RGBrgb(246, 209, 97)
HSLhsl(45, 89%, 67%)
HSVhsv(45, 61%, 96%)
CMYKcmyk(0%, 15%, 60.6%, 3.5%)
CIE-LABlab(85.03, 0.41, 59.11)
CIE-LCHlch(85.03, 59.11, 89.60°)
OKLaboklab(87.12% -0.0025 0.1363)
OKLCHoklch(87.12% 0.136 91)
XYZxyz(62.9671, 66.0602, 20.7412)
Luminance0.6606 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6D161 #6186F6
analogous
#F68761 #F6D161 #D0F661
triadic
#F6D161 #61F6D1 #D161F6
tetradic
#F6D161 #61F687 #6186F6 #F661D0
square
#F6D161 #61F687 #6186F6 #F661D0
split-complementary
#F6D161 #61D0F6 #8761F6
monochromatic
#D1A00C #F3C027 #F6D161 #F9E29B #FDF3D5

Accessibility & contrast

On white

1.48
#F6D161 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.21
#F6D161 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6D161
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6D161#FFFFFF#000000##000000
##F6D1611.001.4814.2114.21
#FFFFFF1.481.0021.0021.00
#00000014.2121.001.001.00
##00000014.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CE55
Deuteranopia (green-blind)
#EFD966
Tritanopia (blue-blind)
#FFC2B8
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #f6d161;
/* rgb */ color: rgb(246, 209, 97);
/* oklch */ color: oklch(87.1% 0.136 91.0);
Tailwind
colors: {
  custom: {
    50: '#fcde92',
    500: '#f6d161',
    950: '#000000',
  },
}
SCSS
$custom: #f6d161;
$custom-light: #fcde92;
$custom-dark: #000000;
JSON
{
  "hex": "#f6d161",
  "rgb": {
    "r": 246,
    "g": 209,
    "b": 97
  },
  "hsl": {
    "h": 45.101,
    "s": 89.222,
    "l": 67.255
  },
  "oklch": {
    "l": 0.87117,
    "c": 0.13628,
    "h": 91
  },
  "luminance": 0.66057
}

Semantic roles & 50–950 ramp

primary
#F6D161
secondary
#2F56CC
accent
#39E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F6D161

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

Preview Lab → · Contrast checker → · Palette generator →

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