#4E5811#4E5811

#4E5811 is a dark, moderate yellow. Relative luminance 0.086; OKLCH L 43.7% C 0.092 H 117.5°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#4E5811
RGBrgb(78, 88, 17)
HSLhsl(68, 68%, 21%)
HSVhsv(68, 81%, 35%)
CMYKcmyk(11.4%, 0%, 80.7%, 65.5%)
CIE-LABlab(35.28, -14.16, 37.06)
CIE-LCHlch(35.28, 39.67, 110.90°)
OKLaboklab(43.72% -0.0426 0.0818)
OKLCHoklch(43.72% 0.092 117.5)
XYZxyz(6.7329, 8.6397, 1.8431)
Luminance0.0864 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5811 #1B1158
analogous
#583E11 #4E5811 #2A5811
triadic
#4E5811 #114E58 #58114E
tetradic
#4E5811 #11583E #1B1158 #58112A
square
#4E5811 #11583E #1B1158 #58112A
split-complementary
#4E5811 #112A58 #3E1158
monochromatic
#171A05 #212507 #4E5811 #7B8B1B #A9BF25

Accessibility & contrast

On white

7.70
#4E5811 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#4E5811 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5811
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5811#FFFFFF#000000##FFFFFF
##4E58111.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5303
Deuteranopia (green-blind)
#5E5317
Tritanopia (blue-blind)
#53534B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4e5811;
/* rgb */ color: rgb(78, 88, 17);
/* oklch */ color: oklch(43.7% 0.092 117.5);
Tailwind
colors: {
  custom: {
    50: '#828755',
    500: '#4e5811',
    950: '#000000',
  },
}
SCSS
$custom: #4e5811;
$custom-light: #828755;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5811",
  "rgb": {
    "r": 78,
    "g": 88,
    "b": 17
  },
  "hsl": {
    "h": 68.451,
    "s": 67.619,
    "l": 20.588
  },
  "oklch": {
    "l": 0.43724,
    "c": 0.09218,
    "h": 117.5
  },
  "luminance": 0.0864
}

Semantic roles & 50–950 ramp

primary
#4E5811
secondary
#413491
accent
#3DEA56
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4E5811

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

Preview Lab → · Contrast checker → · Palette generator →

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