#FFEFA5#FFEFA5

#FFEFA5 is a very light, moderate yellow. Relative luminance 0.857; OKLCH L 94.8% C 0.094 H 97.4°. Best body text is #000000 at 18.14:1 contrast (WCAG AA passes).

Color values

HEX#FFEFA5
RGBrgb(255, 239, 165)
HSLhsl(49, 100%, 82%)
HSVhsv(49, 35%, 100%)
CMYKcmyk(0%, 6.3%, 35.3%, 0%)
CIE-LABlab(94.19, -5.04, 37.79)
CIE-LCHlch(94.19, 38.12, 97.60°)
OKLaboklab(94.82% -0.0122 0.0936)
OKLCHoklch(94.82% 0.094 97.4)
XYZxyz(78.8993, 85.7118, 47.9779)
Luminance0.8571 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEFA5 #A5B5FF
analogous
#FFC2A5 #FFEFA5 #E2FFA5
triadic
#FFEFA5 #A5FFEF #EFA5FF
tetradic
#FFEFA5 #A5FFC2 #A5B5FF #FFA5E2
square
#FFEFA5 #A5FFC2 #A5B5FF #FFA5E2
split-complementary
#FFEFA5 #A5E2FF #C2A5FF
monochromatic
#FFD92B #FFE468 #FFEFA5 #FFFAE0 #FFFAE0

Accessibility & contrast

On white

1.16
#FFEFA5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.14
#FFEFA5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEFA5
18.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEFA5#FFFFFF#000000##000000
##FFEFA51.001.1618.1418.14
#FFFFFF1.161.0021.0021.00
#00000018.1421.001.001.00
##00000018.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDEBA0
Deuteranopia (green-blind)
#FFF1A8
Tritanopia (blue-blind)
#FFE5DC
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #ffefa5;
/* rgb */ color: rgb(255, 239, 165);
/* oklch */ color: oklch(94.8% 0.094 97.4);
Tailwind
colors: {
  custom: {
    50: '#fff4c0',
    500: '#ffefa5',
    950: '#000000',
  },
}
SCSS
$custom: #ffefa5;
$custom-light: #fff4c0;
$custom-dark: #000000;
JSON
{
  "hex": "#ffefa5",
  "rgb": {
    "r": 255,
    "g": 239,
    "b": 165
  },
  "hsl": {
    "h": 49.333,
    "s": 100,
    "l": 82.353
  },
  "oklch": {
    "l": 0.94817,
    "c": 0.09437,
    "h": 97.4
  },
  "luminance": 0.8571
}

Semantic roles & 50–950 ramp

primary
#FFEFA5
secondary
#647BE4
accent
#29E600
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#181712
muted
#868582

Preview Lab

Preview with #FFEFA5

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

Preview Lab → · Contrast checker → · Palette generator →

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