#4B5918#4B5918

#4B5918 is a dark, moderate yellow-green. Relative luminance 0.087; OKLCH L 43.8% C 0.090 H 120.8°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#4B5918
RGBrgb(75, 89, 24)
HSLhsl(73, 58%, 22%)
HSVhsv(73, 73%, 35%)
CMYKcmyk(15.7%, 0%, 73%, 65.1%)
CIE-LABlab(35.41, -15.69, 34.21)
CIE-LCHlch(35.41, 37.64, 114.64°)
OKLaboklab(43.78% -0.0459 0.0772)
OKLCHoklch(43.78% 0.09 120.8)
XYZxyz(6.6390, 8.7066, 2.1948)
Luminance0.0871 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B5918 #261859
analogous
#594718 #4B5918 #2B5918
triadic
#4B5918 #184B59 #59184B
tetradic
#4B5918 #185947 #261859 #59182B
square
#4B5918 #185947 #261859 #59182B
split-complementary
#4B5918 #182B59 #471859
monochromatic
#141806 #22290B #4B5918 #748925 #9CB932

Accessibility & contrast

On white

7.66
#4B5918 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#4B5918 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B5918
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B5918#FFFFFF#000000##FFFFFF
##4B59181.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F530E
Deuteranopia (green-blind)
#5D531D
Tritanopia (blue-blind)
#4F544C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4b5918;
/* rgb */ color: rgb(75, 89, 24);
/* oklch */ color: oklch(43.8% 0.090 120.8);
Tailwind
colors: {
  custom: {
    50: '#7f8759',
    500: '#4b5918',
    950: '#000000',
  },
}
SCSS
$custom: #4b5918;
$custom-light: #7f8759;
$custom-dark: #000000;
JSON
{
  "hex": "#4b5918",
  "rgb": {
    "r": 75,
    "g": 89,
    "b": 24
  },
  "hsl": {
    "h": 72.923,
    "s": 57.522,
    "l": 22.157
  },
  "oklch": {
    "l": 0.43784,
    "c": 0.08978,
    "h": 120.8
  },
  "luminance": 0.08707
}

Semantic roles & 50–950 ramp

primary
#4B5918
secondary
#4F3D90
accent
#47E168
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#0A0B04
muted
#7C7C79

Preview Lab

Preview with #4B5918

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

Preview Lab → · Contrast checker → · Palette generator →

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