#4B6512#4B6512

#4B6512 is a mid, moderate yellow-green. Relative luminance 0.108; OKLCH L 46.9% C 0.110 H 126.1°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#4B6512
RGBrgb(75, 101, 18)
HSLhsl(79, 70%, 23%)
HSVhsv(79, 82%, 40%)
CMYKcmyk(25.7%, 0%, 82.2%, 60.4%)
CIE-LABlab(39.32, -22.44, 40.40)
CIE-LCHlch(39.32, 46.21, 119.05°)
OKLaboklab(46.93% -0.065 0.0891)
OKLCHoklch(46.93% 0.11 126.1)
XYZxyz(7.6646, 10.8468, 2.2620)
Luminance0.1085 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B6512 #2C1265
analogous
#655512 #4B6512 #216512
triadic
#4B6512 #124B65 #65124B
tetradic
#4B6512 #126555 #2C1265 #651221
square
#4B6512 #126555 #2C1265 #651221
split-complementary
#4B6512 #122165 #551265
monochromatic
#131A05 #243109 #4B6512 #72991B #98CD25

Accessibility & contrast

On white

6.63
#4B6512 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#4B6512 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B6512
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B6512#FFFFFF#000000##FFFFFF
##4B65121.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E00
Deuteranopia (green-blind)
#675C1A
Tritanopia (blue-blind)
#4F6056
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4b6512;
/* rgb */ color: rgb(75, 101, 18);
/* oklch */ color: oklch(46.9% 0.110 126.1);
Tailwind
colors: {
  custom: {
    50: '#809158',
    500: '#4b6512',
    950: '#000000',
  },
}
SCSS
$custom: #4b6512;
$custom-light: #809158;
$custom-dark: #000000;
JSON
{
  "hex": "#4b6512",
  "rgb": {
    "r": 75,
    "g": 101,
    "b": 18
  },
  "hsl": {
    "h": 78.795,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.46931,
    "c": 0.11026,
    "h": 126.1
  },
  "luminance": 0.10847
}

Semantic roles & 50–950 ramp

primary
#4B6512
secondary
#56369D
accent
#3BED73
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4B6512

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

Preview Lab → · Contrast checker → · Palette generator →

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