#2B3707#2B3707

#2B3707 is a dark, moderate yellow-green. Relative luminance 0.033; OKLCH L 31.5% C 0.070 H 122.9°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#2B3707
RGBrgb(43, 55, 7)
HSLhsl(75, 77%, 12%)
HSVhsv(75, 87%, 22%)
CMYKcmyk(21.8%, 0%, 87.3%, 78.4%)
CIE-LABlab(21.06, -13.04, 26.24)
CIE-LCHlch(21.06, 29.31, 116.43°)
OKLaboklab(31.51% -0.0382 0.0589)
OKLCHoklch(31.51% 0.07 122.9)
XYZxyz(2.4008, 3.2613, 0.7040)
Luminance0.0326 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3707 #130737
analogous
#372B07 #2B3707 #133707
triadic
#2B3707 #072B37 #37072B
tetradic
#2B3707 #07372B #130737 #370713
square
#2B3707 #07372B #130737 #370713
split-complementary
#2B3707 #071337 #2B0737
monochromatic
#151B03 #151B03 #2B3707 #556D0E #80A415

Accessibility & contrast

On white

12.71
#2B3707 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#2B3707 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3707
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3707#FFFFFF#000000##FFFFFF
##2B37071.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3301
Deuteranopia (green-blind)
#39330B
Tritanopia (blue-blind)
#2E342E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2b3707;
/* rgb */ color: rgb(43, 55, 7);
/* oklch */ color: oklch(31.5% 0.070 122.9);
Tailwind
colors: {
  custom: {
    50: '#666d4b',
    500: '#2b3707',
    950: '#000000',
  },
}
SCSS
$custom: #2b3707;
$custom-light: #666d4b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3707",
  "rgb": {
    "r": 43,
    "g": 55,
    "b": 7
  },
  "hsl": {
    "h": 75,
    "s": 77.419,
    "l": 12.157
  },
  "oklch": {
    "l": 0.31506,
    "c": 0.07024,
    "h": 122.9
  },
  "luminance": 0.03261
}

Semantic roles & 50–950 ramp

primary
#2B3707
secondary
#382377
accent
#34F464
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2B3707

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

Preview Lab → · Contrast checker → · Palette generator →

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