#2B4117#2B4117

#2B4117 is a dark, moderate yellow-green. Relative luminance 0.044; OKLCH L 34.6% C 0.071 H 132.2°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#2B4117
RGBrgb(43, 65, 23)
HSLhsl(91, 48%, 17%)
HSVhsv(91, 65%, 25%)
CMYKcmyk(33.8%, 0%, 64.6%, 74.5%)
CIE-LABlab(24.81, -17.19, 22.52)
CIE-LCHlch(24.81, 28.33, 127.35°)
OKLaboklab(34.6% -0.0479 0.0529)
OKLCHoklch(34.6% 0.071 132.2)
XYZxyz(3.0412, 4.3559, 1.4910)
Luminance0.0436 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4117 #2D1741
analogous
#404117 #2B4117 #174118
triadic
#2B4117 #172B41 #41172B
tetradic
#2B4117 #174041 #2D1741 #411817
square
#2B4117 #174041 #2D1741 #411817
split-complementary
#2B4117 #181741 #411740
monochromatic
#0F1708 #0F1708 #2B4117 #496E27 #679B37

Accessibility & contrast

On white

11.22
#2B4117 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2B4117 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4117
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4117#FFFFFF#000000##FFFFFF
##2B41171.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443C13
Deuteranopia (green-blind)
#413A1A
Tritanopia (blue-blind)
#2C3E38
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2b4117;
/* rgb */ color: rgb(43, 65, 23);
/* oklch */ color: oklch(34.6% 0.071 132.2);
Tailwind
colors: {
  custom: {
    50: '#667555',
    500: '#2b4117',
    950: '#000000',
  },
}
SCSS
$custom: #2b4117;
$custom-light: #667555;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4117",
  "rgb": {
    "r": 43,
    "g": 65,
    "b": 23
  },
  "hsl": {
    "h": 91.429,
    "s": 47.727,
    "l": 17.255
  },
  "oklch": {
    "l": 0.34598,
    "c": 0.07136,
    "h": 132.2
  },
  "luminance": 0.04356
}

Semantic roles & 50–950 ramp

primary
#2B4117
secondary
#5B3C78
accent
#50D797
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060803
muted
#7A7B78

Preview Lab

Preview with #2B4117

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

Preview Lab → · Contrast checker → · Palette generator →

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