#2B4C13#2B4C13

#2B4C13 is a dark, moderate yellow-green. Relative luminance 0.057; OKLCH L 37.8% C 0.093 H 134.7°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#2B4C13
RGBrgb(43, 76, 19)
HSLhsl(95, 60%, 19%)
HSVhsv(95, 75%, 30%)
CMYKcmyk(43.4%, 0%, 75%, 70.2%)
CIE-LABlab(28.72, -23.33, 28.87)
CIE-LCHlch(28.72, 37.12, 128.94°)
OKLaboklab(37.77% -0.0651 0.0658)
OKLCHoklch(37.77% 0.093 134.7)
XYZxyz(3.6982, 5.7293, 1.5270)
Luminance0.0573 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4C13 #34134C
analogous
#474C13 #2B4C13 #134C17
triadic
#2B4C13 #132B4C #4C132B
tetradic
#2B4C13 #13474C #34134C #4C1713
square
#2B4C13 #13474C #34134C #4C1713
split-complementary
#2B4C13 #17134C #4C1347
monochromatic
#0E1806 #0F1B07 #2B4C13 #477D1F #62AE2B

Accessibility & contrast

On white

9.79
#2B4C13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2B4C13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4C13
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4C13#FFFFFF#000000##FFFFFF
##2B4C131.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F450B
Deuteranopia (green-blind)
#4B4318
Tritanopia (blue-blind)
#2A4940
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2b4c13;
/* rgb */ color: rgb(43, 76, 19);
/* oklch */ color: oklch(37.8% 0.093 134.7);
Tailwind
colors: {
  custom: {
    50: '#687e54',
    500: '#2b4c13',
    950: '#000000',
  },
}
SCSS
$custom: #2b4c13;
$custom-light: #687e54;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4c13",
  "rgb": {
    "r": 43,
    "g": 76,
    "b": 19
  },
  "hsl": {
    "h": 94.737,
    "s": 60,
    "l": 18.627
  },
  "oklch": {
    "l": 0.37766,
    "c": 0.09255,
    "h": 134.7
  },
  "luminance": 0.05729
}

Semantic roles & 50–950 ramp

primary
#2B4C13
secondary
#643685
accent
#45E3A0
background
#F6F7F5
surface
#EBEEE8
border
#C6C9C4
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2B4C13

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

Preview Lab → · Contrast checker → · Palette generator →

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