#FFEB6C#FFEB6C

#FFEB6C is a very light, vivid yellow. Relative luminance 0.818; OKLCH L 93.2% C 0.148 H 100.4°. Best body text is #000000 at 17.35:1 contrast (WCAG AA passes).

Color values

HEX#FFEB6C
RGBrgb(255, 235, 108)
HSLhsl(52, 100%, 71%)
HSVhsv(52, 58%, 100%)
CMYKcmyk(0%, 7.8%, 57.6%, 0%)
CIE-LABlab(92.47, -8.28, 62.80)
CIE-LCHlch(92.47, 63.34, 97.51°)
OKLaboklab(93.23% -0.0268 0.1453)
OKLCHoklch(93.23% 0.148 100.4)
XYZxyz(73.6578, 81.7623, 26.0862)
Luminance0.8176 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEB6C #6C80FF
analogous
#FFA16C #FFEB6C #C9FF6C
triadic
#FFEB6C #6CFFEB #EB6CFF
tetradic
#FFEB6C #6CFFA1 #6C80FF #FF6CC9
square
#FFEB6C #6CFFA1 #6C80FF #FF6CC9
split-complementary
#FFEB6C #6CC9FF #A16CFF
monochromatic
#F1D000 #FFE32F #FFEB6C #FFF3A9 #FFFBE0

Accessibility & contrast

On white

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

On black

17.35
#FFEB6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEB6C
17.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEB6C#FFFFFF#000000##000000
##FFEB6C1.001.2117.3517.35
#FFFFFF1.211.0021.0021.00
#00000017.3521.001.001.00
##00000017.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE55F
Deuteranopia (green-blind)
#FFED72
Tritanopia (blue-blind)
#FFDCCF
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ffeb6c;
/* rgb */ color: rgb(255, 235, 108);
/* oklch */ color: oklch(93.2% 0.148 100.4);
Tailwind
colors: {
  custom: {
    50: '#fff19a',
    500: '#ffeb6c',
    950: '#000000',
  },
}
SCSS
$custom: #ffeb6c;
$custom-light: #fff19a;
$custom-dark: #000000;
JSON
{
  "hex": "#ffeb6c",
  "rgb": {
    "r": 255,
    "g": 235,
    "b": 108
  },
  "hsl": {
    "h": 51.837,
    "s": 100,
    "l": 71.176
  },
  "oklch": {
    "l": 0.93225,
    "c": 0.14775,
    "h": 100.4
  },
  "luminance": 0.81759
}

Semantic roles & 50–950 ramp

primary
#FFEB6C
secondary
#344BDB
accent
#1FE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #FFEB6C

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

Preview Lab → · Contrast checker → · Palette generator →

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