#4B6A12#4B6A12

#4B6A12 is a mid, moderate yellow-green. Relative luminance 0.118; OKLCH L 48.3% C 0.117 H 127.9°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#4B6A12
RGBrgb(75, 106, 18)
HSLhsl(81, 71%, 24%)
HSVhsv(81, 83%, 42%)
CMYKcmyk(29.2%, 0%, 83%, 58.4%)
CIE-LABlab(40.97, -24.95, 41.93)
CIE-LCHlch(40.97, 48.79, 120.76°)
OKLaboklab(48.27% -0.0718 0.0923)
OKLCHoklch(48.27% 0.117 127.9)
XYZxyz(8.1649, 11.8474, 2.4288)
Luminance0.1185 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B6A12 #31126A
analogous
#6A5D12 #4B6A12 #1F6A12
triadic
#4B6A12 #124B6A #6A124B
tetradic
#4B6A12 #126A5D #31126A #6A121F
square
#4B6A12 #126A5D #31126A #6A121F
split-complementary
#4B6A12 #121F6A #5D126A
monochromatic
#131A04 #263609 #4B6A12 #709E1B #95D324

Accessibility & contrast

On white

6.23
#4B6A12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#4B6A12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B6A12
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B6A12#FFFFFF#000000##FFFFFF
##4B6A121.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706200
Deuteranopia (green-blind)
#6C601B
Tritanopia (blue-blind)
#4E655A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4b6a12;
/* rgb */ color: rgb(75, 106, 18);
/* oklch */ color: oklch(48.3% 0.117 127.9);
Tailwind
colors: {
  custom: {
    50: '#819459',
    500: '#4b6a12',
    950: '#000000',
  },
}
SCSS
$custom: #4b6a12;
$custom-light: #819459;
$custom-dark: #000000;
JSON
{
  "hex": "#4b6a12",
  "rgb": {
    "r": 75,
    "g": 106,
    "b": 18
  },
  "hsl": {
    "h": 81.136,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.48272,
    "c": 0.11696,
    "h": 127.9
  },
  "luminance": 0.11848
}

Semantic roles & 50–950 ramp

primary
#4B6A12
secondary
#5C36A2
accent
#3AEE79
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4B6A12

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

Preview Lab → · Contrast checker → · Palette generator →

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