#2B4E18#2B4E18

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

Color values

HEX#2B4E18
RGBrgb(43, 78, 24)
HSLhsl(99, 53%, 20%)
HSVhsv(99, 69%, 31%)
CMYKcmyk(44.9%, 0%, 69.2%, 69.4%)
CIE-LABlab(29.48, -23.81, 27.26)
CIE-LCHlch(29.48, 36.19, 131.14°)
OKLaboklab(38.41% -0.066 0.0631)
OKLCHoklch(38.41% 0.091 136.3)
XYZxyz(3.8854, 6.0281, 1.8228)
Luminance0.0603 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4E18 #3B184E
analogous
#464E18 #2B4E18 #184E20
triadic
#2B4E18 #182B4E #4E182B
tetradic
#2B4E18 #18464E #3B184E #4E2018
square
#2B4E18 #18464E #3B184E #4E2018
split-complementary
#2B4E18 #20184E #4E1846
monochromatic
#0D1707 #111F0A #2B4E18 #457D26 #5FAC35

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B4E18#FFFFFF#000000##FFFFFF
##2B4E181.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)
#514712
Deuteranopia (green-blind)
#4C441C
Tritanopia (blue-blind)
#2A4B43
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2b4e18;
/* rgb */ color: rgb(43, 78, 24);
/* oklch */ color: oklch(38.4% 0.091 136.3);
Tailwind
colors: {
  custom: {
    50: '#678057',
    500: '#2b4e18',
    950: '#000000',
  },
}
SCSS
$custom: #2b4e18;
$custom-light: #678057;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4e18",
  "rgb": {
    "r": 43,
    "g": 78,
    "b": 24
  },
  "hsl": {
    "h": 98.889,
    "s": 52.941,
    "l": 20
  },
  "oklch": {
    "l": 0.38406,
    "c": 0.09129,
    "h": 136.3
  },
  "luminance": 0.06028
}

Semantic roles & 50–950 ramp

primary
#2B4E18
secondary
#6C3D85
accent
#4BDCA9
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2B4E18

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

Preview Lab → · Contrast checker → · Palette generator →

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