#2B3E0A#2B3E0A

#2B3E0A is a dark, moderate yellow-green. Relative luminance 0.040; OKLCH L 33.6% C 0.078 H 127.9°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#2B3E0A
RGBrgb(43, 62, 10)
HSLhsl(82, 72%, 14%)
HSVhsv(82, 84%, 24%)
CMYKcmyk(30.6%, 0%, 83.9%, 75.7%)
CIE-LABlab(23.61, -16.78, 27.70)
CIE-LCHlch(23.61, 32.39, 121.22°)
OKLaboklab(33.58% -0.0481 0.0618)
OKLCHoklch(33.58% 0.078 127.9)
XYZxyz(2.7737, 3.9807, 0.9093)
Luminance0.0398 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3E0A #1D0A3E
analogous
#3E370A #2B3E0A #113E0A
triadic
#2B3E0A #0A2B3E #3E0A2B
tetradic
#2B3E0A #0A3E37 #1D0A3E #3E0A11
square
#2B3E0A #0A3E37 #1D0A3E #3E0A11
split-complementary
#2B3E0A #0A113E #370A3E
monochromatic
#121A04 #121A04 #2B3E0A #507313 #74A71B

Accessibility & contrast

On white

11.69
#2B3E0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#2B3E0A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3E0A
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3E0A#FFFFFF#000000##FFFFFF
##2B3E0A1.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423903
Deuteranopia (green-blind)
#3F380F
Tritanopia (blue-blind)
#2D3B34
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2b3e0a;
/* rgb */ color: rgb(43, 62, 10);
/* oklch */ color: oklch(33.6% 0.078 127.9);
Tailwind
colors: {
  custom: {
    50: '#67734d',
    500: '#2b3e0a',
    950: '#000000',
  },
}
SCSS
$custom: #2b3e0a;
$custom-light: #67734d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3e0a",
  "rgb": {
    "r": 43,
    "g": 62,
    "b": 10
  },
  "hsl": {
    "h": 81.923,
    "s": 72.222,
    "l": 14.118
  },
  "oklch": {
    "l": 0.33576,
    "c": 0.07835,
    "h": 127.9
  },
  "luminance": 0.03981
}

Semantic roles & 50–950 ramp

primary
#2B3E0A
secondary
#47287B
accent
#39EF7B
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2B3E0A

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

Preview Lab → · Contrast checker → · Palette generator →

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