#FFE792#FFE792

#FFE792 is a very light, moderate yellow. Relative luminance 0.805; OKLCH L 92.9% C 0.108 H 94.2°. Best body text is #000000 at 17.10:1 contrast (WCAG AA passes).

Color values

HEX#FFE792
RGBrgb(255, 231, 146)
HSLhsl(47, 100%, 79%)
HSVhsv(47, 43%, 100%)
CMYKcmyk(0%, 9.4%, 42.7%, 0%)
CIE-LABlab(91.90, -3.05, 44.28)
CIE-LCHlch(91.90, 44.39, 93.95°)
OKLaboklab(92.92% -0.0078 0.1077)
OKLCHoklch(92.92% 0.108 94.2)
XYZxyz(75.0062, 80.4899, 38.7737)
Luminance0.8049 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE792 #92AAFF
analogous
#FFB092 #FFE792 #E0FF92
triadic
#FFE792 #92FFE7 #E792FF
tetradic
#FFE792 #92FFB0 #92AAFF #FF92E0
square
#FFE792 #92FFB0 #92AAFF #FF92E0
split-complementary
#FFE792 #92E0FF #B092FF
monochromatic
#FFCC18 #FFDA55 #FFE792 #FFF4CF #FFF8E0

Accessibility & contrast

On white

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

On black

17.10
#FFE792 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE792
17.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE792#FFFFFF#000000##000000
##FFE7921.001.2317.1017.10
#FFFFFF1.231.0021.0021.00
#00000017.1021.001.001.00
##00000017.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E38B
Deuteranopia (green-blind)
#FEEB95
Tritanopia (blue-blind)
#FFDBD2
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #ffe792;
/* rgb */ color: rgb(255, 231, 146);
/* oklch */ color: oklch(92.9% 0.108 94.2);
Tailwind
colors: {
  custom: {
    50: '#ffeeb3',
    500: '#ffe792',
    950: '#000000',
  },
}
SCSS
$custom: #ffe792;
$custom-light: #ffeeb3;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe792",
  "rgb": {
    "r": 255,
    "g": 231,
    "b": 146
  },
  "hsl": {
    "h": 46.789,
    "s": 100,
    "l": 78.627
  },
  "oklch": {
    "l": 0.9292,
    "c": 0.108,
    "h": 94.2
  },
  "luminance": 0.80487
}

Semantic roles & 50–950 ramp

primary
#FFE792
secondary
#5473E1
accent
#33E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181611
muted
#868581

Preview Lab

Preview with #FFE792

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

Preview Lab → · Contrast checker → · Palette generator →

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