#EFDF7B#EFDF7B

#EFDF7B is a very light, vivid yellow. Relative luminance 0.726; OKLCH L 89.6% C 0.123 H 100.4°. Best body text is #000000 at 15.51:1 contrast (WCAG AA passes).

Color values

HEX#EFDF7B
RGBrgb(239, 223, 123)
HSLhsl(52, 78%, 71%)
HSVhsv(52, 49%, 94%)
CMYKcmyk(0%, 6.7%, 48.5%, 6.3%)
CIE-LABlab(88.24, -7.52, 50.62)
CIE-LCHlch(88.24, 51.17, 98.45°)
OKLaboklab(89.6% -0.0221 0.1206)
OKLCHoklch(89.6% 0.123 100.4)
XYZxyz(65.5613, 72.5584, 29.2867)
Luminance0.7256 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFDF7B #7B8BEF
analogous
#EFA57B #EFDF7B #C5EF7B
triadic
#EFDF7B #7BEFDF #DF7BEF
tetradic
#EFDF7B #7BEFA5 #7B8BEF #EF7BC5
square
#EFDF7B #7BEFA5 #7B8BEF #EF7BC5
split-complementary
#EFDF7B #7BC5EF #A57BEF
monochromatic
#D6BC1A #E8D244 #EFDF7B #F6ECB2 #FCF8E4

Accessibility & contrast

On white

1.35
#EFDF7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.51
#EFDF7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFDF7B
15.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFDF7B#FFFFFF#000000##000000
##EFDF7B1.001.3515.5115.51
#FFFFFF1.351.0021.0021.00
#00000015.5121.001.001.00
##00000015.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #efdf7b;
/* rgb */ color: rgb(239, 223, 123);
/* oklch */ color: oklch(89.6% 0.123 100.4);
Tailwind
colors: {
  custom: {
    50: '#f6e8a3',
    500: '#efdf7b',
    950: '#000000',
  },
}
SCSS
$custom: #efdf7b;
$custom-light: #f6e8a3;
$custom-dark: #000000;
JSON
{
  "hex": "#efdf7b",
  "rgb": {
    "r": 239,
    "g": 223,
    "b": 123
  },
  "hsl": {
    "h": 51.724,
    "s": 78.378,
    "l": 70.98
  },
  "oklch": {
    "l": 0.896,
    "c": 0.1226,
    "h": 100.4
  },
  "luminance": 0.72556
}

Semantic roles & 50–950 ramp

primary
#EFDF7B
secondary
#4557C9
accent
#28DB0B
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17160F
muted
#858480

Preview Lab

Preview with #EFDF7B

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

Preview Lab → · Contrast checker → · Palette generator →

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