#2B3A0D#2B3A0D

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

Color values

HEX#2B3A0D
RGBrgb(43, 58, 13)
HSLhsl(80, 63%, 14%)
HSVhsv(80, 78%, 23%)
CMYKcmyk(25.9%, 0%, 77.6%, 77.3%)
CIE-LABlab(22.19, -14.31, 24.91)
CIE-LCHlch(22.19, 28.73, 119.88°)
OKLaboklab(32.44% -0.041 0.0565)
OKLCHoklch(32.44% 0.07 126)
XYZxyz(2.5820, 3.5687, 0.9335)
Luminance0.0357 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3A0D #1C0D3A
analogous
#3A330D #2B3A0D #153A0D
triadic
#2B3A0D #0D2B3A #3A0D2B
tetradic
#2B3A0D #0D3A33 #1C0D3A #3A0D15
square
#2B3A0D #0D3A33 #1C0D3A #3A0D15
split-complementary
#2B3A0D #0D153A #330D3A
monochromatic
#131906 #131906 #2B3A0D #506C18 #759E23

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B3A0D#FFFFFF#000000##FFFFFF
##2B3A0D1.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)
#3D3607
Deuteranopia (green-blind)
#3B3511
Tritanopia (blue-blind)
#2D3731
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2b3a0d;
/* rgb */ color: rgb(43, 58, 13);
/* oklch */ color: oklch(32.4% 0.070 126.0);
Tailwind
colors: {
  custom: {
    50: '#66704e',
    500: '#2b3a0d',
    950: '#000000',
  },
}
SCSS
$custom: #2b3a0d;
$custom-light: #66704e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3a0d",
  "rgb": {
    "r": 43,
    "g": 58,
    "b": 13
  },
  "hsl": {
    "h": 80,
    "s": 63.38,
    "l": 13.922
  },
  "oklch": {
    "l": 0.32436,
    "c": 0.06984,
    "h": 126
  },
  "luminance": 0.03569
}

Semantic roles & 50–950 ramp

primary
#2B3A0D
secondary
#452D76
accent
#41E678
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2B3A0D

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

Preview Lab → · Contrast checker → · Palette generator →

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