#2B4B15#2B4B15

#2B4B15 is a dark, moderate yellow-green. Relative luminance 0.056; OKLCH L 37.5% C 0.089 H 134.9°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#2B4B15
RGBrgb(43, 75, 21)
HSLhsl(96, 56%, 19%)
HSVhsv(96, 72%, 29%)
CMYKcmyk(42.7%, 0%, 72%, 70.6%)
CIE-LABlab(28.38, -22.64, 27.55)
CIE-LCHlch(28.38, 35.66, 129.41°)
OKLaboklab(37.49% -0.063 0.0633)
OKLCHoklch(37.49% 0.089 134.9)
XYZxyz(3.6476, 5.5997, 1.5980)
Luminance0.0560 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4B15 #35154B
analogous
#464B15 #2B4B15 #154B1A
triadic
#2B4B15 #152B4B #4B152B
tetradic
#2B4B15 #15464B #35154B #4B1A15
square
#2B4B15 #15464B #35154B #4B1A15
split-complementary
#2B4B15 #1A154B #4B1546
monochromatic
#0E1807 #101B08 #2B4B15 #467B22 #62AB30

Accessibility & contrast

On white

9.91
#2B4B15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2B4B15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4B15
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4B15#FFFFFF#000000##FFFFFF
##2B4B151.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E450E
Deuteranopia (green-blind)
#4A4219
Tritanopia (blue-blind)
#2A4840
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2b4b15;
/* rgb */ color: rgb(43, 75, 21);
/* oklch */ color: oklch(37.5% 0.089 134.9);
Tailwind
colors: {
  custom: {
    50: '#677d55',
    500: '#2b4b15',
    950: '#000000',
  },
}
SCSS
$custom: #2b4b15;
$custom-light: #677d55;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4b15",
  "rgb": {
    "r": 43,
    "g": 75,
    "b": 21
  },
  "hsl": {
    "h": 95.556,
    "s": 56.25,
    "l": 18.824
  },
  "oklch": {
    "l": 0.37494,
    "c": 0.08934,
    "h": 134.9
  },
  "luminance": 0.056
}

Semantic roles & 50–950 ramp

primary
#2B4B15
secondary
#653983
accent
#48E0A2
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2B4B15

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

Preview Lab → · Contrast checker → · Palette generator →

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