#F6E27A#F6E27A

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

Color values

HEX#F6E27A
RGBrgb(246, 226, 122)
HSLhsl(50, 87%, 72%)
HSVhsv(50, 50%, 96%)
CMYKcmyk(0%, 8.1%, 50.4%, 3.5%)
CIE-LABlab(89.58, -6.31, 52.85)
CIE-LCHlch(89.58, 53.22, 96.81°)
OKLaboklab(90.8% -0.0191 0.1253)
OKLCHoklch(90.8% 0.127 98.7)
XYZxyz(68.7174, 75.3933, 29.3412)
Luminance0.7539 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6E27A #7A8EF6
analogous
#F6A47A #F6E27A #CCF67A
triadic
#F6E27A #7AF6E2 #E27AF6
tetradic
#F6E27A #7AF6A4 #7A8EF6 #F67ACC
square
#F6E27A #7AF6A4 #7A8EF6 #F67ACC
split-complementary
#F6E27A #7ACCF6 #A47AF6
monochromatic
#E6C310 #F2D641 #F6E27A #FAEEB3 #FDF9E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F6E27A#FFFFFF#000000##000000
##F6E27A1.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)
#F4DD71
Deuteranopia (green-blind)
#F9E47E
Tritanopia (blue-blind)
#FFD5CA
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f6e27a;
/* rgb */ color: rgb(246, 226, 122);
/* oklch */ color: oklch(90.8% 0.127 98.7);
Tailwind
colors: {
  custom: {
    50: '#fbeaa3',
    500: '#f6e27a',
    950: '#000000',
  },
}
SCSS
$custom: #f6e27a;
$custom-light: #fbeaa3;
$custom-dark: #000000;
JSON
{
  "hex": "#f6e27a",
  "rgb": {
    "r": 246,
    "g": 226,
    "b": 122
  },
  "hsl": {
    "h": 50.323,
    "s": 87.324,
    "l": 72.157
  },
  "oklch": {
    "l": 0.90799,
    "c": 0.12678,
    "h": 98.7
  },
  "luminance": 0.75391
}

Semantic roles & 50–950 ramp

primary
#F6E27A
secondary
#435AD2
accent
#26E402
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F6E27A

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

Preview Lab → · Contrast checker → · Palette generator →

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