#2B3907#2B3907

#2B3907 is a dark, moderate yellow-green. Relative luminance 0.035; OKLCH L 32.1% C 0.073 H 124.4°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#2B3907
RGBrgb(43, 57, 7)
HSLhsl(77, 78%, 13%)
HSVhsv(77, 88%, 22%)
CMYKcmyk(24.6%, 0%, 87.7%, 77.6%)
CIE-LABlab(21.78, -14.20, 27.02)
CIE-LCHlch(21.78, 30.53, 117.72°)
OKLaboklab(32.09% -0.0414 0.0604)
OKLCHoklch(32.09% 0.073 124.4)
XYZxyz(2.4978, 3.4552, 0.7363)
Luminance0.0345 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3907 #150739
analogous
#392E07 #2B3907 #123907
triadic
#2B3907 #072B39 #39072B
tetradic
#2B3907 #07392E #150739 #390712
square
#2B3907 #07392E #150739 #390712
split-complementary
#2B3907 #071239 #2E0739
monochromatic
#151B03 #151B03 #2B3907 #54700E #7DA614

Accessibility & contrast

On white

12.42
#2B3907 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#2B3907 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3907
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3907#FFFFFF#000000##FFFFFF
##2B39071.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3501
Deuteranopia (green-blind)
#3B340C
Tritanopia (blue-blind)
#2E3630
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2b3907;
/* rgb */ color: rgb(43, 57, 7);
/* oklch */ color: oklch(32.1% 0.073 124.4);
Tailwind
colors: {
  custom: {
    50: '#666f4b',
    500: '#2b3907',
    950: '#000000',
  },
}
SCSS
$custom: #2b3907;
$custom-light: #666f4b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3907",
  "rgb": {
    "r": 43,
    "g": 57,
    "b": 7
  },
  "hsl": {
    "h": 76.8,
    "s": 78.125,
    "l": 12.549
  },
  "oklch": {
    "l": 0.32088,
    "c": 0.07318,
    "h": 124.4
  },
  "luminance": 0.03455
}

Semantic roles & 50–950 ramp

primary
#2B3907
secondary
#3B2379
accent
#33F569
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2B3907

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

Preview Lab → · Contrast checker → · Palette generator →

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