#F6F381#F6F381

#F6F381 is a very light, vivid yellow. Relative luminance 0.853; OKLCH L 94.3% C 0.137 H 107.4°. Best body text is #000000 at 18.06:1 contrast (WCAG AA passes).

Color values

HEX#F6F381
RGBrgb(246, 243, 129)
HSLhsl(58, 87%, 74%)
HSVhsv(58, 48%, 96%)
CMYKcmyk(0%, 1.2%, 47.6%, 3.5%)
CIE-LABlab(94.00, -14.14, 54.88)
CIE-LCHlch(94.00, 56.67, 104.45°)
OKLaboklab(94.34% -0.0409 0.1304)
OKLCHoklch(94.34% 0.137 107.4)
XYZxyz(74.0208, 85.2809, 33.3263)
Luminance0.8528 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6F381 #8184F6
analogous
#F6B881 #F6F381 #BEF681
triadic
#F6F381 #81F6F3 #F381F6
tetradic
#F6F381 #81F6B8 #8184F6 #F681BE
square
#F6F381 #81F6B8 #8184F6 #F681BE
split-complementary
#F6F381 #81BEF6 #B881F6
monochromatic
#ECE611 #F2EE48 #F6F381 #FAF8BA #FDFCE2

Accessibility & contrast

On white

1.16
#F6F381 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.06
#F6F381 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6F381
18.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6F381#FFFFFF#000000##000000
##F6F3811.001.1618.0618.06
#FFFFFF1.161.0021.0021.00
#00000018.0621.001.001.00
##00000018.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB77
Deuteranopia (green-blind)
#FFF086
Tritanopia (blue-blind)
#FFE6D9
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f6f381;
/* rgb */ color: rgb(246, 243, 129);
/* oklch */ color: oklch(94.3% 0.137 107.4);
Tailwind
colors: {
  custom: {
    50: '#fbf6a8',
    500: '#f6f381',
    950: '#000000',
  },
}
SCSS
$custom: #f6f381;
$custom-light: #fbf6a8;
$custom-dark: #000000;
JSON
{
  "hex": "#f6f381",
  "rgb": {
    "r": 246,
    "g": 243,
    "b": 129
  },
  "hsl": {
    "h": 58.462,
    "s": 86.667,
    "l": 73.529
  },
  "oklch": {
    "l": 0.94339,
    "c": 0.13662,
    "h": 107.4
  },
  "luminance": 0.85279
}

Semantic roles & 50–950 ramp

primary
#F6F381
secondary
#494CD2
accent
#08E302
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #F6F381

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

Preview Lab → · Contrast checker → · Palette generator →

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