#FFFF6B#FFFF6B

#FFFF6B is a very light, vivid yellow. Relative luminance 0.938; OKLCH L 97.3% C 0.167 H 109.1°. Best body text is #000000 at 19.77:1 contrast (WCAG AA passes).

Color values

HEX#FFFF6B
RGBrgb(255, 255, 107)
HSLhsl(60, 100%, 71%)
HSVhsv(60, 58%, 100%)
CMYKcmyk(0%, 0%, 58%, 0%)
CIE-LABlab(97.57, -18.11, 68.89)
CIE-LCHlch(97.57, 71.23, 104.73°)
OKLaboklab(97.28% -0.0549 0.1582)
OKLCHoklch(97.28% 0.167 109.1)
XYZxyz(79.6562, 93.8437, 27.8247)
Luminance0.9384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFF6B #6B6BFF
analogous
#FFB56B #FFFF6B #B5FF6B
triadic
#FFFF6B #6BFFFF #FF6BFF
tetradic
#FFFF6B #6BFFB5 #6B6BFF #FF6BB5
square
#FFFF6B #6BFFB5 #6B6BFF #FF6BB5
split-complementary
#FFFF6B #6BB5FF #B56BFF
monochromatic
#F0F000 #FFFF2E #FFFF6B #FFFFA8 #FFFFE0

Accessibility & contrast

On white

1.06
#FFFF6B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.77
#FFFF6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFF6B
19.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFF6B#FFFFFF#000000##000000
##FFFF6B1.001.0619.7719.77
#FFFFFF1.061.0021.0021.00
#00000019.7721.001.001.00
##00000019.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF55A
Deuteranopia (green-blind)
#FFFA74
Tritanopia (blue-blind)
#FFF0DF
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #ffff6b;
/* rgb */ color: rgb(255, 255, 107);
/* oklch */ color: oklch(97.3% 0.167 109.1);
Tailwind
colors: {
  custom: {
    50: '#ffff9b',
    500: '#ffff6b',
    950: '#000000',
  },
}
SCSS
$custom: #ffff6b;
$custom-light: #ffff9b;
$custom-dark: #000000;
JSON
{
  "hex": "#ffff6b",
  "rgb": {
    "r": 255,
    "g": 255,
    "b": 107
  },
  "hsl": {
    "h": 60,
    "s": 100,
    "l": 70.98
  },
  "oklch": {
    "l": 0.97278,
    "c": 0.16743,
    "h": 109.1
  },
  "luminance": 0.93842
}

Semantic roles & 50–950 ramp

primary
#FFFF6B
secondary
#3333DB
accent
#00E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FFFF6B

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

Preview Lab → · Contrast checker → · Palette generator →

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