#4E5912#4E5912

#4E5912 is a dark, moderate yellow. Relative luminance 0.088; OKLCH L 44.0% C 0.093 H 118.2°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#4E5912
RGBrgb(78, 89, 18)
HSLhsl(69, 66%, 21%)
HSVhsv(69, 80%, 35%)
CMYKcmyk(12.4%, 0%, 79.8%, 65.1%)
CIE-LABlab(35.61, -14.66, 37.00)
CIE-LCHlch(35.61, 39.79, 111.62°)
OKLaboklab(43.99% -0.0439 0.0818)
OKLCHoklch(43.99% 0.093 118.2)
XYZxyz(6.8236, 8.8082, 1.9128)
Luminance0.0881 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5912 #1D1259
analogous
#594012 #4E5912 #2A5912
triadic
#4E5912 #124E59 #59124E
tetradic
#4E5912 #125940 #1D1259 #59122A
square
#4E5912 #125940 #1D1259 #59122A
split-complementary
#4E5912 #122A59 #401259
monochromatic
#161905 #212608 #4E5912 #7B8C1C #A7BF27

Accessibility & contrast

On white

7.60
#4E5912 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#4E5912 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5912
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5912#FFFFFF#000000##FFFFFF
##4E59121.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5404
Deuteranopia (green-blind)
#5E5418
Tritanopia (blue-blind)
#53544B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4e5912;
/* rgb */ color: rgb(78, 89, 18);
/* oklch */ color: oklch(44.0% 0.093 118.2);
Tailwind
colors: {
  custom: {
    50: '#828756',
    500: '#4e5912',
    950: '#000000',
  },
}
SCSS
$custom: #4e5912;
$custom-light: #828756;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5912",
  "rgb": {
    "r": 78,
    "g": 89,
    "b": 18
  },
  "hsl": {
    "h": 69.296,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.43992,
    "c": 0.09283,
    "h": 118.2
  },
  "luminance": 0.08808
}

Semantic roles & 50–950 ramp

primary
#4E5912
secondary
#443592
accent
#3FE959
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4E5912

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

Preview Lab → · Contrast checker → · Palette generator →

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