#2B4E15#2B4E15

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

Color values

HEX#2B4E15
RGBrgb(43, 78, 21)
HSLhsl(97, 58%, 19%)
HSVhsv(97, 73%, 31%)
CMYKcmyk(44.9%, 0%, 73.1%, 69.4%)
CIE-LABlab(29.45, -24.12, 28.70)
CIE-LCHlch(29.45, 37.49, 130.04°)
OKLaboklab(38.37% -0.067 0.0658)
OKLCHoklch(38.37% 0.094 135.6)
XYZxyz(3.8559, 6.0163, 1.6674)
Luminance0.0602 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4E15 #38154E
analogous
#484E15 #2B4E15 #154E1C
triadic
#2B4E15 #152B4E #4E152B
tetradic
#2B4E15 #15484E #38154E #4E1C15
square
#2B4E15 #15484E #38154E #4E1C15
split-complementary
#2B4E15 #1C154E #4E1548
monochromatic
#0D1806 #101E08 #2B4E15 #467E22 #60AE2F

Accessibility & contrast

On white

9.53
#2B4E15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B4E15
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4E15#FFFFFF#000000##FFFFFF
##2B4E151.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b4e15;
/* rgb */ color: rgb(43, 78, 21);
/* oklch */ color: oklch(38.4% 0.094 135.6);
Tailwind
colors: {
  custom: {
    50: '#688056',
    500: '#2b4e15',
    950: '#000000',
  },
}
SCSS
$custom: #2b4e15;
$custom-light: #688056;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4e15",
  "rgb": {
    "r": 43,
    "g": 78,
    "b": 21
  },
  "hsl": {
    "h": 96.842,
    "s": 57.576,
    "l": 19.412
  },
  "oklch": {
    "l": 0.38373,
    "c": 0.09391,
    "h": 135.6
  },
  "luminance": 0.06017
}

Semantic roles & 50–950 ramp

primary
#2B4E15
secondary
#683986
accent
#47E1A5
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2B4E15

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

Preview Lab → · Contrast checker → · Palette generator →

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