#F6F27D#F6F27D

#F6F27D is a very light, vivid yellow. Relative luminance 0.846; OKLCH L 94.1% C 0.139 H 107.0°. Best body text is #000000 at 17.92:1 contrast (WCAG AA passes).

Color values

HEX#F6F27D
RGBrgb(246, 242, 125)
HSLhsl(58, 87%, 73%)
HSVhsv(58, 49%, 96%)
CMYKcmyk(0%, 1.6%, 49.2%, 3.5%)
CIE-LABlab(93.70, -14.00, 56.37)
CIE-LCHlch(93.70, 58.08, 103.94°)
OKLaboklab(94.08% -0.0408 0.1333)
OKLCHoklch(94.08% 0.139 107)
XYZxyz(73.4616, 84.5797, 31.8538)
Luminance0.8458 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6F27D #7D81F6
analogous
#F6B67D #F6F27D #BDF67D
triadic
#F6F27D #7DF6F2 #F27DF6
tetradic
#F6F27D #7DF6B6 #7D81F6 #F67DBD
square
#F6F27D #7DF6B6 #7D81F6 #F67DBD
split-complementary
#F6F27D #7DBDF6 #B67DF6
monochromatic
#E9E110 #F2EC44 #F6F27D #FAF8B6 #FDFCE2

Accessibility & contrast

On white

1.17
#F6F27D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.92
#F6F27D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6F27D
17.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6F27D#FFFFFF#000000##000000
##F6F27D1.001.1717.9217.92
#FFFFFF1.171.0021.0021.00
#00000017.9221.001.001.00
##00000017.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA72
Deuteranopia (green-blind)
#FFEF83
Tritanopia (blue-blind)
#FFE5D7
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f6f27d;
/* rgb */ color: rgb(246, 242, 125);
/* oklch */ color: oklch(94.1% 0.139 107.0);
Tailwind
colors: {
  custom: {
    50: '#fbf6a5',
    500: '#f6f27d',
    950: '#000000',
  },
}
SCSS
$custom: #f6f27d;
$custom-light: #fbf6a5;
$custom-dark: #000000;
JSON
{
  "hex": "#f6f27d",
  "rgb": {
    "r": 246,
    "g": 242,
    "b": 125
  },
  "hsl": {
    "h": 58.017,
    "s": 87.05,
    "l": 72.745
  },
  "oklch": {
    "l": 0.94084,
    "c": 0.13942,
    "h": 107
  },
  "luminance": 0.84578
}

Semantic roles & 50–950 ramp

primary
#F6F27D
secondary
#454AD2
accent
#09E402
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F6F27D

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

Preview Lab → · Contrast checker → · Palette generator →

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