#EFDC7B#EFDC7B

#EFDC7B is a very light, moderate yellow. Relative luminance 0.710; OKLCH L 89.0% C 0.120 H 98.5°. Best body text is #000000 at 15.19:1 contrast (WCAG AA passes).

Color values

HEX#EFDC7B
RGBrgb(239, 220, 123)
HSLhsl(50, 78%, 71%)
HSVhsv(50, 49%, 94%)
CMYKcmyk(0%, 7.9%, 48.5%, 6.3%)
CIE-LABlab(87.47, -6.00, 49.69)
CIE-LCHlch(87.47, 50.05, 96.89°)
OKLaboklab(88.99% -0.0177 0.1186)
OKLCHoklch(88.99% 0.12 98.5)
XYZxyz(64.7669, 70.9696, 29.0219)
Luminance0.7097 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFDC7B #7B8EEF
analogous
#EFA27B #EFDC7B #C8EF7B
triadic
#EFDC7B #7BEFDC #DC7BEF
tetradic
#EFDC7B #7BEFA2 #7B8EEF #EF7BC8
square
#EFDC7B #7BEFA2 #7B8EEF #EF7BC8
split-complementary
#EFDC7B #7BC8EF #A27BEF
monochromatic
#D6B71A #E8CE44 #EFDC7B #F6EAB2 #FCF8E4

Accessibility & contrast

On white

1.38
#EFDC7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.19
#EFDC7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFDC7B
15.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFDC7B#FFFFFF#000000##000000
##EFDC7B1.001.3815.1915.19
#FFFFFF1.381.0021.0021.00
#00000015.1921.001.001.00
##00000015.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD773
Deuteranopia (green-blind)
#F2DE7F
Tritanopia (blue-blind)
#FED0C5
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #efdc7b;
/* rgb */ color: rgb(239, 220, 123);
/* oklch */ color: oklch(89.0% 0.120 98.5);
Tailwind
colors: {
  custom: {
    50: '#f6e6a3',
    500: '#efdc7b',
    950: '#000000',
  },
}
SCSS
$custom: #efdc7b;
$custom-light: #f6e6a3;
$custom-dark: #000000;
JSON
{
  "hex": "#efdc7b",
  "rgb": {
    "r": 239,
    "g": 220,
    "b": 123
  },
  "hsl": {
    "h": 50.172,
    "s": 78.378,
    "l": 70.98
  },
  "oklch": {
    "l": 0.88993,
    "c": 0.11986,
    "h": 98.5
  },
  "luminance": 0.70967
}

Semantic roles & 50–950 ramp

primary
#EFDC7B
secondary
#455BC9
accent
#2DDB0B
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #EFDC7B

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

Preview Lab → · Contrast checker → · Palette generator →

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