#2B4709#2B4709

#2B4709 is a dark, moderate yellow-green. Relative luminance 0.050; OKLCH L 36.2% C 0.092 H 131.6°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#2B4709
RGBrgb(43, 71, 9)
HSLhsl(87, 78%, 16%)
HSVhsv(87, 87%, 28%)
CMYKcmyk(39.4%, 0%, 87.3%, 72.2%)
CIE-LABlab(26.85, -21.59, 31.21)
CIE-LCHlch(26.85, 37.95, 124.68°)
OKLaboklab(36.21% -0.0612 0.069)
OKLCHoklch(36.21% 0.092 131.6)
XYZxyz(3.2988, 5.0397, 1.0573)
Luminance0.0504 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4709 #250947
analogous
#474409 #2B4709 #0C4709
triadic
#2B4709 #092B47 #47092B
tetradic
#2B4709 #094744 #250947 #47090C
square
#2B4709 #094744 #250947 #47090C
split-complementary
#2B4709 #090C47 #440947
monochromatic
#101B03 #101B03 #2B4709 #4C7D10 #6DB417

Accessibility & contrast

On white

10.46
#2B4709 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2B4709 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4709
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4709#FFFFFF#000000##FFFFFF
##2B47091.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4100
Deuteranopia (green-blind)
#473F10
Tritanopia (blue-blind)
#2C443C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2b4709;
/* rgb */ color: rgb(43, 71, 9);
/* oklch */ color: oklch(36.2% 0.092 131.6);
Tailwind
colors: {
  custom: {
    50: '#687a4e',
    500: '#2b4709',
    950: '#000000',
  },
}
SCSS
$custom: #2b4709;
$custom-light: #687a4e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4709",
  "rgb": {
    "r": 43,
    "g": 71,
    "b": 9
  },
  "hsl": {
    "h": 87.097,
    "s": 77.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.36213,
    "c": 0.09224,
    "h": 131.6
  },
  "luminance": 0.0504
}

Semantic roles & 50–950 ramp

primary
#2B4709
secondary
#512784
accent
#34F48B
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2B4709

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

Preview Lab → · Contrast checker → · Palette generator →

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