#2B3807#2B3807

#2B3807 is a dark, moderate yellow-green. Relative luminance 0.034; OKLCH L 31.8% C 0.072 H 123.7°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#2B3807
RGBrgb(43, 56, 7)
HSLhsl(76, 78%, 12%)
HSVhsv(76, 88%, 22%)
CMYKcmyk(23.2%, 0%, 87.5%, 78%)
CIE-LABlab(21.42, -13.62, 26.64)
CIE-LCHlch(21.42, 29.92, 117.09°)
OKLaboklab(31.8% -0.0398 0.0597)
OKLCHoklch(31.8% 0.072 123.7)
XYZxyz(2.4488, 3.3573, 0.7200)
Luminance0.0336 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3807 #140738
analogous
#382C07 #2B3807 #133807
triadic
#2B3807 #072B38 #38072B
tetradic
#2B3807 #07382C #140738 #380713
square
#2B3807 #07382C #140738 #380713
split-complementary
#2B3807 #071338 #2C0738
monochromatic
#151B03 #151B03 #2B3807 #556E0E #7FA515

Accessibility & contrast

On white

12.56
#2B3807 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#2B3807 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3807
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3807#FFFFFF#000000##FFFFFF
##2B38071.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3401
Deuteranopia (green-blind)
#3A330B
Tritanopia (blue-blind)
#2E352F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2b3807;
/* rgb */ color: rgb(43, 56, 7);
/* oklch */ color: oklch(31.8% 0.072 123.7);
Tailwind
colors: {
  custom: {
    50: '#666e4b',
    500: '#2b3807',
    950: '#000000',
  },
}
SCSS
$custom: #2b3807;
$custom-light: #666e4b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3807",
  "rgb": {
    "r": 43,
    "g": 56,
    "b": 7
  },
  "hsl": {
    "h": 75.918,
    "s": 77.778,
    "l": 12.353
  },
  "oklch": {
    "l": 0.31797,
    "c": 0.07171,
    "h": 123.7
  },
  "luminance": 0.03357
}

Semantic roles & 50–950 ramp

primary
#2B3807
secondary
#3A2378
accent
#34F467
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2B3807

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

Preview Lab → · Contrast checker → · Palette generator →

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