#F6E07C#F6E07C

#F6E07C is a very light, vivid yellow. Relative luminance 0.744; OKLCH L 90.4% C 0.123 H 97.2°. Best body text is #000000 at 15.87:1 contrast (WCAG AA passes).

Color values

HEX#F6E07C
RGBrgb(246, 224, 124)
HSLhsl(49, 87%, 73%)
HSVhsv(49, 50%, 96%)
CMYKcmyk(0%, 8.9%, 49.6%, 3.5%)
CIE-LABlab(89.09, -5.14, 51.31)
CIE-LCHlch(89.09, 51.57, 95.72°)
OKLaboklab(90.42% -0.0155 0.1221)
OKLCHoklch(90.42% 0.123 97.2)
XYZxyz(68.3019, 74.3620, 29.8204)
Luminance0.7436 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6E07C #7C92F6
analogous
#F6A37C #F6E07C #CFF67C
triadic
#F6E07C #7CF6E0 #E07CF6
tetradic
#F6E07C #7CF6A3 #7C92F6 #F67CCF
square
#F6E07C #7CF6A3 #7C92F6 #F67CCF
split-complementary
#F6E07C #7CCFF6 #A37CF6
monochromatic
#E8C110 #F2D243 #F6E07C #FAEEB5 #FDF8E2

Accessibility & contrast

On white

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

On black

15.87
#F6E07C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6E07C
15.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6E07C#FFFFFF#000000##000000
##F6E07C1.001.3215.8715.87
#FFFFFF1.321.0021.0021.00
#00000015.8721.001.001.00
##00000015.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DB73
Deuteranopia (green-blind)
#F7E380
Tritanopia (blue-blind)
#FFD3C9
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f6e07c;
/* rgb */ color: rgb(246, 224, 124);
/* oklch */ color: oklch(90.4% 0.123 97.2);
Tailwind
colors: {
  custom: {
    50: '#fbe9a4',
    500: '#f6e07c',
    950: '#000000',
  },
}
SCSS
$custom: #f6e07c;
$custom-light: #fbe9a4;
$custom-dark: #000000;
JSON
{
  "hex": "#f6e07c",
  "rgb": {
    "r": 246,
    "g": 224,
    "b": 124
  },
  "hsl": {
    "h": 49.18,
    "s": 87.143,
    "l": 72.549
  },
  "oklch": {
    "l": 0.90424,
    "c": 0.1231,
    "h": 97.2
  },
  "luminance": 0.74359
}

Semantic roles & 50–950 ramp

primary
#F6E07C
secondary
#445ED2
accent
#2BE402
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F6E07C

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

Preview Lab → · Contrast checker → · Palette generator →

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