#2B5B0E#2B5B0E

#2B5B0E is a dark, moderate yellow-green. Relative luminance 0.080; OKLCH L 42.1% C 0.117 H 136.7°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#2B5B0E
RGBrgb(43, 91, 14)
HSLhsl(97, 73%, 21%)
HSVhsv(97, 85%, 36%)
CMYKcmyk(52.7%, 0%, 84.6%, 64.3%)
CIE-LABlab(34.04, -30.66, 36.18)
CIE-LCHlch(34.04, 47.42, 130.28°)
OKLaboklab(42.12% -0.0853 0.0803)
OKLCHoklch(42.12% 0.117 136.7)
XYZxyz(4.8165, 8.0271, 1.7110)
Luminance0.0803 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5B0E #3E0E5B
analogous
#515B0E #2B5B0E #0E5B18
triadic
#2B5B0E #0E2B5B #5B0E2B
tetradic
#2B5B0E #0E515B #3E0E5B #5B180E
square
#2B5B0E #0E515B #3E0E5B #5B180E
split-complementary
#2B5B0E #180E5B #5B0E51
monochromatic
#0D1B04 #122606 #2B5B0E #449016 #5DC51E

Accessibility & contrast

On white

8.06
#2B5B0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#2B5B0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5B0E
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5B0E#FFFFFF#000000##FFFFFF
##2B5B0E1.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5300
Deuteranopia (green-blind)
#584F17
Tritanopia (blue-blind)
#28574D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2b5b0e;
/* rgb */ color: rgb(43, 91, 14);
/* oklch */ color: oklch(42.1% 0.117 136.7);
Tailwind
colors: {
  custom: {
    50: '#6a8a54',
    500: '#2b5b0e',
    950: '#000000',
  },
}
SCSS
$custom: #2b5b0e;
$custom-light: #6a8a54;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5b0e",
  "rgb": {
    "r": 43,
    "g": 91,
    "b": 14
  },
  "hsl": {
    "h": 97.403,
    "s": 73.333,
    "l": 20.588
  },
  "oklch": {
    "l": 0.42119,
    "c": 0.11711,
    "h": 136.7
  },
  "luminance": 0.08027
}

Semantic roles & 50–950 ramp

primary
#2B5B0E
secondary
#6F3095
accent
#38F0AB
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2B5B0E

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

Preview Lab → · Contrast checker → · Palette generator →

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