#2B3A0A#2B3A0A

#2B3A0A is a dark, moderate yellow-green. Relative luminance 0.036; OKLCH L 32.4% C 0.072 H 125.5°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#2B3A0A
RGBrgb(43, 58, 10)
HSLhsl(79, 71%, 13%)
HSVhsv(79, 83%, 23%)
CMYKcmyk(25.9%, 0%, 82.8%, 77.3%)
CIE-LABlab(22.17, -14.55, 26.21)
CIE-LCHlch(22.17, 29.98, 119.04°)
OKLaboklab(32.41% -0.042 0.0589)
OKLCHoklch(32.41% 0.072 125.5)
XYZxyz(2.5641, 3.5616, 0.8395)
Luminance0.0356 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3A0A #190A3A
analogous
#3A310A #2B3A0A #133A0A
triadic
#2B3A0A #0A2B3A #3A0A2B
tetradic
#2B3A0A #0A3A31 #190A3A #3A0A13
square
#2B3A0A #0A3A31 #190A3A #3A0A13
split-complementary
#2B3A0A #0A133A #310A3A
monochromatic
#131A05 #131A05 #2B3A0A #526E13 #78A21C

Accessibility & contrast

On white

12.26
#2B3A0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#2B3A0A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3A0A
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3A0A#FFFFFF#000000##FFFFFF
##2B3A0A1.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b3a0a;
/* rgb */ color: rgb(43, 58, 10);
/* oklch */ color: oklch(32.4% 0.072 125.5);
Tailwind
colors: {
  custom: {
    50: '#66704d',
    500: '#2b3a0a',
    950: '#000000',
  },
}
SCSS
$custom: #2b3a0a;
$custom-light: #66704d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3a0a",
  "rgb": {
    "r": 43,
    "g": 58,
    "b": 10
  },
  "hsl": {
    "h": 78.75,
    "s": 70.588,
    "l": 13.333
  },
  "oklch": {
    "l": 0.32407,
    "c": 0.07231,
    "h": 125.5
  },
  "luminance": 0.03562
}

Semantic roles & 50–950 ramp

primary
#2B3A0A
secondary
#412877
accent
#3AED72
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2B3A0A

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

Preview Lab → · Contrast checker → · Palette generator →

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