#4E5A11#4E5A11

#4E5A11 is a dark, moderate yellow. Relative luminance 0.090; OKLCH L 44.2% C 0.095 H 118.8°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#4E5A11
RGBrgb(78, 90, 17)
HSLhsl(70, 68%, 21%)
HSVhsv(70, 81%, 35%)
CMYKcmyk(13.3%, 0%, 81.1%, 64.7%)
CIE-LABlab(35.93, -15.27, 37.67)
CIE-LCHlch(35.93, 40.65, 112.06°)
OKLaboklab(44.25% -0.0456 0.0831)
OKLCHoklch(44.25% 0.095 118.8)
XYZxyz(6.8994, 8.9726, 1.8986)
Luminance0.0897 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5A11 #1D115A
analogous
#5A4111 #4E5A11 #295A11
triadic
#4E5A11 #114E5A #5A114E
tetradic
#4E5A11 #115A41 #1D115A #5A1129
square
#4E5A11 #115A41 #1D115A #5A1129
split-complementary
#4E5A11 #11295A #41115A
monochromatic
#161A05 #212707 #4E5A11 #7B8D1B #A7C124

Accessibility & contrast

On white

7.51
#4E5A11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#4E5A11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5A11
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5A11#FFFFFF#000000##FFFFFF
##4E5A111.007.512.797.51
#FFFFFF7.511.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605402
Deuteranopia (green-blind)
#5F5518
Tritanopia (blue-blind)
#53554C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4e5a11;
/* rgb */ color: rgb(78, 90, 17);
/* oklch */ color: oklch(44.2% 0.095 118.8);
Tailwind
colors: {
  custom: {
    50: '#828856',
    500: '#4e5a11',
    950: '#000000',
  },
}
SCSS
$custom: #4e5a11;
$custom-light: #828856;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5a11",
  "rgb": {
    "r": 78,
    "g": 90,
    "b": 17
  },
  "hsl": {
    "h": 69.863,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.44247,
    "c": 0.09476,
    "h": 118.8
  },
  "luminance": 0.08973
}

Semantic roles & 50–950 ramp

primary
#4E5A11
secondary
#443493
accent
#3DEB59
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4E5A11

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

Preview Lab → · Contrast checker → · Palette generator →

#4E5A11 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva