#4B5D12#4B5D12

#4B5D12 is a dark, moderate yellow-green. Relative luminance 0.094; OKLCH L 44.8% C 0.100 H 122.6°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#4B5D12
RGBrgb(75, 93, 18)
HSLhsl(74, 68%, 22%)
HSVhsv(74, 81%, 36%)
CMYKcmyk(19.4%, 0%, 80.6%, 63.5%)
CIE-LABlab(36.68, -18.25, 37.93)
CIE-LCHlch(36.68, 42.09, 115.70°)
OKLaboklab(44.8% -0.0535 0.0839)
OKLCHoklch(44.8% 0.1 122.6)
XYZxyz(6.9253, 9.3682, 2.0156)
Luminance0.0937 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B5D12 #24125D
analogous
#5D4A12 #4B5D12 #265D12
triadic
#4B5D12 #124B5D #5D124B
tetradic
#4B5D12 #125D4A #24125D #5D1226
square
#4B5D12 #125D4A #24125D #5D1226
split-complementary
#4B5D12 #12265D #4A125D
monochromatic
#151A05 #222A08 #4B5D12 #74901C #9EC426

Accessibility & contrast

On white

7.31
#4B5D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#4B5D12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B5D12
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B5D12#FFFFFF#000000##FFFFFF
##4B5D121.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635703
Deuteranopia (green-blind)
#615619
Tritanopia (blue-blind)
#4F584F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4b5d12;
/* rgb */ color: rgb(75, 93, 18);
/* oklch */ color: oklch(44.8% 0.100 122.6);
Tailwind
colors: {
  custom: {
    50: '#808b57',
    500: '#4b5d12',
    950: '#000000',
  },
}
SCSS
$custom: #4b5d12;
$custom-light: #808b57;
$custom-dark: #000000;
JSON
{
  "hex": "#4b5d12",
  "rgb": {
    "r": 75,
    "g": 93,
    "b": 18
  },
  "hsl": {
    "h": 74.4,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.44796,
    "c": 0.09951,
    "h": 122.6
  },
  "luminance": 0.09368
}

Semantic roles & 50–950 ramp

primary
#4B5D12
secondary
#4C3595
accent
#3DEA67
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0A0B03
muted
#7C7C78

Preview Lab

Preview with #4B5D12

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

Preview Lab → · Contrast checker → · Palette generator →

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