#2B3F0A#2B3F0A

#2B3F0A is a dark, moderate yellow-green. Relative luminance 0.041; OKLCH L 33.9% C 0.080 H 128.4°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#2B3F0A
RGBrgb(43, 63, 10)
HSLhsl(83, 73%, 14%)
HSVhsv(83, 84%, 25%)
CMYKcmyk(31.7%, 0%, 84.1%, 75.3%)
CIE-LABlab(23.97, -17.33, 28.06)
CIE-LCHlch(23.97, 32.98, 121.70°)
OKLaboklab(33.87% -0.0496 0.0626)
OKLCHoklch(33.87% 0.08 128.4)
XYZxyz(2.8286, 4.0905, 0.9276)
Luminance0.0409 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3F0A #1E0A3F
analogous
#3F390A #2B3F0A #103F0A
triadic
#2B3F0A #0A2B3F #3F0A2B
tetradic
#2B3F0A #0A3F39 #1E0A3F #3F0A10
square
#2B3F0A #0A3F39 #1E0A3F #3F0A10
split-complementary
#2B3F0A #0A103F #390A3F
monochromatic
#121A04 #121A04 #2B3F0A #4F7412 #73A91B

Accessibility & contrast

On white

11.55
#2B3F0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2B3F0A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3F0A
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3F0A#FFFFFF#000000##FFFFFF
##2B3F0A1.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433A02
Deuteranopia (green-blind)
#40390F
Tritanopia (blue-blind)
#2D3C35
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2b3f0a;
/* rgb */ color: rgb(43, 63, 10);
/* oklch */ color: oklch(33.9% 0.080 128.4);
Tailwind
colors: {
  custom: {
    50: '#67744d',
    500: '#2b3f0a',
    950: '#000000',
  },
}
SCSS
$custom: #2b3f0a;
$custom-light: #67744d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3f0a",
  "rgb": {
    "r": 43,
    "g": 63,
    "b": 10
  },
  "hsl": {
    "h": 82.642,
    "s": 72.603,
    "l": 14.314
  },
  "oklch": {
    "l": 0.33869,
    "c": 0.07985,
    "h": 128.4
  },
  "luminance": 0.04091
}

Semantic roles & 50–950 ramp

primary
#2B3F0A
secondary
#48297C
accent
#38EF7D
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2B3F0A

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

Preview Lab → · Contrast checker → · Palette generator →

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