#EFD170#EFD170

#EFD170 is a very light, vivid yellow. Relative luminance 0.651; OKLCH L 86.6% C 0.122 H 92.5°. Best body text is #000000 at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#EFD170
RGBrgb(239, 209, 112)
HSLhsl(46, 80%, 69%)
HSVhsv(46, 53%, 94%)
CMYKcmyk(0%, 12.6%, 53.1%, 6.3%)
CIE-LABlab(84.55, -1.35, 51.44)
CIE-LCHlch(84.55, 51.46, 91.50°)
OKLaboklab(86.64% -0.0054 0.1215)
OKLCHoklch(86.64% 0.122 92.5)
XYZxyz(61.3240, 65.1243, 24.6662)
Luminance0.6512 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFD170 #708EEF
analogous
#EF9270 #EFD170 #CEEF70
triadic
#EFD170 #70EFD1 #D170EF
tetradic
#EFD170 #70EF92 #708EEF #EF70CE
square
#EFD170 #70EF92 #708EEF #EF70CE
split-complementary
#EFD170 #70CEEF #9270EF
monochromatic
#CEA217 #E9BF39 #EFD170 #F5E3A7 #FBF4DE

Accessibility & contrast

On white

1.50
#EFD170 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.02
#EFD170 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFD170
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFD170#FFFFFF#000000##000000
##EFD1701.001.5014.0214.02
#FFFFFF1.501.0021.0021.00
#00000014.0221.001.001.00
##00000014.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CE67
Deuteranopia (green-blind)
#EBD774
Tritanopia (blue-blind)
#FFC4BB
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #efd170;
/* rgb */ color: rgb(239, 209, 112);
/* oklch */ color: oklch(86.6% 0.122 92.5);
Tailwind
colors: {
  custom: {
    50: '#f7de9b',
    500: '#efd170',
    950: '#000000',
  },
}
SCSS
$custom: #efd170;
$custom-light: #f7de9b;
$custom-dark: #000000;
JSON
{
  "hex": "#efd170",
  "rgb": {
    "r": 239,
    "g": 209,
    "b": 112
  },
  "hsl": {
    "h": 45.827,
    "s": 79.874,
    "l": 68.824
  },
  "oklch": {
    "l": 0.8664,
    "c": 0.12159,
    "h": 92.5
  },
  "luminance": 0.65122
}

Semantic roles & 50–950 ramp

primary
#EFD170
secondary
#3B5DC8
accent
#3BDC09
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #EFD170

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

Preview Lab → · Contrast checker → · Palette generator →

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