#F6D97E#F6D97E

#F6D97E is a very light, moderate yellow. Relative luminance 0.707; OKLCH L 89.1% C 0.116 H 92.2°. Best body text is #000000 at 15.15:1 contrast (WCAG AA passes).

Color values

HEX#F6D97E
RGBrgb(246, 217, 126)
HSLhsl(46, 87%, 73%)
HSVhsv(46, 49%, 96%)
CMYKcmyk(0%, 11.8%, 48.8%, 3.5%)
CIE-LABlab(87.35, -1.41, 48.23)
CIE-LCHlch(87.35, 48.25, 91.68°)
OKLaboklab(89.06% -0.0045 0.1155)
OKLCHoklch(89.06% 0.116 92.2)
XYZxyz(66.5870, 70.7278, 29.8790)
Luminance0.7073 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6D97E #7E9BF6
analogous
#F69D7E #F6D97E #D7F67E
triadic
#F6D97E #7EF6D9 #D97EF6
tetradic
#F6D97E #7EF69D #7E9BF6 #F67ED7
square
#F6D97E #7EF69D #7E9BF6 #F67ED7
split-complementary
#F6D97E #7ED7F6 #9D7EF6
monochromatic
#E9B510 #F2C845 #F6D97E #FAEAB7 #FDF7E2

Accessibility & contrast

On white

1.39
#F6D97E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.15
#F6D97E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6D97E
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6D97E#FFFFFF#000000##000000
##F6D97E1.001.3915.1515.15
#FFFFFF1.391.0021.0021.00
#00000015.1521.001.001.00
##00000015.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD676
Deuteranopia (green-blind)
#F2DF81
Tritanopia (blue-blind)
#FFCCC3
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f6d97e;
/* rgb */ color: rgb(246, 217, 126);
/* oklch */ color: oklch(89.1% 0.116 92.2);
Tailwind
colors: {
  custom: {
    50: '#fbe4a5',
    500: '#f6d97e',
    950: '#000000',
  },
}
SCSS
$custom: #f6d97e;
$custom-light: #fbe4a5;
$custom-dark: #000000;
JSON
{
  "hex": "#f6d97e",
  "rgb": {
    "r": 246,
    "g": 217,
    "b": 126
  },
  "hsl": {
    "h": 45.5,
    "s": 86.957,
    "l": 72.941
  },
  "oklch": {
    "l": 0.89056,
    "c": 0.11554,
    "h": 92.2
  },
  "luminance": 0.70725
}

Semantic roles & 50–950 ramp

primary
#F6D97E
secondary
#4668D2
accent
#38E402
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18150F
muted
#868480

Preview Lab

Preview with #F6D97E

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

Preview Lab → · Contrast checker → · Palette generator →

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