#F6E27B#F6E27B

#F6E27B is a very light, vivid yellow. Relative luminance 0.754; OKLCH L 90.8% C 0.126 H 98.6°. Best body text is #000000 at 16.08:1 contrast (WCAG AA passes).

Color values

HEX#F6E27B
RGBrgb(246, 226, 123)
HSLhsl(50, 87%, 72%)
HSVhsv(50, 50%, 96%)
CMYKcmyk(0%, 8.1%, 50%, 3.5%)
CIE-LABlab(89.59, -6.23, 52.39)
CIE-LCHlch(89.59, 52.76, 96.78°)
OKLaboklab(90.81% -0.0187 0.1244)
OKLCHoklch(90.81% 0.126 98.6)
XYZxyz(68.7797, 75.4182, 29.6692)
Luminance0.7542 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6E27B #7B8FF6
analogous
#F6A57B #F6E27B #CCF67B
triadic
#F6E27B #7BF6E2 #E27BF6
tetradic
#F6E27B #7BF6A5 #7B8FF6 #F67BCC
square
#F6E27B #7BF6A5 #7B8FF6 #F67BCC
split-complementary
#F6E27B #7BCCF6 #A57BF6
monochromatic
#E7C410 #F2D542 #F6E27B #FAEFB4 #FDF9E2

Accessibility & contrast

On white

1.31
#F6E27B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.08
#F6E27B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6E27B
16.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6E27B#FFFFFF#000000##000000
##F6E27B1.001.3116.0816.08
#FFFFFF1.311.0021.0021.00
#00000016.0821.001.001.00
##00000016.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DD72
Deuteranopia (green-blind)
#F9E47F
Tritanopia (blue-blind)
#FFD5CA
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f6e27b;
/* rgb */ color: rgb(246, 226, 123);
/* oklch */ color: oklch(90.8% 0.126 98.6);
Tailwind
colors: {
  custom: {
    50: '#fbeaa3',
    500: '#f6e27b',
    950: '#000000',
  },
}
SCSS
$custom: #f6e27b;
$custom-light: #fbeaa3;
$custom-dark: #000000;
JSON
{
  "hex": "#f6e27b",
  "rgb": {
    "r": 246,
    "g": 226,
    "b": 123
  },
  "hsl": {
    "h": 50.244,
    "s": 87.234,
    "l": 72.353
  },
  "oklch": {
    "l": 0.90812,
    "c": 0.12581,
    "h": 98.6
  },
  "luminance": 0.75416
}

Semantic roles & 50–950 ramp

primary
#F6E27B
secondary
#445BD2
accent
#26E402
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F6E27B

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

Preview Lab → · Contrast checker → · Palette generator →

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