#FFEB51#FFEB51

#FFEB51 is a very light, vivid yellow. Relative luminance 0.813; OKLCH L 93.0% C 0.168 H 101.8°. Best body text is #000000 at 17.25:1 contrast (WCAG AA passes).

Color values

HEX#FFEB51
RGBrgb(255, 235, 81)
HSLhsl(53, 100%, 66%)
HSVhsv(53, 68%, 100%)
CMYKcmyk(0%, 7.8%, 68.2%, 0%)
CIE-LABlab(92.25, -9.90, 73.61)
CIE-LCHlch(92.25, 74.27, 97.66°)
OKLaboklab(92.98% -0.0343 0.1644)
OKLCHoklch(92.98% 0.168 101.8)
XYZxyz(72.4367, 81.2739, 19.6549)
Luminance0.8127 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEB51 #5165FF
analogous
#FF9451 #FFEB51 #BCFF51
triadic
#FFEB51 #51FFEB #EB51FF
tetradic
#FFEB51 #51FF94 #5165FF #FF51BC
square
#FFEB51 #51FF94 #5165FF #FF51BC
split-complementary
#FFEB51 #51BCFF #9451FF
monochromatic
#D6BD00 #FFE414 #FFEB51 #FFF28E #FFF9CB

Accessibility & contrast

On white

1.22
#FFEB51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.25
#FFEB51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEB51
17.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEB51#FFFFFF#000000##000000
##FFEB511.001.2217.2517.25
#FFFFFF1.221.0021.0021.00
#00000017.2521.001.001.00
##00000017.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE43A
Deuteranopia (green-blind)
#FFEC5B
Tritanopia (blue-blind)
#FFDBCC
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ffeb51;
/* rgb */ color: rgb(255, 235, 81);
/* oklch */ color: oklch(93.0% 0.168 101.8);
Tailwind
colors: {
  custom: {
    50: '#fff18a',
    500: '#ffeb51',
    950: '#000000',
  },
}
SCSS
$custom: #ffeb51;
$custom-light: #fff18a;
$custom-dark: #000000;
JSON
{
  "hex": "#ffeb51",
  "rgb": {
    "r": 255,
    "g": 235,
    "b": 81
  },
  "hsl": {
    "h": 53.103,
    "s": 100,
    "l": 65.882
  },
  "oklch": {
    "l": 0.92984,
    "c": 0.16793,
    "h": 101.8
  },
  "luminance": 0.81271
}

Semantic roles & 50–950 ramp

primary
#FFEB51
secondary
#2538D0
accent
#1AE600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#19160C
muted
#87857F

Preview Lab

Preview with #FFEB51

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

Preview Lab → · Contrast checker → · Palette generator →

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