#2B3A0C#2B3A0C

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

Color values

HEX#2B3A0C
RGBrgb(43, 58, 12)
HSLhsl(80, 66%, 14%)
HSVhsv(80, 79%, 23%)
CMYKcmyk(25.9%, 0%, 79.3%, 77.3%)
CIE-LABlab(22.18, -14.39, 25.37)
CIE-LCHlch(22.18, 29.17, 119.57°)
OKLaboklab(32.42% -0.0414 0.0573)
OKLCHoklch(32.42% 0.071 125.8)
XYZxyz(2.5757, 3.5662, 0.9004)
Luminance0.0357 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3A0C #1B0C3A
analogous
#3A320C #2B3A0C #143A0C
triadic
#2B3A0C #0C2B3A #3A0C2B
tetradic
#2B3A0C #0C3A32 #1B0C3A #3A0C14
square
#2B3A0C #0C3A32 #1B0C3A #3A0C14
split-complementary
#2B3A0C #0C143A #320C3A
monochromatic
#131905 #131905 #2B3A0C #516D16 #769F21

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B3A0C#FFFFFF#000000##FFFFFF
##2B3A0C1.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)
#3E3606
Deuteranopia (green-blind)
#3B3510
Tritanopia (blue-blind)
#2D3731
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2b3a0c;
/* rgb */ color: rgb(43, 58, 12);
/* oklch */ color: oklch(32.4% 0.071 125.8);
Tailwind
colors: {
  custom: {
    50: '#66704e',
    500: '#2b3a0c',
    950: '#000000',
  },
}
SCSS
$custom: #2b3a0c;
$custom-light: #66704e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3a0c",
  "rgb": {
    "r": 43,
    "g": 58,
    "b": 12
  },
  "hsl": {
    "h": 79.565,
    "s": 65.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.32425,
    "c": 0.0707,
    "h": 125.8
  },
  "luminance": 0.03566
}

Semantic roles & 50–950 ramp

primary
#2B3A0C
secondary
#442C76
accent
#3FE976
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2B3A0C

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

Preview Lab → · Contrast checker → · Palette generator →

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