#2B3B08#2B3B08

#2B3B08 is a dark, moderate yellow-green. Relative luminance 0.037; OKLCH L 32.7% C 0.075 H 125.9°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#2B3B08
RGBrgb(43, 59, 8)
HSLhsl(79, 76%, 13%)
HSVhsv(79, 86%, 23%)
CMYKcmyk(27.1%, 0%, 86.4%, 76.9%)
CIE-LABlab(22.51, -15.26, 27.39)
CIE-LCHlch(22.51, 31.35, 119.13°)
OKLaboklab(32.68% -0.0441 0.0611)
OKLCHoklch(32.68% 0.075 125.9)
XYZxyz(2.6041, 3.6590, 0.7987)
Luminance0.0366 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3B08 #18083B
analogous
#3B3108 #2B3B08 #113B08
triadic
#2B3B08 #082B3B #3B082B
tetradic
#2B3B08 #083B31 #18083B #3B0811
square
#2B3B08 #083B31 #18083B #3B0811
split-complementary
#2B3B08 #08113B #31083B
monochromatic
#141B04 #141B04 #2B3B08 #52710F #7AA717

Accessibility & contrast

On white

12.13
#2B3B08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#2B3B08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3B08
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3B08#FFFFFF#000000##FFFFFF
##2B3B081.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3601
Deuteranopia (green-blind)
#3D360D
Tritanopia (blue-blind)
#2D3831
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2b3b08;
/* rgb */ color: rgb(43, 59, 8);
/* oklch */ color: oklch(32.7% 0.075 125.9);
Tailwind
colors: {
  custom: {
    50: '#66714c',
    500: '#2b3b08',
    950: '#000000',
  },
}
SCSS
$custom: #2b3b08;
$custom-light: #66714c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3b08",
  "rgb": {
    "r": 43,
    "g": 59,
    "b": 8
  },
  "hsl": {
    "h": 78.824,
    "s": 76.119,
    "l": 13.137
  },
  "oklch": {
    "l": 0.32681,
    "c": 0.07535,
    "h": 125.9
  },
  "luminance": 0.03659
}

Semantic roles & 50–950 ramp

primary
#2B3B08
secondary
#40257A
accent
#35F371
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2B3B08

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

Preview Lab → · Contrast checker → · Palette generator →

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