#2B3A0F#2B3A0F

#2B3A0F is a dark, moderate yellow-green. Relative luminance 0.036; OKLCH L 32.5% C 0.068 H 126.4°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#2B3A0F
RGBrgb(43, 58, 15)
HSLhsl(81, 59%, 14%)
HSVhsv(81, 74%, 23%)
CMYKcmyk(25.9%, 0%, 74.1%, 77.3%)
CIE-LABlab(22.21, -14.13, 23.93)
CIE-LCHlch(22.21, 27.79, 120.57°)
OKLaboklab(32.46% -0.0403 0.0548)
OKLCHoklch(32.46% 0.068 126.4)
XYZxyz(2.5955, 3.5742, 1.0050)
Luminance0.0357 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3A0F #1E0F3A
analogous
#3A340F #2B3A0F #163A0F
triadic
#2B3A0F #0F2B3A #3A0F2B
tetradic
#2B3A0F #0F3A34 #1E0F3A #3A0F16
square
#2B3A0F #0F3A34 #1E0F3A #3A0F16
split-complementary
#2B3A0F #0F163A #340F3A
monochromatic
#121806 #121806 #2B3A0F #4F6B1C #739B28

Accessibility & contrast

On white

12.25
#2B3A0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B3A0F
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3A0F#FFFFFF#000000##FFFFFF
##2B3A0F1.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b3a0f;
/* rgb */ color: rgb(43, 58, 15);
/* oklch */ color: oklch(32.5% 0.068 126.4);
Tailwind
colors: {
  custom: {
    50: '#667050',
    500: '#2b3a0f',
    950: '#000000',
  },
}
SCSS
$custom: #2b3a0f;
$custom-light: #667050;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3a0f",
  "rgb": {
    "r": 43,
    "g": 58,
    "b": 15
  },
  "hsl": {
    "h": 80.93,
    "s": 58.904,
    "l": 14.314
  },
  "oklch": {
    "l": 0.32457,
    "c": 0.068,
    "h": 126.4
  },
  "luminance": 0.03574
}

Semantic roles & 50–950 ramp

primary
#2B3A0F
secondary
#483074
accent
#46E27C
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2B3A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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