#FFE45B#FFE45B

#FFE45B is a very light, vivid yellow. Relative luminance 0.775; OKLCH L 91.7% C 0.156 H 98.1°. Best body text is #000000 at 16.50:1 contrast (WCAG AA passes).

Color values

HEX#FFE45B
RGBrgb(255, 228, 91)
HSLhsl(50, 100%, 68%)
HSVhsv(50, 64%, 100%)
CMYKcmyk(0%, 10.6%, 64.3%, 0%)
CIE-LABlab(90.55, -5.88, 67.94)
CIE-LCHlch(90.55, 68.19, 94.94°)
OKLaboklab(91.66% -0.0218 0.154)
OKLCHoklch(91.66% 0.156 98.1)
XYZxyz(70.8749, 77.5055, 21.1223)
Luminance0.7750 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE45B #5B76FF
analogous
#FF925B #FFE45B #C8FF5B
triadic
#FFE45B #5BFFE4 #E45BFF
tetradic
#FFE45B #5BFF92 #5B76FF #FF5BC8
square
#FFE45B #5BFF92 #5B76FF #FF5BC8
split-complementary
#FFE45B #5BC8FF #925BFF
monochromatic
#E0BB00 #FFDA1E #FFE45B #FFEE98 #FFF8D5

Accessibility & contrast

On white

1.27
#FFE45B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.50
#FFE45B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE45B
16.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE45B#FFFFFF#000000##000000
##FFE45B1.001.2716.5016.50
#FFFFFF1.271.0021.0021.00
#00000016.5021.001.001.00
##00000016.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DF4A
Deuteranopia (green-blind)
#FFE862
Tritanopia (blue-blind)
#FFD4C7
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #ffe45b;
/* rgb */ color: rgb(255, 228, 91);
/* oklch */ color: oklch(91.7% 0.156 98.1);
Tailwind
colors: {
  custom: {
    50: '#ffec8f',
    500: '#ffe45b',
    950: '#000000',
  },
}
SCSS
$custom: #ffe45b;
$custom-light: #ffec8f;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe45b",
  "rgb": {
    "r": 255,
    "g": 228,
    "b": 91
  },
  "hsl": {
    "h": 50.122,
    "s": 100,
    "l": 67.843
  },
  "oklch": {
    "l": 0.91659,
    "c": 0.15551,
    "h": 98.1
  },
  "luminance": 0.77502
}

Semantic roles & 50–950 ramp

primary
#FFE45B
secondary
#2643D8
accent
#26E600
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#19160D
muted
#87847F

Preview Lab

Preview with #FFE45B

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

Preview Lab → · Contrast checker → · Palette generator →

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