#EFE187#EFE187

#EFE187 is a very light, moderate yellow. Relative luminance 0.740; OKLCH L 90.2% C 0.112 H 100.6°. Best body text is #000000 at 15.79:1 contrast (WCAG AA passes).

Color values

HEX#EFE187
RGBrgb(239, 225, 135)
HSLhsl(52, 76%, 73%)
HSVhsv(52, 44%, 94%)
CMYKcmyk(0%, 5.9%, 43.5%, 6.3%)
CIE-LABlab(88.90, -7.40, 45.62)
CIE-LCHlch(88.90, 46.22, 99.21°)
OKLaboklab(90.18% -0.0206 0.1103)
OKLCHoklch(90.18% 0.112 100.6)
XYZxyz(66.8965, 73.9525, 33.6674)
Luminance0.7395 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE187 #8795EF
analogous
#EFAD87 #EFE187 #C9EF87
triadic
#EFE187 #87EFE1 #E187EF
tetradic
#EFE187 #87EFAD #8795EF #EF87C9
square
#EFE187 #87EFAD #8795EF #EF87C9
split-complementary
#EFE187 #87C9EF #AD87EF
monochromatic
#DEC41E #E8D351 #EFE187 #F6EEBD #FBF8E4

Accessibility & contrast

On white

1.33
#EFE187 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.79
#EFE187 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE187
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE187#FFFFFF#000000##000000
##EFE1871.001.3315.7915.79
#FFFFFF1.331.0021.0021.00
#00000015.7921.001.001.00
##00000015.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DC80
Deuteranopia (green-blind)
#F5E28B
Tritanopia (blue-blind)
#FDD6CB
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #efe187;
/* rgb */ color: rgb(239, 225, 135);
/* oklch */ color: oklch(90.2% 0.112 100.6);
Tailwind
colors: {
  custom: {
    50: '#f6eaab',
    500: '#efe187',
    950: '#000000',
  },
}
SCSS
$custom: #efe187;
$custom-light: #f6eaab;
$custom-dark: #000000;
JSON
{
  "hex": "#efe187",
  "rgb": {
    "r": 239,
    "g": 225,
    "b": 135
  },
  "hsl": {
    "h": 51.923,
    "s": 76.471,
    "l": 73.333
  },
  "oklch": {
    "l": 0.90175,
    "c": 0.1122,
    "h": 100.6
  },
  "luminance": 0.7395
}

Semantic roles & 50–950 ramp

primary
#EFE187
secondary
#5061CA
accent
#28D90D
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#171610
muted
#858481

Preview Lab

Preview with #EFE187

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

Preview Lab → · Contrast checker → · Palette generator →

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