#F6E27F#F6E27F

#F6E27F is a very light, vivid yellow. Relative luminance 0.755; OKLCH L 90.9% C 0.122 H 98.2°. Best body text is #000000 at 16.10:1 contrast (WCAG AA passes).

Color values

HEX#F6E27F
RGBrgb(246, 226, 127)
HSLhsl(50, 87%, 73%)
HSVhsv(50, 48%, 96%)
CMYKcmyk(0%, 8.1%, 48.4%, 3.5%)
CIE-LABlab(89.64, -5.88, 50.54)
CIE-LCHlch(89.64, 50.88, 96.64°)
OKLaboklab(90.87% -0.0173 0.1206)
OKLCHoklch(90.87% 0.122 98.2)
XYZxyz(69.0352, 75.5204, 31.0150)
Luminance0.7552 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6E27F #7F93F6
analogous
#F6A67F #F6E27F #CEF67F
triadic
#F6E27F #7FF6E2 #E27FF6
tetradic
#F6E27F #7FF6A6 #7F93F6 #F67FCE
square
#F6E27F #7FF6A6 #7F93F6 #F67FCE
split-complementary
#F6E27F #7FCEF6 #A67FF6
monochromatic
#EAC610 #F2D546 #F6E27F #FAEFB8 #FDF9E2

Accessibility & contrast

On white

1.30
#F6E27F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.10
#F6E27F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6E27F
16.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6E27F#FFFFFF#000000##000000
##F6E27F1.001.3016.1016.10
#FFFFFF1.301.0021.0021.00
#00000016.1021.001.001.00
##00000016.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DD77
Deuteranopia (green-blind)
#F9E483
Tritanopia (blue-blind)
#FFD5CB
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f6e27f;
/* rgb */ color: rgb(246, 226, 127);
/* oklch */ color: oklch(90.9% 0.122 98.2);
Tailwind
colors: {
  custom: {
    50: '#fbeaa6',
    500: '#f6e27f',
    950: '#000000',
  },
}
SCSS
$custom: #f6e27f;
$custom-light: #fbeaa6;
$custom-dark: #000000;
JSON
{
  "hex": "#f6e27f",
  "rgb": {
    "r": 246,
    "g": 226,
    "b": 127
  },
  "hsl": {
    "h": 49.916,
    "s": 86.861,
    "l": 73.137
  },
  "oklch": {
    "l": 0.90865,
    "c": 0.12188,
    "h": 98.2
  },
  "luminance": 0.75518
}

Semantic roles & 50–950 ramp

primary
#F6E27F
secondary
#475ED2
accent
#28E302
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F6E27F

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

Preview Lab → · Contrast checker → · Palette generator →

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