#F6E97E#F6E97E

#F6E97E is a very light, vivid yellow. Relative luminance 0.794; OKLCH L 92.3% C 0.129 H 102.4°. Best body text is #000000 at 16.88:1 contrast (WCAG AA passes).

Color values

HEX#F6E97E
RGBrgb(246, 233, 126)
HSLhsl(54, 87%, 73%)
HSVhsv(54, 49%, 96%)
CMYKcmyk(0%, 5.3%, 48.8%, 3.5%)
CIE-LABlab(91.41, -9.47, 53.16)
CIE-LCHlch(91.41, 53.99, 100.10°)
OKLaboklab(92.26% -0.0278 0.1263)
OKLCHoklch(92.26% 0.129 102.4)
XYZxyz(70.9128, 79.3793, 31.3209)
Luminance0.7938 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6E97E #7E8BF6
analogous
#F6AD7E #F6E97E #C7F67E
triadic
#F6E97E #7EF6E9 #E97EF6
tetradic
#F6E97E #7EF6AD #7E8BF6 #F67EC7
square
#F6E97E #7EF6AD #7E8BF6 #F67EC7
split-complementary
#F6E97E #7EC7F6 #AD7EF6
monochromatic
#E9D210 #F2DF45 #F6E97E #FAF3B7 #FDFAE2

Accessibility & contrast

On white

1.24
#F6E97E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.88
#F6E97E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6E97E
16.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6E97E#FFFFFF#000000##000000
##F6E97E1.001.2416.8816.88
#FFFFFF1.241.0021.0021.00
#00000016.8821.001.001.00
##00000016.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE375
Deuteranopia (green-blind)
#FEE983
Tritanopia (blue-blind)
#FFDCD0
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f6e97e;
/* rgb */ color: rgb(246, 233, 126);
/* oklch */ color: oklch(92.3% 0.129 102.4);
Tailwind
colors: {
  custom: {
    50: '#fbefa6',
    500: '#f6e97e',
    950: '#000000',
  },
}
SCSS
$custom: #f6e97e;
$custom-light: #fbefa6;
$custom-dark: #000000;
JSON
{
  "hex": "#f6e97e",
  "rgb": {
    "r": 246,
    "g": 233,
    "b": 126
  },
  "hsl": {
    "h": 53.5,
    "s": 86.957,
    "l": 72.941
  },
  "oklch": {
    "l": 0.92264,
    "c": 0.12936,
    "h": 102.4
  },
  "luminance": 0.79377
}

Semantic roles & 50–950 ramp

primary
#F6E97E
secondary
#4655D2
accent
#1AE402
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #F6E97E

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

Preview Lab → · Contrast checker → · Palette generator →

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