#F6D97B#F6D97B

#F6D97B is a very light, moderate yellow. Relative luminance 0.706; OKLCH L 89.0% C 0.118 H 92.7°. Best body text is #000000 at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#F6D97B
RGBrgb(246, 217, 123)
HSLhsl(46, 87%, 72%)
HSVhsv(46, 50%, 96%)
CMYKcmyk(0%, 11.8%, 50%, 3.5%)
CIE-LABlab(87.32, -1.68, 49.64)
CIE-LCHlch(87.32, 49.66, 91.94°)
OKLaboklab(89.01% -0.0056 0.1183)
OKLCHoklch(89.01% 0.118 92.7)
XYZxyz(66.3963, 70.6515, 28.8748)
Luminance0.7065 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6D97B #7B98F6
analogous
#F69C7B #F6D97B #D5F67B
triadic
#F6D97B #7BF6D9 #D97BF6
tetradic
#F6D97B #7BF69C #7B98F6 #F67BD5
square
#F6D97B #7BF69C #7B98F6 #F67BD5
split-complementary
#F6D97B #7BD5F6 #9C7BF6
monochromatic
#E7B410 #F2C942 #F6D97B #FAE9B4 #FDF7E2

Accessibility & contrast

On white

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

On black

15.13
#F6D97B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6D97B
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6D97B#FFFFFF#000000##000000
##F6D97B1.001.3915.1315.13
#FFFFFF1.391.0021.0021.00
#00000015.1321.001.001.00
##00000015.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f6d97b;
/* rgb */ color: rgb(246, 217, 123);
/* oklch */ color: oklch(89.0% 0.118 92.7);
Tailwind
colors: {
  custom: {
    50: '#fbe4a3',
    500: '#f6d97b',
    950: '#000000',
  },
}
SCSS
$custom: #f6d97b;
$custom-light: #fbe4a3;
$custom-dark: #000000;
JSON
{
  "hex": "#f6d97b",
  "rgb": {
    "r": 246,
    "g": 217,
    "b": 123
  },
  "hsl": {
    "h": 45.854,
    "s": 87.234,
    "l": 72.353
  },
  "oklch": {
    "l": 0.89014,
    "c": 0.11847,
    "h": 92.7
  },
  "luminance": 0.70649
}

Semantic roles & 50–950 ramp

primary
#F6D97B
secondary
#4465D2
accent
#37E402
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18150F
muted
#868480

Preview Lab

Preview with #F6D97B

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

Preview Lab → · Contrast checker → · Palette generator →

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