#2B3B0A#2B3B0A

#2B3B0A is a dark, moderate yellow-green. Relative luminance 0.037; OKLCH L 32.7% C 0.074 H 126.2°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#2B3B0A
RGBrgb(43, 59, 10)
HSLhsl(80, 71%, 14%)
HSVhsv(80, 83%, 23%)
CMYKcmyk(27.1%, 0%, 83.1%, 76.9%)
CIE-LABlab(22.53, -15.12, 26.59)
CIE-LCHlch(22.53, 30.59, 119.62°)
OKLaboklab(32.7% -0.0435 0.0596)
OKLCHoklch(32.7% 0.074 126.2)
XYZxyz(2.6150, 3.6634, 0.8564)
Luminance0.0366 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3B0A #1A0A3B
analogous
#3B320A #2B3B0A #123B0A
triadic
#2B3B0A #0A2B3B #3B0A2B
tetradic
#2B3B0A #0A3B32 #1A0A3B #3B0A12
square
#2B3B0A #0A3B32 #1A0A3B #3B0A12
split-complementary
#2B3B0A #0A123B #320A3B
monochromatic
#131A04 #131A04 #2B3B0A #516F13 #77A41C

Accessibility & contrast

On white

12.12
#2B3B0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#2B3B0A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3B0A
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3B0A#FFFFFF#000000##FFFFFF
##2B3B0A1.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3603
Deuteranopia (green-blind)
#3C360E
Tritanopia (blue-blind)
#2D3831
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2b3b0a;
/* rgb */ color: rgb(43, 59, 10);
/* oklch */ color: oklch(32.7% 0.074 126.2);
Tailwind
colors: {
  custom: {
    50: '#66714d',
    500: '#2b3b0a',
    950: '#000000',
  },
}
SCSS
$custom: #2b3b0a;
$custom-light: #66714d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3b0a",
  "rgb": {
    "r": 43,
    "g": 59,
    "b": 10
  },
  "hsl": {
    "h": 79.592,
    "s": 71.014,
    "l": 13.529
  },
  "oklch": {
    "l": 0.32699,
    "c": 0.07382,
    "h": 126.2
  },
  "luminance": 0.03663
}

Semantic roles & 50–950 ramp

primary
#2B3B0A
secondary
#432878
accent
#3AEE75
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2B3B0A

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

Preview Lab → · Contrast checker → · Palette generator →

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