#2B5813#2B5813

#2B5813 is a dark, moderate yellow-green. Relative luminance 0.075; OKLCH L 41.3% C 0.110 H 137.0°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#2B5813
RGBrgb(43, 88, 19)
HSLhsl(99, 64%, 21%)
HSVhsv(99, 78%, 35%)
CMYKcmyk(51.1%, 0%, 78.4%, 65.5%)
CIE-LABlab(33.01, -28.97, 33.27)
CIE-LCHlch(33.01, 44.12, 131.05°)
OKLaboklab(41.28% -0.0804 0.075)
OKLCHoklch(41.28% 0.11 137)
XYZxyz(4.6034, 7.5397, 1.8287)
Luminance0.0754 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5813 #401358
analogous
#4D5813 #2B5813 #13581D
triadic
#2B5813 #132B58 #58132B
tetradic
#2B5813 #134D58 #401358 #581D13
square
#2B5813 #134D58 #401358 #581D13
split-complementary
#2B5813 #1D1358 #58134D
monochromatic
#0C1905 #122608 #2B5813 #448A1E #5CBD29

Accessibility & contrast

On white

8.37
#2B5813 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#2B5813 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5813
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5813#FFFFFF#000000##FFFFFF
##2B58131.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5007
Deuteranopia (green-blind)
#554C1A
Tritanopia (blue-blind)
#28554B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2b5813;
/* rgb */ color: rgb(43, 88, 19);
/* oklch */ color: oklch(41.3% 0.110 137.0);
Tailwind
colors: {
  custom: {
    50: '#698756',
    500: '#2b5813',
    950: '#000000',
  },
}
SCSS
$custom: #2b5813;
$custom-light: #698756;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5813",
  "rgb": {
    "r": 43,
    "g": 88,
    "b": 19
  },
  "hsl": {
    "h": 99.13,
    "s": 64.486,
    "l": 20.98
  },
  "oklch": {
    "l": 0.4128,
    "c": 0.10996,
    "h": 137
  },
  "luminance": 0.0754
}

Semantic roles & 50–950 ramp

primary
#2B5813
secondary
#713790
accent
#40E7AD
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2B5813

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

Preview Lab → · Contrast checker → · Palette generator →

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