#2B3A12#2B3A12

#2B3A12 is a dark, moderate yellow-green. Relative luminance 0.036; OKLCH L 32.5% C 0.065 H 127.0°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#2B3A12
RGBrgb(43, 58, 18)
HSLhsl(83, 53%, 15%)
HSVhsv(83, 69%, 23%)
CMYKcmyk(25.9%, 0%, 69%, 77.3%)
CIE-LABlab(22.24, -13.83, 22.37)
CIE-LCHlch(22.24, 26.30, 121.73°)
OKLaboklab(32.49% -0.0391 0.0519)
OKLCHoklch(32.49% 0.065 127)
XYZxyz(2.6185, 3.5833, 1.1258)
Luminance0.0358 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3A12 #21123A
analogous
#3A3512 #2B3A12 #173A12
triadic
#2B3A12 #122B3A #3A122B
tetradic
#2B3A12 #123A35 #21123A #3A1217
square
#2B3A12 #123A35 #21123A #3A1217
split-complementary
#2B3A12 #12173A #35123A
monochromatic
#111707 #111707 #2B3A12 #4E6920 #70972F

Accessibility & contrast

On white

12.23
#2B3A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#2B3A12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3A12
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3A12#FFFFFF#000000##FFFFFF
##2B3A121.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D360E
Deuteranopia (green-blind)
#3B3515
Tritanopia (blue-blind)
#2D3731
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2b3a12;
/* rgb */ color: rgb(43, 58, 18);
/* oklch */ color: oklch(32.5% 0.065 127.0);
Tailwind
colors: {
  custom: {
    50: '#667051',
    500: '#2b3a12',
    950: '#000000',
  },
}
SCSS
$custom: #2b3a12;
$custom-light: #667051;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3a12",
  "rgb": {
    "r": 43,
    "g": 58,
    "b": 18
  },
  "hsl": {
    "h": 82.5,
    "s": 52.632,
    "l": 14.902
  },
  "oklch": {
    "l": 0.32494,
    "c": 0.06501,
    "h": 127
  },
  "luminance": 0.03583
}

Semantic roles & 50–950 ramp

primary
#2B3A12
secondary
#4C3573
accent
#4CDC82
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2B3A12

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

Preview Lab → · Contrast checker → · Palette generator →

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