#FFEFBF#FFEFBF

#FFEFBF is a very light, moderate yellow. Relative luminance 0.868; OKLCH L 95.3% C 0.064 H 91.8°. Best body text is #000000 at 18.35:1 contrast (WCAG AA passes).

Color values

HEX#FFEFBF
RGBrgb(255, 239, 191)
HSLhsl(45, 100%, 87%)
HSVhsv(45, 25%, 100%)
CMYKcmyk(0%, 6.3%, 25.1%, 0%)
CIE-LABlab(94.63, -1.84, 25.22)
CIE-LCHlch(94.63, 25.29, 94.16°)
OKLaboklab(95.32% -0.002 0.0641)
OKLCHoklch(95.32% 0.064 91.8)
XYZxyz(81.5108, 86.7565, 61.7320)
Luminance0.8676 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEFBF #BFCFFF
analogous
#FFCFBF #FFEFBF #EFFFBF
triadic
#FFEFBF #BFFFEF #EFBFFF
tetradic
#FFEFBF #BFFFCF #BFCFFF #FFBFEF
square
#FFEFBF #BFFFCF #BFCFFF #FFBFEF
split-complementary
#FFEFBF #BFEFFF #CFBFFF
monochromatic
#FFD045 #FFE082 #FFEFBF #FFF7E0 #FFF7E0

Accessibility & contrast

On white

1.14
#FFEFBF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.35
#FFEFBF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEFBF
18.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEFBF#FFFFFF#000000##000000
##FFEFBF1.001.1418.3518.35
#FFFFFF1.141.0021.0021.00
#00000018.3521.001.001.00
##00000018.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAEDBC
Deuteranopia (green-blind)
#FEF2C0
Tritanopia (blue-blind)
#FFE7E2
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #ffefbf;
/* rgb */ color: rgb(255, 239, 191);
/* oklch */ color: oklch(95.3% 0.064 91.8);
Tailwind
colors: {
  custom: {
    50: '#fff4d2',
    500: '#ffefbf',
    950: '#000000',
  },
}
SCSS
$custom: #ffefbf;
$custom-light: #fff4d2;
$custom-dark: #000000;
JSON
{
  "hex": "#ffefbf",
  "rgb": {
    "r": 255,
    "g": 239,
    "b": 191
  },
  "hsl": {
    "h": 45,
    "s": 100,
    "l": 87.451
  },
  "oklch": {
    "l": 0.95315,
    "c": 0.06415,
    "h": 91.8
  },
  "luminance": 0.86755
}

Semantic roles & 50–950 ramp

primary
#FFEFBF
secondary
#7B96E8
accent
#39E600
background
#FFFFFE
surface
#FFFEFB
border
#D7D6D4
text
#181714
muted
#868583

Preview Lab

Preview with #FFEFBF

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

Preview Lab → · Contrast checker → · Palette generator →

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