#F6E18D#F6E18D

#F6E18D is a very light, moderate yellow. Relative luminance 0.754; OKLCH L 90.9% C 0.107 H 95.8°. Best body text is #000000 at 16.07:1 contrast (WCAG AA passes).

Color values

HEX#F6E18D
RGBrgb(246, 225, 141)
HSLhsl(48, 85%, 76%)
HSVhsv(48, 43%, 96%)
CMYKcmyk(0%, 8.5%, 42.7%, 3.5%)
CIE-LABlab(89.57, -4.05, 43.63)
CIE-LCHlch(89.57, 43.81, 95.30°)
OKLaboklab(90.87% -0.0107 0.1061)
OKLCHoklch(90.87% 0.107 95.8)
XYZxyz(69.7407, 75.3688, 36.0681)
Luminance0.7537 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6E18D #8DA2F6
analogous
#F6AC8D #F6E18D #D6F68D
triadic
#F6E18D #8DF6E1 #E18DF6
tetradic
#F6E18D #8DF6AC #8DA2F6 #F68DD6
square
#F6E18D #8DF6AC #8DA2F6 #F68DD6
split-complementary
#F6E18D #8DD6F6 #AC8DF6
monochromatic
#EDC31C #F2D254 #F6E18D #FAF0C6 #FDF8E3

Accessibility & contrast

On white

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

On black

16.07
#F6E18D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6E18D
16.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6E18D#FFFFFF#000000##000000
##F6E18D1.001.3116.0716.07
#FFFFFF1.311.0021.0021.00
#00000016.0721.001.001.00
##00000016.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DD87
Deuteranopia (green-blind)
#F6E490
Tritanopia (blue-blind)
#FFD5CC
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f6e18d;
/* rgb */ color: rgb(246, 225, 141);
/* oklch */ color: oklch(90.9% 0.107 95.8);
Tailwind
colors: {
  custom: {
    50: '#fbeaaf',
    500: '#f6e18d',
    950: '#000000',
  },
}
SCSS
$custom: #f6e18d;
$custom-light: #fbeaaf;
$custom-dark: #000000;
JSON
{
  "hex": "#f6e18d",
  "rgb": {
    "r": 246,
    "g": 225,
    "b": 141
  },
  "hsl": {
    "h": 48,
    "s": 85.366,
    "l": 75.882
  },
  "oklch": {
    "l": 0.90868,
    "c": 0.1066,
    "h": 95.8
  },
  "luminance": 0.75366
}

Semantic roles & 50–950 ramp

primary
#F6E18D
secondary
#536DD4
accent
#30E204
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #F6E18D

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

Preview Lab → · Contrast checker → · Palette generator →

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