#FFEB4B#FFEB4B

#FFEB4B is a very light, vivid yellow. Relative luminance 0.812; OKLCH L 92.9% C 0.172 H 102.0°. Best body text is #000000 at 17.24:1 contrast (WCAG AA passes).

Color values

HEX#FFEB4B
RGBrgb(255, 235, 75)
HSLhsl(53, 100%, 65%)
HSVhsv(53, 71%, 100%)
CMYKcmyk(0%, 7.8%, 70.6%, 0%)
CIE-LABlab(92.22, -10.18, 75.76)
CIE-LCHlch(92.22, 76.44, 97.66°)
OKLaboklab(92.94% -0.0357 0.1679)
OKLCHoklch(92.94% 0.172 102)
XYZxyz(72.2215, 81.1878, 18.5219)
Luminance0.8118 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEB4B #4B5FFF
analogous
#FF914B #FFEB4B #B9FF4B
triadic
#FFEB4B #4BFFEB #EB4BFF
tetradic
#FFEB4B #4BFF91 #4B5FFF #FF4BB9
square
#FFEB4B #4BFF91 #4B5FFF #FF4BB9
split-complementary
#FFEB4B #4BB9FF #914BFF
monochromatic
#D0B900 #FFE40E #FFEB4B #FFF288 #FFF9C5

Accessibility & contrast

On white

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

On black

17.24
#FFEB4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEB4B
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEB4B#FFFFFF#000000##000000
##FFEB4B1.001.2217.2417.24
#FFFFFF1.221.0021.0021.00
#00000017.2421.001.001.00
##00000017.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE431
Deuteranopia (green-blind)
#FFEC56
Tritanopia (blue-blind)
#FFDBCB
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ffeb4b;
/* rgb */ color: rgb(255, 235, 75);
/* oklch */ color: oklch(92.9% 0.172 102.0);
Tailwind
colors: {
  custom: {
    50: '#fff187',
    500: '#ffeb4b',
    950: '#000000',
  },
}
SCSS
$custom: #ffeb4b;
$custom-light: #fff187;
$custom-dark: #000000;
JSON
{
  "hex": "#ffeb4b",
  "rgb": {
    "r": 255,
    "g": 235,
    "b": 75
  },
  "hsl": {
    "h": 53.333,
    "s": 100,
    "l": 64.706
  },
  "oklch": {
    "l": 0.92942,
    "c": 0.17168,
    "h": 102
  },
  "luminance": 0.81185
}

Semantic roles & 50–950 ramp

primary
#FFEB4B
secondary
#2436CA
accent
#1AE600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#19160C
muted
#87857F

Preview Lab

Preview with #FFEB4B

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

Preview Lab → · Contrast checker → · Palette generator →

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