#2B3A16#2B3A16

#2B3A16 is a dark, moderate yellow-green. Relative luminance 0.036; OKLCH L 32.6% C 0.061 H 128.2°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#2B3A16
RGBrgb(43, 58, 22)
HSLhsl(85, 45%, 16%)
HSVhsv(85, 62%, 23%)
CMYKcmyk(25.9%, 0%, 62.1%, 77.3%)
CIE-LABlab(22.29, -13.37, 20.15)
CIE-LCHlch(22.29, 24.18, 123.55°)
OKLaboklab(32.55% -0.0374 0.0476)
OKLCHoklch(32.55% 0.061 128.2)
XYZxyz(2.6541, 3.5976, 1.3135)
Luminance0.0360 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3A16 #25163A
analogous
#3A3716 #2B3A16 #193A16
triadic
#2B3A16 #162B3A #3A162B
tetradic
#2B3A16 #163A37 #25163A #3A1619
square
#2B3A16 #163A37 #25163A #3A1619
split-complementary
#2B3A16 #16193A #37163A
monochromatic
#101608 #101608 #2B3A16 #4C6627 #6D9338

Accessibility & contrast

On white

12.21
#2B3A16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B3A16
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3A16#FFFFFF#000000##FFFFFF
##2B3A161.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3613
Deuteranopia (green-blind)
#3B3518
Tritanopia (blue-blind)
#2C3732
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2b3a16;
/* rgb */ color: rgb(43, 58, 22);
/* oklch */ color: oklch(32.6% 0.061 128.2);
Tailwind
colors: {
  custom: {
    50: '#657054',
    500: '#2b3a16',
    950: '#000000',
  },
}
SCSS
$custom: #2b3a16;
$custom-light: #657054;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3a16",
  "rgb": {
    "r": 43,
    "g": 58,
    "b": 22
  },
  "hsl": {
    "h": 85,
    "s": 45,
    "l": 15.686
  },
  "oklch": {
    "l": 0.32552,
    "c": 0.06059,
    "h": 128.2
  },
  "luminance": 0.03598
}

Semantic roles & 50–950 ramp

primary
#2B3A16
secondary
#513B71
accent
#53D589
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060703
muted
#7A7A78

Preview Lab

Preview with #2B3A16

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

Preview Lab → · Contrast checker → · Palette generator →

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