#2B630F#2B630F

#2B630F is a dark, vivid green. Relative luminance 0.095; OKLCH L 44.5% C 0.127 H 137.8°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#2B630F
RGBrgb(43, 99, 15)
HSLhsl(100, 74%, 22%)
HSVhsv(100, 85%, 39%)
CMYKcmyk(56.6%, 0%, 84.8%, 61.2%)
CIE-LABlab(36.88, -34.00, 38.50)
CIE-LCHlch(36.88, 51.37, 131.45°)
OKLaboklab(44.46% -0.0942 0.0853)
OKLCHoklch(44.46% 0.127 137.8)
XYZxyz(5.5441, 9.4713, 1.9878)
Luminance0.0947 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B630F #470F63
analogous
#55630F #2B630F #0F631D
triadic
#2B630F #0F2B63 #630F2B
tetradic
#2B630F #0F5563 #470F63 #631D0F
square
#2B630F #0F5563 #470F63 #631D0F
split-complementary
#2B630F #1D0F63 #630F55
monochromatic
#0C1B04 #142E07 #2B630F #429817 #59CD1F

Accessibility & contrast

On white

7.26
#2B630F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#2B630F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B630F
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B630F#FFFFFF#000000##FFFFFF
##2B630F1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A00
Deuteranopia (green-blind)
#5F5519
Tritanopia (blue-blind)
#275F54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2b630f;
/* rgb */ color: rgb(43, 99, 15);
/* oklch */ color: oklch(44.5% 0.127 137.8);
Tailwind
colors: {
  custom: {
    50: '#6b9056',
    500: '#2b630f',
    950: '#000000',
  },
}
SCSS
$custom: #2b630f;
$custom-light: #6b9056;
$custom-dark: #000000;
JSON
{
  "hex": "#2b630f",
  "rgb": {
    "r": 43,
    "g": 99,
    "b": 15
  },
  "hsl": {
    "h": 100,
    "s": 73.684,
    "l": 22.353
  },
  "oklch": {
    "l": 0.44458,
    "c": 0.12708,
    "h": 137.8
  },
  "luminance": 0.09472
}

Semantic roles & 50–950 ramp

primary
#2B630F
secondary
#79329C
accent
#37F0B3
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2B630F

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

Preview Lab → · Contrast checker → · Palette generator →

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