#FFE45F#FFE45F

#FFE45F is a very light, vivid yellow. Relative luminance 0.776; OKLCH L 91.7% C 0.153 H 97.8°. Best body text is #000000 at 16.51:1 contrast (WCAG AA passes).

Color values

HEX#FFE45F
RGBrgb(255, 228, 95)
HSLhsl(50, 100%, 69%)
HSVhsv(50, 63%, 100%)
CMYKcmyk(0%, 10.6%, 62.7%, 0%)
CIE-LABlab(90.59, -5.64, 66.31)
CIE-LCHlch(90.59, 66.55, 94.86°)
OKLaboklab(91.7% -0.0207 0.1511)
OKLCHoklch(91.7% 0.153 97.8)
XYZxyz(71.0520, 77.5763, 22.0554)
Luminance0.7757 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE45F #5F7AFF
analogous
#FF945F #FFE45F #CAFF5F
triadic
#FFE45F #5FFFE4 #E45FFF
tetradic
#FFE45F #5FFF94 #5F7AFF #FF5FCA
square
#FFE45F #5FFF94 #5F7AFF #FF5FCA
split-complementary
#FFE45F #5FCAFF #945FFF
monochromatic
#E4BD00 #FFDA22 #FFE45F #FFEE9C #FFF9D9

Accessibility & contrast

On white

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

On black

16.51
#FFE45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE45F
16.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE45F#FFFFFF#000000##000000
##FFE45F1.001.2716.5116.51
#FFFFFF1.271.0021.0021.00
#00000016.5121.001.001.00
##00000016.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DF4F
Deuteranopia (green-blind)
#FFE866
Tritanopia (blue-blind)
#FFD4C8
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #ffe45f;
/* rgb */ color: rgb(255, 228, 95);
/* oklch */ color: oklch(91.7% 0.153 97.8);
Tailwind
colors: {
  custom: {
    50: '#ffec92',
    500: '#ffe45f',
    950: '#000000',
  },
}
SCSS
$custom: #ffe45f;
$custom-light: #ffec92;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe45f",
  "rgb": {
    "r": 255,
    "g": 228,
    "b": 95
  },
  "hsl": {
    "h": 49.875,
    "s": 100,
    "l": 68.627
  },
  "oklch": {
    "l": 0.91695,
    "c": 0.15251,
    "h": 97.8
  },
  "luminance": 0.77573
}

Semantic roles & 50–950 ramp

primary
#FFE45F
secondary
#2947D9
accent
#27E600
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#19160D
muted
#87847F

Preview Lab

Preview with #FFE45F

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

Preview Lab → · Contrast checker → · Palette generator →

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