#2B4A15#2B4A15

#2B4A15 is a dark, moderate yellow-green. Relative luminance 0.055; OKLCH L 37.2% C 0.088 H 134.6°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#2B4A15
RGBrgb(43, 74, 21)
HSLhsl(95, 56%, 19%)
HSVhsv(95, 72%, 29%)
CMYKcmyk(41.9%, 0%, 71.6%, 71%)
CIE-LABlab(28.02, -22.14, 27.16)
CIE-LCHlch(28.02, 35.04, 129.18°)
OKLaboklab(37.2% -0.0617 0.0625)
OKLCHoklch(37.2% 0.088 134.6)
XYZxyz(3.5803, 5.4651, 1.5755)
Luminance0.0546 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4A15 #34154A
analogous
#454A15 #2B4A15 #154A19
triadic
#2B4A15 #152B4A #4A152B
tetradic
#2B4A15 #15454A #34154A #4A1915
square
#2B4A15 #15454A #34154A #4A1915
split-complementary
#2B4A15 #19154A #4A1545
monochromatic
#0E1807 #0F1A07 #2B4A15 #477A23 #62A930

Accessibility & contrast

On white

10.03
#2B4A15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2B4A15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4A15
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4A15#FFFFFF#000000##FFFFFF
##2B4A151.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D440E
Deuteranopia (green-blind)
#494119
Tritanopia (blue-blind)
#2B473F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2b4a15;
/* rgb */ color: rgb(43, 74, 21);
/* oklch */ color: oklch(37.2% 0.088 134.6);
Tailwind
colors: {
  custom: {
    50: '#677d55',
    500: '#2b4a15',
    950: '#000000',
  },
}
SCSS
$custom: #2b4a15;
$custom-light: #677d55;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4a15",
  "rgb": {
    "r": 43,
    "g": 74,
    "b": 21
  },
  "hsl": {
    "h": 95.094,
    "s": 55.789,
    "l": 18.627
  },
  "oklch": {
    "l": 0.37201,
    "c": 0.0878,
    "h": 134.6
  },
  "luminance": 0.05465
}

Semantic roles & 50–950 ramp

primary
#2B4A15
secondary
#643982
accent
#49DFA1
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2B4A15

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

Preview Lab → · Contrast checker → · Palette generator →

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