#2B3E12#2B3E12

#2B3E12 is a dark, moderate yellow-green. Relative luminance 0.040; OKLCH L 33.7% C 0.072 H 129.4°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#2B3E12
RGBrgb(43, 62, 18)
HSLhsl(86, 55%, 16%)
HSVhsv(86, 71%, 24%)
CMYKcmyk(30.6%, 0%, 71%, 75.7%)
CIE-LABlab(23.68, -16.10, 23.96)
CIE-LCHlch(23.68, 28.86, 123.90°)
OKLaboklab(33.66% -0.0454 0.0553)
OKLCHoklch(33.66% 0.072 129.4)
XYZxyz(2.8280, 4.0024, 1.1957)
Luminance0.0400 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3E12 #25123E
analogous
#3E3B12 #2B3E12 #153E12
triadic
#2B3E12 #122B3E #3E122B
tetradic
#2B3E12 #123E3B #25123E #3E1215
square
#2B3E12 #123E3B #25123E #3E1215
split-complementary
#2B3E12 #12153E #3B123E
monochromatic
#101807 #101807 #2B3E12 #4C6D20 #6D9D2E

Accessibility & contrast

On white

11.66
#2B3E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#2B3E12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3E12
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3E12#FFFFFF#000000##FFFFFF
##2B3E121.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41390D
Deuteranopia (green-blind)
#3F3815
Tritanopia (blue-blind)
#2C3B35
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2b3e12;
/* rgb */ color: rgb(43, 62, 18);
/* oklch */ color: oklch(33.7% 0.072 129.4);
Tailwind
colors: {
  custom: {
    50: '#667352',
    500: '#2b3e12',
    950: '#000000',
  },
}
SCSS
$custom: #2b3e12;
$custom-light: #667352;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3e12",
  "rgb": {
    "r": 43,
    "g": 62,
    "b": 18
  },
  "hsl": {
    "h": 85.909,
    "s": 55,
    "l": 15.686
  },
  "oklch": {
    "l": 0.33658,
    "c": 0.07154,
    "h": 129.4
  },
  "luminance": 0.04003
}

Semantic roles & 50–950 ramp

primary
#2B3E12
secondary
#513577
accent
#49DE8A
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2B3E12

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

Preview Lab → · Contrast checker → · Palette generator →

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