#4B6912#4B6912

#4B6912 is a mid, moderate yellow-green. Relative luminance 0.116; OKLCH L 48.0% C 0.116 H 127.6°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#4B6912
RGBrgb(75, 105, 18)
HSLhsl(81, 71%, 24%)
HSVhsv(81, 83%, 41%)
CMYKcmyk(28.6%, 0%, 82.9%, 58.8%)
CIE-LABlab(40.64, -24.46, 41.62)
CIE-LCHlch(40.64, 48.28, 120.44°)
OKLaboklab(48% -0.0705 0.0917)
OKLCHoklch(48% 0.116 127.6)
XYZxyz(8.0624, 11.6425, 2.3946)
Luminance0.1164 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B6912 #301269
analogous
#695C12 #4B6912 #1F6912
triadic
#4B6912 #124B69 #69124B
tetradic
#4B6912 #12695C #301269 #69121F
square
#4B6912 #12695C #301269 #69121F
split-complementary
#4B6912 #121F69 #5C1269
monochromatic
#131A04 #263509 #4B6912 #709D1B #96D124

Accessibility & contrast

On white

6.31
#4B6912 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#4B6912 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B6912
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B6912#FFFFFF#000000##FFFFFF
##4B69121.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6100
Deuteranopia (green-blind)
#6B5F1B
Tritanopia (blue-blind)
#4E6459
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4b6912;
/* rgb */ color: rgb(75, 105, 18);
/* oklch */ color: oklch(48.0% 0.116 127.6);
Tailwind
colors: {
  custom: {
    50: '#819458',
    500: '#4b6912',
    950: '#000000',
  },
}
SCSS
$custom: #4b6912;
$custom-light: #819458;
$custom-dark: #000000;
JSON
{
  "hex": "#4b6912",
  "rgb": {
    "r": 75,
    "g": 105,
    "b": 18
  },
  "hsl": {
    "h": 80.69,
    "s": 70.732,
    "l": 24.118
  },
  "oklch": {
    "l": 0.48004,
    "c": 0.11562,
    "h": 127.6
  },
  "luminance": 0.11643
}

Semantic roles & 50–950 ramp

primary
#4B6912
secondary
#5B36A1
accent
#3AED78
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4B6912

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

Preview Lab → · Contrast checker → · Palette generator →

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