#FFE795#FFE795

#FFE795 is a very light, moderate yellow. Relative luminance 0.806; OKLCH L 93.0% C 0.105 H 93.7°. Best body text is #000000 at 17.12:1 contrast (WCAG AA passes).

Color values

HEX#FFE795
RGBrgb(255, 231, 149)
HSLhsl(46, 100%, 79%)
HSVhsv(46, 42%, 100%)
CMYKcmyk(0%, 9.4%, 41.6%, 0%)
CIE-LABlab(91.95, -2.75, 42.85)
CIE-LCHlch(91.95, 42.94, 93.67°)
OKLaboklab(92.97% -0.0067 0.1046)
OKLCHoklch(92.97% 0.105 93.7)
XYZxyz(75.2426, 80.5845, 40.0189)
Luminance0.8058 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE795 #95ADFF
analogous
#FFB295 #FFE795 #E2FF95
triadic
#FFE795 #95FFE7 #E795FF
tetradic
#FFE795 #95FFB2 #95ADFF #FF95E2
square
#FFE795 #95FFB2 #95ADFF #FF95E2
split-complementary
#FFE795 #95E2FF #B295FF
monochromatic
#FFCB1B #FFD958 #FFE795 #FFF5D2 #FFF8E0

Accessibility & contrast

On white

1.23
#FFE795 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.12
#FFE795 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE795
17.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE795#FFFFFF#000000##000000
##FFE7951.001.2317.1217.12
#FFFFFF1.231.0021.0021.00
#00000017.1221.001.001.00
##00000017.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E48F
Deuteranopia (green-blind)
#FDEB98
Tritanopia (blue-blind)
#FFDBD3
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #ffe795;
/* rgb */ color: rgb(255, 231, 149);
/* oklch */ color: oklch(93.0% 0.105 93.7);
Tailwind
colors: {
  custom: {
    50: '#ffeeb5',
    500: '#ffe795',
    950: '#000000',
  },
}
SCSS
$custom: #ffe795;
$custom-light: #ffeeb5;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe795",
  "rgb": {
    "r": 255,
    "g": 231,
    "b": 149
  },
  "hsl": {
    "h": 46.415,
    "s": 100,
    "l": 79.216
  },
  "oklch": {
    "l": 0.92968,
    "c": 0.10484,
    "h": 93.7
  },
  "luminance": 0.80582
}

Semantic roles & 50–950 ramp

primary
#FFE795
secondary
#5776E1
accent
#34E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181611
muted
#868581

Preview Lab

Preview with #FFE795

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

Preview Lab → · Contrast checker → · Palette generator →

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