#F6E56B#F6E56B

#F6E56B is a very light, vivid yellow. Relative luminance 0.767; OKLCH L 91.2% C 0.143 H 101.5°. Best body text is #000000 at 16.34:1 contrast (WCAG AA passes).

Color values

HEX#F6E56B
RGBrgb(246, 229, 107)
HSLhsl(53, 89%, 69%)
HSVhsv(53, 57%, 96%)
CMYKcmyk(0%, 6.9%, 56.5%, 3.5%)
CIE-LABlab(90.18, -9.00, 60.45)
CIE-LCHlch(90.18, 61.12, 98.47°)
OKLaboklab(91.23% -0.0284 0.1403)
OKLCHoklch(91.23% 0.143 101.5)
XYZxyz(68.6816, 76.6956, 25.0930)
Luminance0.7669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6E56B #6B7CF6
analogous
#F6A06B #F6E56B #C2F66B
triadic
#F6E56B #6BF6E5 #E56BF6
tetradic
#F6E56B #6BF6A0 #6B7CF6 #F66BC2
square
#F6E56B #6BF6A0 #6B7CF6 #F66BC2
split-complementary
#F6E56B #6BC2F6 #A06BF6
monochromatic
#D9C00D #F2DB31 #F6E56B #FAEFA5 #FDF9DE

Accessibility & contrast

On white

1.29
#F6E56B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.34
#F6E56B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6E56B
16.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6E56B#FFFFFF#000000##000000
##F6E56B1.001.2916.3416.34
#FFFFFF1.291.0021.0021.00
#00000016.3421.001.001.00
##00000016.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DF5F
Deuteranopia (green-blind)
#FDE671
Tritanopia (blue-blind)
#FFD7CA
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f6e56b;
/* rgb */ color: rgb(246, 229, 107);
/* oklch */ color: oklch(91.2% 0.143 101.5);
Tailwind
colors: {
  custom: {
    50: '#fced99',
    500: '#f6e56b',
    950: '#000000',
  },
}
SCSS
$custom: #f6e56b;
$custom-light: #fced99;
$custom-dark: #000000;
JSON
{
  "hex": "#f6e56b",
  "rgb": {
    "r": 246,
    "g": 229,
    "b": 107
  },
  "hsl": {
    "h": 52.662,
    "s": 88.535,
    "l": 69.216
  },
  "oklch": {
    "l": 0.91227,
    "c": 0.14319,
    "h": 101.5
  },
  "luminance": 0.76693
}

Semantic roles & 50–950 ramp

primary
#F6E56B
secondary
#3648D0
accent
#1CE500
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F6E56B

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

Preview Lab → · Contrast checker → · Palette generator →

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