#2B4108#2B4108

#2B4108 is a dark, moderate yellow-green. Relative luminance 0.043; OKLCH L 34.4% C 0.084 H 129.1°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#2B4108
RGBrgb(43, 65, 8)
HSLhsl(83, 78%, 14%)
HSVhsv(83, 88%, 25%)
CMYKcmyk(33.8%, 0%, 87.7%, 74.5%)
CIE-LABlab(24.68, -18.54, 29.56)
CIE-LCHlch(24.68, 34.90, 122.10°)
OKLaboklab(34.44% -0.0531 0.0654)
OKLCHoklch(34.44% 0.084 129.1)
XYZxyz(2.9304, 4.3116, 0.9075)
Luminance0.0431 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4108 #1E0841
analogous
#413B08 #2B4108 #0F4108
triadic
#2B4108 #082B41 #41082B
tetradic
#2B4108 #08413B #1E0841 #41080F
square
#2B4108 #08413B #1E0841 #41080F
split-complementary
#2B4108 #080F41 #3B0841
monochromatic
#121B03 #121B03 #2B4108 #4F770F #73AE15

Accessibility & contrast

On white

11.28
#2B4108 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2B4108 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4108
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4108#FFFFFF#000000##FFFFFF
##2B41081.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453C00
Deuteranopia (green-blind)
#423A0E
Tritanopia (blue-blind)
#2D3E36
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2b4108;
/* rgb */ color: rgb(43, 65, 8);
/* oklch */ color: oklch(34.4% 0.084 129.1);
Tailwind
colors: {
  custom: {
    50: '#67754d',
    500: '#2b4108',
    950: '#000000',
  },
}
SCSS
$custom: #2b4108;
$custom-light: #67754d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4108",
  "rgb": {
    "r": 43,
    "g": 65,
    "b": 8
  },
  "hsl": {
    "h": 83.158,
    "s": 78.082,
    "l": 14.314
  },
  "oklch": {
    "l": 0.3444,
    "c": 0.0842,
    "h": 129.1
  },
  "luminance": 0.04312
}

Semantic roles & 50–950 ramp

primary
#2B4108
secondary
#48257F
accent
#33F57E
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2B4108

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

Preview Lab → · Contrast checker → · Palette generator →

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