#FFEFB7#FFEFB7

#FFEFB7 is a very light, moderate yellow. Relative luminance 0.864; OKLCH L 95.2% C 0.074 H 94.0°. Best body text is #000000 at 18.28:1 contrast (WCAG AA passes).

Color values

HEX#FFEFB7
RGBrgb(255, 239, 183)
HSLhsl(47, 100%, 86%)
HSVhsv(47, 28%, 100%)
CMYKcmyk(0%, 6.3%, 28.2%, 0%)
CIE-LABlab(94.49, -2.88, 29.10)
CIE-LCHlch(94.49, 29.24, 95.65°)
OKLaboklab(95.15% -0.0052 0.0734)
OKLCHoklch(95.15% 0.074 94)
XYZxyz(80.6544, 86.4139, 57.2214)
Luminance0.8641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEFB7 #B7C7FF
analogous
#FFCBB7 #FFEFB7 #EBFFB7
triadic
#FFEFB7 #B7FFEF #EFB7FF
tetradic
#FFEFB7 #B7FFCB #B7C7FF #FFB7EB
square
#FFEFB7 #B7FFCB #B7C7FF #FFB7EB
split-complementary
#FFEFB7 #B7EBFF #CBB7FF
monochromatic
#FFD43D #FFE17A #FFEFB7 #FFF8E0 #FFF8E0

Accessibility & contrast

On white

1.15
#FFEFB7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.28
#FFEFB7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEFB7
18.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEFB7#FFFFFF#000000##000000
##FFEFB71.001.1518.2818.28
#FFFFFF1.151.0021.0021.00
#00000018.2821.001.001.00
##00000018.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBECB3
Deuteranopia (green-blind)
#FFF1B9
Tritanopia (blue-blind)
#FFE6E0
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #ffefb7;
/* rgb */ color: rgb(255, 239, 183);
/* oklch */ color: oklch(95.2% 0.074 94.0);
Tailwind
colors: {
  custom: {
    50: '#fff4cd',
    500: '#ffefb7',
    950: '#000000',
  },
}
SCSS
$custom: #ffefb7;
$custom-light: #fff4cd;
$custom-dark: #000000;
JSON
{
  "hex": "#ffefb7",
  "rgb": {
    "r": 255,
    "g": 239,
    "b": 183
  },
  "hsl": {
    "h": 46.667,
    "s": 100,
    "l": 85.882
  },
  "oklch": {
    "l": 0.95153,
    "c": 0.0736,
    "h": 94
  },
  "luminance": 0.86412
}

Semantic roles & 50–950 ramp

primary
#FFEFB7
secondary
#748DE6
accent
#33E600
background
#FFFFFE
surface
#FFFEFA
border
#D7D6D3
text
#181713
muted
#868583

Preview Lab

Preview with #FFEFB7

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

Preview Lab → · Contrast checker → · Palette generator →

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