#2B640F#2B640F

#2B640F is a dark, vivid green. Relative luminance 0.097; OKLCH L 44.7% C 0.128 H 137.9°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#2B640F
RGBrgb(43, 100, 15)
HSLhsl(100, 74%, 23%)
HSVhsv(100, 85%, 39%)
CMYKcmyk(57%, 0%, 85%, 60.8%)
CIE-LABlab(37.23, -34.42, 38.83)
CIE-LCHlch(37.23, 51.89, 131.55°)
OKLaboklab(44.75% -0.0953 0.086)
OKLCHoklch(44.75% 0.128 137.9)
XYZxyz(5.6395, 9.6620, 2.0196)
Luminance0.0966 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B640F #480F64
analogous
#56640F #2B640F #0F641D
triadic
#2B640F #0F2B64 #640F2B
tetradic
#2B640F #0F5664 #480F64 #641D0F
square
#2B640F #0F5664 #480F64 #641D0F
split-complementary
#2B640F #1D0F64 #640F56
monochromatic
#0B1B04 #142F07 #2B640F #429917 #59CE1F

Accessibility & contrast

On white

7.16
#2B640F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#2B640F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B640F
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B640F#FFFFFF#000000##FFFFFF
##2B640F1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B00
Deuteranopia (green-blind)
#605619
Tritanopia (blue-blind)
#266054
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2b640f;
/* rgb */ color: rgb(43, 100, 15);
/* oklch */ color: oklch(44.7% 0.128 137.9);
Tailwind
colors: {
  custom: {
    50: '#6c9156',
    500: '#2b640f',
    950: '#000000',
  },
}
SCSS
$custom: #2b640f;
$custom-light: #6c9156;
$custom-dark: #000000;
JSON
{
  "hex": "#2b640f",
  "rgb": {
    "r": 43,
    "g": 100,
    "b": 15
  },
  "hsl": {
    "h": 100.235,
    "s": 73.913,
    "l": 22.549
  },
  "oklch": {
    "l": 0.44749,
    "c": 0.12837,
    "h": 137.9
  },
  "luminance": 0.09662
}

Semantic roles & 50–950 ramp

primary
#2B640F
secondary
#7A329D
accent
#37F1B4
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070D03
muted
#7A7D78

Preview Lab

Preview with #2B640F

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

Preview Lab → · Contrast checker → · Palette generator →

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