#4B6312#4B6312

#4B6312 is a mid, moderate yellow-green. Relative luminance 0.105; OKLCH L 46.4% C 0.108 H 125.3°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#4B6312
RGBrgb(75, 99, 18)
HSLhsl(78, 69%, 23%)
HSVhsv(78, 82%, 39%)
CMYKcmyk(24.2%, 0%, 81.8%, 61.2%)
CIE-LABlab(38.66, -21.41, 39.79)
CIE-LCHlch(38.66, 45.18, 118.29°)
OKLaboklab(46.4% -0.0622 0.0878)
OKLCHoklch(46.4% 0.108 125.3)
XYZxyz(7.4727, 10.4631, 2.1980)
Luminance0.1046 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B6312 #2A1263
analogous
#635212 #4B6312 #226312
triadic
#4B6312 #124B63 #63124B
tetradic
#4B6312 #126352 #2A1263 #631222
square
#4B6312 #126352 #2A1263 #631222
split-complementary
#4B6312 #122263 #521263
monochromatic
#141A05 #242F09 #4B6312 #72971B #99CB25

Accessibility & contrast

On white

6.79
#4B6312 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#4B6312 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B6312
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B6312#FFFFFF#000000##FFFFFF
##4B63121.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C00
Deuteranopia (green-blind)
#665B1A
Tritanopia (blue-blind)
#4F5E54
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4b6312;
/* rgb */ color: rgb(75, 99, 18);
/* oklch */ color: oklch(46.4% 0.108 125.3);
Tailwind
colors: {
  custom: {
    50: '#808f57',
    500: '#4b6312',
    950: '#000000',
  },
}
SCSS
$custom: #4b6312;
$custom-light: #808f57;
$custom-dark: #000000;
JSON
{
  "hex": "#4b6312",
  "rgb": {
    "r": 75,
    "g": 99,
    "b": 18
  },
  "hsl": {
    "h": 77.778,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.46396,
    "c": 0.10758,
    "h": 125.3
  },
  "luminance": 0.10463
}

Semantic roles & 50–950 ramp

primary
#4B6312
secondary
#54369B
accent
#3CEC70
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0A0C03
muted
#7C7D78

Preview Lab

Preview with #4B6312

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

Preview Lab → · Contrast checker → · Palette generator →

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