#2B4E13#2B4E13

#2B4E13 is a dark, moderate yellow-green. Relative luminance 0.060; OKLCH L 38.4% C 0.096 H 135.2°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#2B4E13
RGBrgb(43, 78, 19)
HSLhsl(96, 61%, 19%)
HSVhsv(96, 76%, 31%)
CMYKcmyk(44.9%, 0%, 75.6%, 69.4%)
CIE-LABlab(29.44, -24.30, 29.62)
CIE-LCHlch(29.44, 38.32, 129.37°)
OKLaboklab(38.35% -0.0677 0.0674)
OKLCHoklch(38.35% 0.096 135.2)
XYZxyz(3.8381, 6.0092, 1.5736)
Luminance0.0601 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4E13 #36134E
analogous
#494E13 #2B4E13 #134E19
triadic
#2B4E13 #132B4E #4E132B
tetradic
#2B4E13 #13494E #36134E #4E1913
square
#2B4E13 #13494E #36134E #4E1913
split-complementary
#2B4E13 #19134E #4E1349
monochromatic
#0E1906 #101D07 #2B4E13 #467F1F #61B02B

Accessibility & contrast

On white

9.54
#2B4E13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2B4E13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4E13
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4E13#FFFFFF#000000##FFFFFF
##2B4E131.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51470A
Deuteranopia (green-blind)
#4C4418
Tritanopia (blue-blind)
#2A4B42
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2b4e13;
/* rgb */ color: rgb(43, 78, 19);
/* oklch */ color: oklch(38.4% 0.096 135.2);
Tailwind
colors: {
  custom: {
    50: '#688054',
    500: '#2b4e13',
    950: '#000000',
  },
}
SCSS
$custom: #2b4e13;
$custom-light: #688054;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4e13",
  "rgb": {
    "r": 43,
    "g": 78,
    "b": 19
  },
  "hsl": {
    "h": 95.593,
    "s": 60.825,
    "l": 19.02
  },
  "oklch": {
    "l": 0.38352,
    "c": 0.09554,
    "h": 135.2
  },
  "luminance": 0.06009
}

Semantic roles & 50–950 ramp

primary
#2B4E13
secondary
#663687
accent
#44E4A3
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2B4E13

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

Preview Lab → · Contrast checker → · Palette generator →

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