#2B5612#2B5612

#2B5612 is a dark, moderate yellow-green. Relative luminance 0.072; OKLCH L 40.7% C 0.108 H 136.5°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#2B5612
RGBrgb(43, 86, 18)
HSLhsl(98, 65%, 20%)
HSVhsv(98, 79%, 34%)
CMYKcmyk(50%, 0%, 79.1%, 66.3%)
CIE-LABlab(32.29, -28.15, 32.97)
CIE-LCHlch(32.29, 43.35, 130.49°)
OKLaboklab(40.69% -0.0782 0.0742)
OKLCHoklch(40.69% 0.108 136.5)
XYZxyz(4.4331, 7.2126, 1.7307)
Luminance0.0721 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5612 #3D1256
analogous
#4D5612 #2B5612 #12561B
triadic
#2B5612 #122B56 #56122B
tetradic
#2B5612 #124D56 #3D1256 #561B12
square
#2B5612 #124D56 #3D1256 #561B12
split-complementary
#2B5612 #1B1256 #56124D
monochromatic
#0D1905 #122307 #2B5612 #44891D #5EBB27

Accessibility & contrast

On white

8.60
#2B5612 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2B5612 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5612
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5612#FFFFFF#000000##FFFFFF
##2B56121.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E06
Deuteranopia (green-blind)
#544B19
Tritanopia (blue-blind)
#295349
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2b5612;
/* rgb */ color: rgb(43, 86, 18);
/* oklch */ color: oklch(40.7% 0.108 136.5);
Tailwind
colors: {
  custom: {
    50: '#698655',
    500: '#2b5612',
    950: '#000000',
  },
}
SCSS
$custom: #2b5612;
$custom-light: #698655;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5612",
  "rgb": {
    "r": 43,
    "g": 86,
    "b": 18
  },
  "hsl": {
    "h": 97.941,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.40686,
    "c": 0.10783,
    "h": 136.5
  },
  "luminance": 0.07213
}

Semantic roles & 50–950 ramp

primary
#2B5612
secondary
#6E358F
accent
#3FE8AA
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2B5612

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

Preview Lab → · Contrast checker → · Palette generator →

#2B5612 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva