#EFD277#EFD277

#EFD277 is a very light, moderate yellow. Relative luminance 0.658; OKLCH L 86.9% C 0.116 H 92.2°. Best body text is #000000 at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#EFD277
RGBrgb(239, 210, 119)
HSLhsl(46, 79%, 70%)
HSVhsv(46, 50%, 94%)
CMYKcmyk(0%, 12.1%, 50.2%, 6.3%)
CIE-LABlab(84.88, -1.27, 48.47)
CIE-LCHlch(84.88, 48.49, 91.50°)
OKLaboklab(86.93% -0.0044 0.1156)
OKLCHoklch(86.93% 0.116 92.2)
XYZxyz(61.9751, 65.7786, 26.8812)
Luminance0.6578 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFD277 #7794EF
analogous
#EF9677 #EFD277 #D0EF77
triadic
#EFD277 #77EFD2 #D277EF
tetradic
#EFD277 #77EF96 #7794EF #EF77D0
square
#EFD277 #77EF96 #7794EF #EF77D0
split-complementary
#EFD277 #77D0EF #9677EF
monochromatic
#D3A619 #E9C040 #EFD277 #F5E4AE #FCF6E4

Accessibility & contrast

On white

1.48
#EFD277 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.16
#EFD277 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFD277
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFD277#FFFFFF#000000##000000
##EFD2771.001.4814.1614.16
#FFFFFF1.481.0021.0021.00
#00000014.1621.001.001.00
##00000014.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CF6F
Deuteranopia (green-blind)
#EBD87A
Tritanopia (blue-blind)
#FFC5BC
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #efd277;
/* rgb */ color: rgb(239, 210, 119);
/* oklch */ color: oklch(86.9% 0.116 92.2);
Tailwind
colors: {
  custom: {
    50: '#f6dfa0',
    500: '#efd277',
    950: '#000000',
  },
}
SCSS
$custom: #efd277;
$custom-light: #f6dfa0;
$custom-dark: #000000;
JSON
{
  "hex": "#efd277",
  "rgb": {
    "r": 239,
    "g": 210,
    "b": 119
  },
  "hsl": {
    "h": 45.5,
    "s": 78.947,
    "l": 70.196
  },
  "oklch": {
    "l": 0.86932,
    "c": 0.11563,
    "h": 92.2
  },
  "luminance": 0.65776
}

Semantic roles & 50–950 ramp

primary
#EFD277
secondary
#4262C8
accent
#3DDB0A
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #EFD277

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

Preview Lab → · Contrast checker → · Palette generator →

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