#2B5913#2B5913

#2B5913 is a dark, moderate yellow-green. Relative luminance 0.077; OKLCH L 41.6% C 0.111 H 137.1°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#2B5913
RGBrgb(43, 89, 19)
HSLhsl(99, 65%, 21%)
HSVhsv(99, 79%, 35%)
CMYKcmyk(51.7%, 0%, 78.7%, 65.1%)
CIE-LABlab(33.36, -29.42, 33.63)
CIE-LCHlch(33.36, 44.68, 131.18°)
OKLaboklab(41.57% -0.0816 0.0758)
OKLCHoklch(41.57% 0.111 137.1)
XYZxyz(4.6860, 7.7050, 1.8563)
Luminance0.0770 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5913 #411359
analogous
#4E5913 #2B5913 #13591E
triadic
#2B5913 #132B59 #59132B
tetradic
#2B5913 #134E59 #411359 #591E13
square
#2B5913 #134E59 #411359 #591E13
split-complementary
#2B5913 #1E1359 #59134E
monochromatic
#0C1905 #132708 #2B5913 #438B1E #5CBE29

Accessibility & contrast

On white

8.26
#2B5913 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#2B5913 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5913
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5913#FFFFFF#000000##FFFFFF
##2B59131.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5106
Deuteranopia (green-blind)
#564D1A
Tritanopia (blue-blind)
#28564B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2b5913;
/* rgb */ color: rgb(43, 89, 19);
/* oklch */ color: oklch(41.6% 0.111 137.1);
Tailwind
colors: {
  custom: {
    50: '#6a8856',
    500: '#2b5913',
    950: '#000000',
  },
}
SCSS
$custom: #2b5913;
$custom-light: #6a8856;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5913",
  "rgb": {
    "r": 43,
    "g": 89,
    "b": 19
  },
  "hsl": {
    "h": 99.429,
    "s": 64.815,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41572,
    "c": 0.11135,
    "h": 137.1
  },
  "luminance": 0.07705
}

Semantic roles & 50–950 ramp

primary
#2B5913
secondary
#723791
accent
#40E8AE
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2B5913

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

Preview Lab → · Contrast checker → · Palette generator →

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