#FFE45C#FFE45C

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

Color values

HEX#FFE45C
RGBrgb(255, 228, 92)
HSLhsl(50, 100%, 68%)
HSVhsv(50, 64%, 100%)
CMYKcmyk(0%, 10.6%, 63.9%, 0%)
CIE-LABlab(90.56, -5.82, 67.53)
CIE-LCHlch(90.56, 67.78, 94.92°)
OKLaboklab(91.67% -0.0215 0.1533)
OKLCHoklch(91.67% 0.155 98)
XYZxyz(70.9183, 77.5228, 21.3510)
Luminance0.7752 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE45C #5C77FF
analogous
#FF925C #FFE45C #C9FF5C
triadic
#FFE45C #5CFFE4 #E45CFF
tetradic
#FFE45C #5CFF92 #5C77FF #FF5CC9
square
#FFE45C #5CFF92 #5C77FF #FF5CC9
split-complementary
#FFE45C #5CC9FF #925CFF
monochromatic
#E1BB00 #FFDA1F #FFE45C #FFEE99 #FFF8D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FFE45C#FFFFFF#000000##000000
##FFE45C1.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)
#F9DF4C
Deuteranopia (green-blind)
#FFE863
Tritanopia (blue-blind)
#FFD4C7
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #ffe45c;
/* rgb */ color: rgb(255, 228, 92);
/* oklch */ color: oklch(91.7% 0.155 98.0);
Tailwind
colors: {
  custom: {
    50: '#ffec90',
    500: '#ffe45c',
    950: '#000000',
  },
}
SCSS
$custom: #ffe45c;
$custom-light: #ffec90;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe45c",
  "rgb": {
    "r": 255,
    "g": 228,
    "b": 92
  },
  "hsl": {
    "h": 50.061,
    "s": 100,
    "l": 68.039
  },
  "oklch": {
    "l": 0.91668,
    "c": 0.15476,
    "h": 98
  },
  "luminance": 0.7752
}

Semantic roles & 50–950 ramp

primary
#FFE45C
secondary
#2644D9
accent
#26E600
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#19160D
muted
#87847F

Preview Lab

Preview with #FFE45C

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

Preview Lab → · Contrast checker → · Palette generator →

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