#2B4F15#2B4F15

#2B4F15 is a dark, moderate yellow-green. Relative luminance 0.062; OKLCH L 38.7% C 0.095 H 135.8°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#2B4F15
RGBrgb(43, 79, 21)
HSLhsl(97, 58%, 20%)
HSVhsv(97, 73%, 31%)
CMYKcmyk(45.6%, 0%, 73.4%, 69%)
CIE-LABlab(29.81, -24.60, 29.08)
CIE-LCHlch(29.81, 38.09, 130.23°)
OKLaboklab(38.67% -0.0684 0.0666)
OKLCHoklch(38.67% 0.095 135.8)
XYZxyz(3.9275, 6.1595, 1.6913)
Luminance0.0616 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4F15 #39154F
analogous
#484F15 #2B4F15 #154F1C
triadic
#2B4F15 #152B4F #4F152B
tetradic
#2B4F15 #15484F #39154F #4F1C15
square
#2B4F15 #15484F #39154F #4F1C15
split-complementary
#2B4F15 #1C154F #4F1548
monochromatic
#0D1806 #111F08 #2B4F15 #457F22 #60B02F

Accessibility & contrast

On white

9.41
#2B4F15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2B4F15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4F15
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4F15#FFFFFF#000000##FFFFFF
##2B4F151.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52480D
Deuteranopia (green-blind)
#4D451A
Tritanopia (blue-blind)
#2A4C43
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2b4f15;
/* rgb */ color: rgb(43, 79, 21);
/* oklch */ color: oklch(38.7% 0.095 135.8);
Tailwind
colors: {
  custom: {
    50: '#688056',
    500: '#2b4f15',
    950: '#000000',
  },
}
SCSS
$custom: #2b4f15;
$custom-light: #688056;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4f15",
  "rgb": {
    "r": 43,
    "g": 79,
    "b": 21
  },
  "hsl": {
    "h": 97.241,
    "s": 58,
    "l": 19.608
  },
  "oklch": {
    "l": 0.38665,
    "c": 0.09541,
    "h": 135.8
  },
  "luminance": 0.0616
}

Semantic roles & 50–950 ramp

primary
#2B4F15
secondary
#693987
accent
#47E1A7
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2B4F15

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

Preview Lab → · Contrast checker → · Palette generator →

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