#EFD875#EFD875

#EFD875 is a very light, vivid yellow. Relative luminance 0.687; OKLCH L 88.1% C 0.122 H 96.6°. Best body text is #000000 at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#EFD875
RGBrgb(239, 216, 117)
HSLhsl(49, 79%, 70%)
HSVhsv(49, 51%, 94%)
CMYKcmyk(0%, 9.6%, 51%, 6.3%)
CIE-LABlab(86.38, -4.50, 51.24)
CIE-LCHlch(86.38, 51.44, 95.02°)
OKLaboklab(88.11% -0.014 0.1215)
OKLCHoklch(88.11% 0.122 96.6)
XYZxyz(63.3655, 68.7494, 26.7584)
Luminance0.6875 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFD875 #758CEF
analogous
#EF9B75 #EFD875 #C9EF75
triadic
#EFD875 #75EFD8 #D875EF
tetradic
#EFD875 #75EF9B #758CEF #EF75C9
square
#EFD875 #75EF9B #758CEF #EF75C9
split-complementary
#EFD875 #75C9EF #9B75EF
monochromatic
#D1AE18 #E9C93E #EFD875 #F5E7AC #FCF7E3

Accessibility & contrast

On white

1.42
#EFD875 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.75
#EFD875 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFD875
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFD875#FFFFFF#000000##000000
##EFD8751.001.4214.7514.75
#FFFFFF1.421.0021.0021.00
#00000014.7521.001.001.00
##00000014.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D46C
Deuteranopia (green-blind)
#F0DB79
Tritanopia (blue-blind)
#FFCBC1
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #efd875;
/* rgb */ color: rgb(239, 216, 117);
/* oklch */ color: oklch(88.1% 0.122 96.6);
Tailwind
colors: {
  custom: {
    50: '#f6e39f',
    500: '#efd875',
    950: '#000000',
  },
}
SCSS
$custom: #efd875;
$custom-light: #f6e39f;
$custom-dark: #000000;
JSON
{
  "hex": "#efd875",
  "rgb": {
    "r": 239,
    "g": 216,
    "b": 117
  },
  "hsl": {
    "h": 48.689,
    "s": 79.221,
    "l": 69.804
  },
  "oklch": {
    "l": 0.88107,
    "c": 0.12229,
    "h": 96.6
  },
  "luminance": 0.68747
}

Semantic roles & 50–950 ramp

primary
#EFD875
secondary
#405AC8
accent
#31DC0A
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #EFD875

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

Preview Lab → · Contrast checker → · Palette generator →

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