#F6E08B#F6E08B

#F6E08B is a very light, moderate yellow. Relative luminance 0.748; OKLCH L 90.6% C 0.108 H 95.3°. Best body text is #000000 at 15.95:1 contrast (WCAG AA passes).

Color values

HEX#F6E08B
RGBrgb(246, 224, 139)
HSLhsl(48, 86%, 75%)
HSVhsv(48, 43%, 96%)
CMYKcmyk(0%, 8.9%, 43.5%, 3.5%)
CIE-LABlab(89.29, -3.74, 44.26)
CIE-LCHlch(89.29, 44.42, 94.83°)
OKLaboklab(90.64% -0.01 0.1074)
OKLCHoklch(90.64% 0.108 95.3)
XYZxyz(69.3237, 74.7707, 35.2016)
Luminance0.7477 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6E08B #8BA1F6
analogous
#F6AB8B #F6E08B #D6F68B
triadic
#F6E08B #8BF6E0 #E08BF6
tetradic
#F6E08B #8BF6AB #8BA1F6 #F68BD6
square
#F6E08B #8BF6AB #8BA1F6 #F68BD6
split-complementary
#F6E08B #8BD6F6 #AB8BF6
monochromatic
#EDC219 #F2D152 #F6E08B #FAEFC4 #FDF7E3

Accessibility & contrast

On white

1.32
#F6E08B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.95
#F6E08B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6E08B
15.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6E08B#FFFFFF#000000##000000
##F6E08B1.001.3215.9515.95
#FFFFFF1.321.0021.0021.00
#00000015.9521.001.001.00
##00000015.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DC84
Deuteranopia (green-blind)
#F6E38E
Tritanopia (blue-blind)
#FFD4CB
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f6e08b;
/* rgb */ color: rgb(246, 224, 139);
/* oklch */ color: oklch(90.6% 0.108 95.3);
Tailwind
colors: {
  custom: {
    50: '#fbe9ae',
    500: '#f6e08b',
    950: '#000000',
  },
}
SCSS
$custom: #f6e08b;
$custom-light: #fbe9ae;
$custom-dark: #000000;
JSON
{
  "hex": "#f6e08b",
  "rgb": {
    "r": 246,
    "g": 224,
    "b": 139
  },
  "hsl": {
    "h": 47.664,
    "s": 85.6,
    "l": 75.49
  },
  "oklch": {
    "l": 0.90638,
    "c": 0.10786,
    "h": 95.3
  },
  "luminance": 0.74768
}

Semantic roles & 50–950 ramp

primary
#F6E08B
secondary
#526CD4
accent
#31E203
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #F6E08B

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

Preview Lab → · Contrast checker → · Palette generator →

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