#2B502E#2B502E

#2B502E is a dark, moderate green. Relative luminance 0.064; OKLCH L 39.4% C 0.071 H 145.9°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#2B502E
RGBrgb(43, 80, 46)
HSLhsl(125, 30%, 24%)
HSVhsv(125, 46%, 31%)
CMYKcmyk(46.2%, 0%, 42.5%, 68.6%)
CIE-LABlab(30.52, -21.54, 16.01)
CIE-LCHlch(30.52, 26.84, 143.38°)
OKLaboklab(39.35% -0.0586 0.0398)
OKLCHoklch(39.35% 0.071 145.9)
XYZxyz(4.3578, 6.4479, 3.5992)
Luminance0.0645 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B502E #502B4D
analogous
#3B502B #2B502E #2B5041
triadic
#2B502E #2E2B50 #502E2B
tetradic
#2B502E #2B3B50 #502B4D #50412B
square
#2B502E #2B3B50 #502B4D #50412B
split-complementary
#2B502E #412B50 #502B3B
monochromatic
#0B140B #162817 #2B502E #407845 #56A05C

Accessibility & contrast

On white

9.17
#2B502E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2B502E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B502E
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B502E#FFFFFF#000000##FFFFFF
##2B502E1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514A2C
Deuteranopia (green-blind)
#4C4630
Tritanopia (blue-blind)
#264E47
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2b502e;
/* rgb */ color: rgb(43, 80, 46);
/* oklch */ color: oklch(39.4% 0.071 145.9);
Tailwind
colors: {
  custom: {
    50: '#678167',
    500: '#2b502e',
    950: '#000000',
  },
}
SCSS
$custom: #2b502e;
$custom-light: #678167;
$custom-dark: #000000;
JSON
{
  "hex": "#2b502e",
  "rgb": {
    "r": 43,
    "g": 80,
    "b": 46
  },
  "hsl": {
    "h": 124.865,
    "s": 30.081,
    "l": 24.118
  },
  "oklch": {
    "l": 0.39354,
    "c": 0.07083,
    "h": 145.9
  },
  "luminance": 0.06448
}

Semantic roles & 50–950 ramp

primary
#2B502E
secondary
#82557E
accent
#61BEC6
background
#F6F7F6
surface
#EBEEEB
border
#C6C9C6
text
#060A06
muted
#7A7C7A

Preview Lab

Preview with #2B502E

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

Preview Lab → · Contrast checker → · Palette generator →

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