#F6EB7B#F6EB7B

#F6EB7B is a very light, vivid yellow. Relative luminance 0.804; OKLCH L 92.6% C 0.134 H 103.6°. Best body text is #000000 at 17.09:1 contrast (WCAG AA passes).

Color values

HEX#F6EB7B
RGBrgb(246, 235, 123)
HSLhsl(55, 87%, 72%)
HSVhsv(55, 50%, 96%)
CMYKcmyk(0%, 4.5%, 50%, 3.5%)
CIE-LABlab(91.88, -10.72, 55.13)
CIE-LCHlch(91.88, 56.17, 101.00°)
OKLaboklab(92.63% -0.0317 0.1304)
OKLCHoklch(92.63% 0.134 103.6)
XYZxyz(71.2915, 80.4418, 30.5065)
Luminance0.8044 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6EB7B #7B86F6
analogous
#F6AD7B #F6EB7B #C4F67B
triadic
#F6EB7B #7BF6EB #EB7BF6
tetradic
#F6EB7B #7BF6AD #7B86F6 #F67BC4
square
#F6EB7B #7BF6AD #7B86F6 #F67BC4
split-complementary
#F6EB7B #7BC4F6 #AD7BF6
monochromatic
#E7D410 #F2E242 #F6EB7B #FAF4B4 #FDFBE2

Accessibility & contrast

On white

1.23
#F6EB7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.09
#F6EB7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6EB7B
17.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6EB7B#FFFFFF#000000##000000
##F6EB7B1.001.2317.0917.09
#FFFFFF1.231.0021.0021.00
#00000017.0921.001.001.00
##00000017.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE471
Deuteranopia (green-blind)
#FFEA80
Tritanopia (blue-blind)
#FFDED1
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f6eb7b;
/* rgb */ color: rgb(246, 235, 123);
/* oklch */ color: oklch(92.6% 0.134 103.6);
Tailwind
colors: {
  custom: {
    50: '#fbf1a4',
    500: '#f6eb7b',
    950: '#000000',
  },
}
SCSS
$custom: #f6eb7b;
$custom-light: #fbf1a4;
$custom-dark: #000000;
JSON
{
  "hex": "#f6eb7b",
  "rgb": {
    "r": 246,
    "g": 235,
    "b": 123
  },
  "hsl": {
    "h": 54.634,
    "s": 87.234,
    "l": 72.353
  },
  "oklch": {
    "l": 0.92631,
    "c": 0.13421,
    "h": 103.6
  },
  "luminance": 0.8044
}

Semantic roles & 50–950 ramp

primary
#F6EB7B
secondary
#4450D2
accent
#16E402
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #F6EB7B

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

Preview Lab → · Contrast checker → · Palette generator →

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