#EFDB7A#EFDB7A

#EFDB7A is a very light, moderate yellow. Relative luminance 0.704; OKLCH L 88.8% C 0.120 H 98.0°. Best body text is #000000 at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#EFDB7A
RGBrgb(239, 219, 122)
HSLhsl(50, 79%, 71%)
HSVhsv(50, 49%, 94%)
CMYKcmyk(0%, 8.4%, 49%, 6.3%)
CIE-LABlab(87.20, -5.59, 49.84)
CIE-LCHlch(87.20, 50.15, 96.40°)
OKLaboklab(88.78% -0.0166 0.1188)
OKLCHoklch(88.78% 0.12 98)
XYZxyz(64.4429, 70.4213, 28.6067)
Luminance0.7042 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFDB7A #7A8EEF
analogous
#EFA07A #EFDB7A #C8EF7A
triadic
#EFDB7A #7AEFDB #DB7AEF
tetradic
#EFDB7A #7AEFA0 #7A8EEF #EF7AC8
square
#EFDB7A #7AEFA0 #7A8EEF #EF7AC8
split-complementary
#EFDB7A #7AC8EF #A07AEF
monochromatic
#D5B51A #E8CC43 #EFDB7A #F6EAB1 #FCF8E4

Accessibility & contrast

On white

1.39
#EFDB7A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.08
#EFDB7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFDB7A
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFDB7A#FFFFFF#000000##000000
##EFDB7A1.001.3915.0815.08
#FFFFFF1.391.0021.0021.00
#00000015.0821.001.001.00
##00000015.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD672
Deuteranopia (green-blind)
#F1DE7E
Tritanopia (blue-blind)
#FECEC4
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #efdb7a;
/* rgb */ color: rgb(239, 219, 122);
/* oklch */ color: oklch(88.8% 0.120 98.0);
Tailwind
colors: {
  custom: {
    50: '#f6e6a2',
    500: '#efdb7a',
    950: '#000000',
  },
}
SCSS
$custom: #efdb7a;
$custom-light: #f6e6a2;
$custom-dark: #000000;
JSON
{
  "hex": "#efdb7a",
  "rgb": {
    "r": 239,
    "g": 219,
    "b": 122
  },
  "hsl": {
    "h": 49.744,
    "s": 78.523,
    "l": 70.784
  },
  "oklch": {
    "l": 0.88778,
    "c": 0.11997,
    "h": 98
  },
  "luminance": 0.70419
}

Semantic roles & 50–950 ramp

primary
#EFDB7A
secondary
#445BC9
accent
#2EDB0B
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #EFDB7A

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

Preview Lab → · Contrast checker → · Palette generator →

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