#F6E56F#F6E56F

#F6E56F is a very light, vivid yellow. Relative luminance 0.768; OKLCH L 91.3% C 0.140 H 101.2°. Best body text is #000000 at 16.36:1 contrast (WCAG AA passes).

Color values

HEX#F6E56F
RGBrgb(246, 229, 111)
HSLhsl(52, 88%, 70%)
HSVhsv(52, 55%, 96%)
CMYKcmyk(0%, 6.9%, 54.9%, 3.5%)
CIE-LABlab(90.22, -8.70, 58.70)
CIE-LCHlch(90.22, 59.34, 98.43°)
OKLaboklab(91.27% -0.0271 0.137)
OKLCHoklch(91.27% 0.14 101.2)
XYZxyz(68.8969, 76.7817, 26.2270)
Luminance0.7678 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6E56F #6F80F6
analogous
#F6A16F #F6E56F #C4F66F
triadic
#F6E56F #6FF6E5 #E56FF6
tetradic
#F6E56F #6FF6A1 #6F80F6 #F66FC4
square
#F6E56F #6FF6A1 #6F80F6 #F66FC4
split-complementary
#F6E56F #6FC4F6 #A16FF6
monochromatic
#DDC30E #F2DB35 #F6E56F #FAEFA9 #FDFAE2

Accessibility & contrast

On white

1.28
#F6E56F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.36
#F6E56F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6E56F
16.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6E56F#FFFFFF#000000##000000
##F6E56F1.001.2816.3616.36
#FFFFFF1.281.0021.0021.00
#00000016.3621.001.001.00
##00000016.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DF63
Deuteranopia (green-blind)
#FCE675
Tritanopia (blue-blind)
#FFD7CB
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f6e56f;
/* rgb */ color: rgb(246, 229, 111);
/* oklch */ color: oklch(91.3% 0.140 101.2);
Tailwind
colors: {
  custom: {
    50: '#fced9c',
    500: '#f6e56f',
    950: '#000000',
  },
}
SCSS
$custom: #f6e56f;
$custom-light: #fced9c;
$custom-dark: #000000;
JSON
{
  "hex": "#f6e56f",
  "rgb": {
    "r": 246,
    "g": 229,
    "b": 111
  },
  "hsl": {
    "h": 52.444,
    "s": 88.235,
    "l": 70
  },
  "oklch": {
    "l": 0.91271,
    "c": 0.13967,
    "h": 101.2
  },
  "luminance": 0.76779
}

Semantic roles & 50–950 ramp

primary
#F6E56F
secondary
#394CD0
accent
#1DE501
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F6E56F

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

Preview Lab → · Contrast checker → · Palette generator →

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