#FFE754#FFE754

#FFE754 is a very light, vivid yellow. Relative luminance 0.791; OKLCH L 92.2% C 0.163 H 99.9°. Best body text is #000000 at 16.81:1 contrast (WCAG AA passes).

Color values

HEX#FFE754
RGBrgb(255, 231, 84)
HSLhsl(52, 100%, 66%)
HSVhsv(52, 67%, 100%)
CMYKcmyk(0%, 9.4%, 67.1%, 0%)
CIE-LABlab(91.26, -7.76, 71.46)
CIE-LCHlch(91.26, 71.88, 96.20°)
OKLaboklab(92.2% -0.0279 0.1603)
OKLCHoklch(92.2% 0.163 99.9)
XYZxyz(71.4193, 79.0552, 19.8830)
Luminance0.7905 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE754 #546CFF
analogous
#FF9254 #FFE754 #C2FF54
triadic
#FFE754 #54FFE7 #E754FF
tetradic
#FFE754 #54FF92 #546CFF #FF54C2
square
#FFE754 #54FF92 #546CFF #FF54C2
split-complementary
#FFE754 #54C2FF #9254FF
monochromatic
#D9BA00 #FFDE17 #FFE754 #FFF091 #FFF8CE

Accessibility & contrast

On white

1.25
#FFE754 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.81
#FFE754 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE754
16.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE754#FFFFFF#000000##000000
##FFE7541.001.2516.8116.81
#FFFFFF1.251.0021.0021.00
#00000016.8121.001.001.00
##00000016.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE140
Deuteranopia (green-blind)
#FFEA5D
Tritanopia (blue-blind)
#FFD7C9
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #ffe754;
/* rgb */ color: rgb(255, 231, 84);
/* oklch */ color: oklch(92.2% 0.163 99.9);
Tailwind
colors: {
  custom: {
    50: '#ffee8b',
    500: '#ffe754',
    950: '#000000',
  },
}
SCSS
$custom: #ffe754;
$custom-light: #ffee8b;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe754",
  "rgb": {
    "r": 255,
    "g": 231,
    "b": 84
  },
  "hsl": {
    "h": 51.579,
    "s": 100,
    "l": 66.471
  },
  "oklch": {
    "l": 0.92202,
    "c": 0.16276,
    "h": 99.9
  },
  "luminance": 0.79052
}

Semantic roles & 50–950 ramp

primary
#FFE754
secondary
#253DD2
accent
#20E600
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#19160C
muted
#87847F

Preview Lab

Preview with #FFE754

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

Preview Lab → · Contrast checker → · Palette generator →

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