#2B4E19#2B4E19

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

Color values

HEX#2B4E19
RGBrgb(43, 78, 25)
HSLhsl(100, 51%, 20%)
HSVhsv(100, 68%, 31%)
CMYKcmyk(44.9%, 0%, 67.9%, 69.4%)
CIE-LABlab(29.49, -23.70, 26.76)
CIE-LCHlch(29.49, 35.74, 131.53°)
OKLaboklab(38.42% -0.0656 0.0622)
OKLCHoklch(38.42% 0.09 136.5)
XYZxyz(3.8960, 6.0323, 1.8786)
Luminance0.0603 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4E19 #3C194E
analogous
#454E19 #2B4E19 #194E22
triadic
#2B4E19 #192B4E #4E192B
tetradic
#2B4E19 #19454E #3C194E #4E2219
square
#2B4E19 #19454E #3C194E #4E2219
split-complementary
#2B4E19 #22194E #4E1945
monochromatic
#0D1707 #11200A #2B4E19 #457C28 #5EAB37

Accessibility & contrast

On white

9.52
#2B4E19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2B4E19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4E19
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4E19#FFFFFF#000000##FFFFFF
##2B4E191.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514713
Deuteranopia (green-blind)
#4C441D
Tritanopia (blue-blind)
#2A4B43
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2b4e19;
/* rgb */ color: rgb(43, 78, 25);
/* oklch */ color: oklch(38.4% 0.090 136.5);
Tailwind
colors: {
  custom: {
    50: '#678058',
    500: '#2b4e19',
    950: '#000000',
  },
}
SCSS
$custom: #2b4e19;
$custom-light: #678058;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4e19",
  "rgb": {
    "r": 43,
    "g": 78,
    "b": 25
  },
  "hsl": {
    "h": 99.623,
    "s": 51.456,
    "l": 20.196
  },
  "oklch": {
    "l": 0.38419,
    "c": 0.09036,
    "h": 136.5
  },
  "luminance": 0.06033
}

Semantic roles & 50–950 ramp

primary
#2B4E19
secondary
#6D3E84
accent
#4DDBAB
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2B4E19

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

Preview Lab → · Contrast checker → · Palette generator →

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