#EFD762#EFD762

#EFD762 is a very light, vivid yellow. Relative luminance 0.678; OKLCH L 87.7% C 0.139 H 97.8°. Best body text is #000000 at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#EFD762
RGBrgb(239, 215, 98)
HSLhsl(50, 82%, 66%)
HSVhsv(50, 59%, 94%)
CMYKcmyk(0%, 10%, 59%, 6.3%)
CIE-LABlab(85.92, -5.46, 59.49)
CIE-LCHlch(85.92, 59.74, 95.24°)
OKLaboklab(87.68% -0.0188 0.1374)
OKLCHoklch(87.68% 0.139 97.8)
XYZxyz(62.1041, 67.8362, 21.3753)
Luminance0.6783 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFD762 #627AEF
analogous
#EF9062 #EFD762 #C0EF62
triadic
#EFD762 #62EFD7 #D762EF
tetradic
#EFD762 #62EF90 #627AEF #EF62C0
square
#EFD762 #62EF90 #627AEF #EF62C0
split-complementary
#EFD762 #62C0EF #9062EF
monochromatic
#C3A514 #E9C92A #EFD762 #F5E59A #FAF3D1

Accessibility & contrast

On white

1.44
#EFD762 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.57
#EFD762 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFD762
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFD762#FFFFFF#000000##000000
##EFD7621.001.4414.5714.57
#FFFFFF1.441.0021.0021.00
#00000014.5721.001.001.00
##00000014.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD256
Deuteranopia (green-blind)
#F0DA68
Tritanopia (blue-blind)
#FFC9BD
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #efd762;
/* rgb */ color: rgb(239, 215, 98);
/* oklch */ color: oklch(87.7% 0.139 97.8);
Tailwind
colors: {
  custom: {
    50: '#f7e393',
    500: '#efd762',
    950: '#000000',
  },
}
SCSS
$custom: #efd762;
$custom-light: #f7e393;
$custom-dark: #000000;
JSON
{
  "hex": "#efd762",
  "rgb": {
    "r": 239,
    "g": 215,
    "b": 98
  },
  "hsl": {
    "h": 49.787,
    "s": 81.503,
    "l": 66.078
  },
  "oklch": {
    "l": 0.87682,
    "c": 0.13866,
    "h": 97.8
  },
  "luminance": 0.67833
}

Semantic roles & 50–950 ramp

primary
#EFD762
secondary
#354CC1
accent
#2CDE08
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #EFD762

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

Preview Lab → · Contrast checker → · Palette generator →

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