#F6ED7F#F6ED7F

#F6ED7F is a very light, vivid yellow. Relative luminance 0.817; OKLCH L 93.1% C 0.132 H 104.5°. Best body text is #000000 at 17.34:1 contrast (WCAG AA passes).

Color values

HEX#F6ED7F
RGBrgb(246, 237, 127)
HSLhsl(55, 87%, 73%)
HSVhsv(55, 48%, 96%)
CMYKcmyk(0%, 3.7%, 48.4%, 3.5%)
CIE-LABlab(92.44, -11.36, 53.93)
CIE-LCHlch(92.44, 55.12, 101.90°)
OKLaboklab(93.09% -0.0331 0.1281)
OKLCHoklch(93.09% 0.132 104.5)
XYZxyz(72.1228, 81.6956, 32.0442)
Luminance0.8169 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6ED7F #7F88F6
analogous
#F6B17F #F6ED7F #C3F67F
triadic
#F6ED7F #7FF6ED #ED7FF6
tetradic
#F6ED7F #7FF6B1 #7F88F6 #F67FC3
square
#F6ED7F #7FF6B1 #7F88F6 #F67FC3
split-complementary
#F6ED7F #7FC3F6 #B17FF6
monochromatic
#EADA10 #F2E546 #F6ED7F #FAF5B8 #FDFBE2

Accessibility & contrast

On white

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

On black

17.34
#F6ED7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6ED7F
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6ED7F#FFFFFF#000000##000000
##F6ED7F1.001.2117.3417.34
#FFFFFF1.211.0021.0021.00
#00000017.3421.001.001.00
##00000017.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f6ed7f;
/* rgb */ color: rgb(246, 237, 127);
/* oklch */ color: oklch(93.1% 0.132 104.5);
Tailwind
colors: {
  custom: {
    50: '#fbf2a6',
    500: '#f6ed7f',
    950: '#000000',
  },
}
SCSS
$custom: #f6ed7f;
$custom-light: #fbf2a6;
$custom-dark: #000000;
JSON
{
  "hex": "#f6ed7f",
  "rgb": {
    "r": 246,
    "g": 237,
    "b": 127
  },
  "hsl": {
    "h": 55.462,
    "s": 86.861,
    "l": 73.137
  },
  "oklch": {
    "l": 0.93089,
    "c": 0.13233,
    "h": 104.5
  },
  "luminance": 0.81694
}

Semantic roles & 50–950 ramp

primary
#F6ED7F
secondary
#4752D2
accent
#13E302
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#181610
muted
#868580

Preview Lab

Preview with #F6ED7F

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

Preview Lab → · Contrast checker → · Palette generator →

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