#F6ED7A#F6ED7A

#F6ED7A is a very light, vivid yellow. Relative luminance 0.816; OKLCH L 93.0% C 0.137 H 104.7°. Best body text is #000000 at 17.31:1 contrast (WCAG AA passes).

Color values

HEX#F6ED7A
RGBrgb(246, 237, 122)
HSLhsl(56, 87%, 72%)
HSVhsv(56, 50%, 96%)
CMYKcmyk(0%, 3.7%, 50.4%, 3.5%)
CIE-LABlab(92.38, -11.79, 56.19)
CIE-LCHlch(92.38, 57.42, 101.85°)
OKLaboklab(93.03% -0.0348 0.1327)
OKLCHoklch(93.03% 0.137 104.7)
XYZxyz(71.8050, 81.5685, 30.3704)
Luminance0.8157 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6ED7A #7A83F6
analogous
#F6AF7A #F6ED7A #C1F67A
triadic
#F6ED7A #7AF6ED #ED7AF6
tetradic
#F6ED7A #7AF6AF #7A83F6 #F67AC1
square
#F6ED7A #7AF6AF #7A83F6 #F67AC1
split-complementary
#F6ED7A #7AC1F6 #AF7AF6
monochromatic
#E6D610 #F2E541 #F6ED7A #FAF5B3 #FDFBE2

Accessibility & contrast

On white

1.21
#F6ED7A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.31
#F6ED7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6ED7A
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6ED7A#FFFFFF#000000##000000
##F6ED7A1.001.2117.3117.31
#FFFFFF1.211.0021.0021.00
#00000017.3121.001.001.00
##00000017.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE66F
Deuteranopia (green-blind)
#FFEC7F
Tritanopia (blue-blind)
#FFE0D3
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f6ed7a;
/* rgb */ color: rgb(246, 237, 122);
/* oklch */ color: oklch(93.0% 0.137 104.7);
Tailwind
colors: {
  custom: {
    50: '#fbf2a3',
    500: '#f6ed7a',
    950: '#000000',
  },
}
SCSS
$custom: #f6ed7a;
$custom-light: #fbf2a3;
$custom-dark: #000000;
JSON
{
  "hex": "#f6ed7a",
  "rgb": {
    "r": 246,
    "g": 237,
    "b": 122
  },
  "hsl": {
    "h": 55.645,
    "s": 87.324,
    "l": 72.157
  },
  "oklch": {
    "l": 0.93026,
    "c": 0.13715,
    "h": 104.7
  },
  "luminance": 0.81566
}

Semantic roles & 50–950 ramp

primary
#F6ED7A
secondary
#434DD2
accent
#12E402
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #F6ED7A

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

Preview Lab → · Contrast checker → · Palette generator →

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