#F6EF7A#F6EF7A

#F6EF7A is a very light, vivid yellow. Relative luminance 0.827; OKLCH L 93.4% C 0.139 H 105.7°. Best body text is #000000 at 17.55:1 contrast (WCAG AA passes).

Color values

HEX#F6EF7A
RGBrgb(246, 239, 122)
HSLhsl(57, 87%, 72%)
HSVhsv(57, 50%, 96%)
CMYKcmyk(0%, 2.8%, 50.4%, 3.5%)
CIE-LABlab(92.90, -12.78, 56.80)
CIE-LCHlch(92.90, 58.22, 102.68°)
OKLaboklab(93.43% -0.0377 0.134)
OKLCHoklch(93.43% 0.139 105.7)
XYZxyz(72.3873, 82.7331, 30.5645)
Luminance0.8273 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6EF7A #7A81F6
analogous
#F6B17A #F6EF7A #BFF67A
triadic
#F6EF7A #7AF6EF #EF7AF6
tetradic
#F6EF7A #7AF6B1 #7A81F6 #F67ABF
square
#F6EF7A #7AF6B1 #7A81F6 #F67ABF
split-complementary
#F6EF7A #7ABFF6 #B17AF6
monochromatic
#E6DA10 #F2E841 #F6EF7A #FAF6B3 #FDFCE2

Accessibility & contrast

On white

1.20
#F6EF7A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.55
#F6EF7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6EF7A
17.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6EF7A#FFFFFF#000000##000000
##F6EF7A1.001.2017.5517.55
#FFFFFF1.201.0021.0021.00
#00000017.5521.001.001.00
##00000017.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE86F
Deuteranopia (green-blind)
#FFED80
Tritanopia (blue-blind)
#FFE2D4
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f6ef7a;
/* rgb */ color: rgb(246, 239, 122);
/* oklch */ color: oklch(93.4% 0.139 105.7);
Tailwind
colors: {
  custom: {
    50: '#fbf4a3',
    500: '#f6ef7a',
    950: '#000000',
  },
}
SCSS
$custom: #f6ef7a;
$custom-light: #fbf4a3;
$custom-dark: #000000;
JSON
{
  "hex": "#f6ef7a",
  "rgb": {
    "r": 246,
    "g": 239,
    "b": 122
  },
  "hsl": {
    "h": 56.613,
    "s": 87.324,
    "l": 72.157
  },
  "oklch": {
    "l": 0.93434,
    "c": 0.13916,
    "h": 105.7
  },
  "luminance": 0.82731
}

Semantic roles & 50–950 ramp

primary
#F6EF7A
secondary
#434BD2
accent
#0EE402
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F6EF7A

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

Preview Lab → · Contrast checker → · Palette generator →

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