#EFDE7B#EFDE7B

#EFDE7B is a very light, vivid yellow. Relative luminance 0.720; OKLCH L 89.4% C 0.122 H 99.8°. Best body text is #000000 at 15.40:1 contrast (WCAG AA passes).

Color values

HEX#EFDE7B
RGBrgb(239, 222, 123)
HSLhsl(51, 78%, 71%)
HSVhsv(51, 49%, 94%)
CMYKcmyk(0%, 7.1%, 48.5%, 6.3%)
CIE-LABlab(87.98, -7.01, 50.31)
CIE-LCHlch(87.98, 50.79, 97.94°)
OKLaboklab(89.4% -0.0206 0.1199)
OKLCHoklch(89.4% 0.122 99.8)
XYZxyz(65.2949, 72.0256, 29.1979)
Luminance0.7202 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFDE7B #7B8CEF
analogous
#EFA47B #EFDE7B #C6EF7B
triadic
#EFDE7B #7BEFDE #DE7BEF
tetradic
#EFDE7B #7BEFA4 #7B8CEF #EF7BC6
square
#EFDE7B #7BEFA4 #7B8CEF #EF7BC6
split-complementary
#EFDE7B #7BC6EF #A47BEF
monochromatic
#D6BA1A #E8D044 #EFDE7B #F6ECB2 #FCF8E4

Accessibility & contrast

On white

1.36
#EFDE7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.40
#EFDE7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFDE7B
15.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFDE7B#FFFFFF#000000##000000
##EFDE7B1.001.3615.4015.40
#FFFFFF1.361.0021.0021.00
#00000015.4021.001.001.00
##00000015.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD973
Deuteranopia (green-blind)
#F4E07F
Tritanopia (blue-blind)
#FED2C7
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #efde7b;
/* rgb */ color: rgb(239, 222, 123);
/* oklch */ color: oklch(89.4% 0.122 99.8);
Tailwind
colors: {
  custom: {
    50: '#f6e8a3',
    500: '#efde7b',
    950: '#000000',
  },
}
SCSS
$custom: #efde7b;
$custom-light: #f6e8a3;
$custom-dark: #000000;
JSON
{
  "hex": "#efde7b",
  "rgb": {
    "r": 239,
    "g": 222,
    "b": 123
  },
  "hsl": {
    "h": 51.207,
    "s": 78.378,
    "l": 70.98
  },
  "oklch": {
    "l": 0.89398,
    "c": 0.12168,
    "h": 99.8
  },
  "luminance": 0.72023
}

Semantic roles & 50–950 ramp

primary
#EFDE7B
secondary
#4559C9
accent
#29DB0B
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17160F
muted
#858480

Preview Lab

Preview with #EFDE7B

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

Preview Lab → · Contrast checker → · Palette generator →

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