#2B3A06#2B3A06

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

Color values

HEX#2B3A06
RGBrgb(43, 58, 6)
HSLhsl(77, 81%, 13%)
HSVhsv(77, 90%, 23%)
CMYKcmyk(25.9%, 0%, 89.7%, 77.3%)
CIE-LABlab(22.13, -14.84, 27.81)
CIE-LCHlch(22.13, 31.52, 118.09°)
OKLaboklab(32.37% -0.0432 0.0618)
OKLCHoklch(32.37% 0.075 125)
XYZxyz(2.5422, 3.5528, 0.7241)
Luminance0.0355 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3A06 #15063A
analogous
#3A2F06 #2B3A06 #113A06
triadic
#2B3A06 #062B3A #3A062B
tetradic
#2B3A06 #063A2F #15063A #3A0611
square
#2B3A06 #063A2F #15063A #3A0611
split-complementary
#2B3A06 #06113A #2F063A
monochromatic
#151C03 #151C03 #2B3A06 #54710C #7DA911

Accessibility & contrast

On white

12.28
#2B3A06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B3A06
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3A06#FFFFFF#000000##FFFFFF
##2B3A061.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3500
Deuteranopia (green-blind)
#3C350B
Tritanopia (blue-blind)
#2D3730
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2b3a06;
/* rgb */ color: rgb(43, 58, 6);
/* oklch */ color: oklch(32.4% 0.075 125.0);
Tailwind
colors: {
  custom: {
    50: '#66704b',
    500: '#2b3a06',
    950: '#000000',
  },
}
SCSS
$custom: #2b3a06;
$custom-light: #66704b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3a06",
  "rgb": {
    "r": 43,
    "g": 58,
    "b": 6
  },
  "hsl": {
    "h": 77.308,
    "s": 81.25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.32371,
    "c": 0.07545,
    "h": 125
  },
  "luminance": 0.03553
}

Semantic roles & 50–950 ramp

primary
#2B3A06
secondary
#3B227A
accent
#30F86A
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2B3A06

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

Preview Lab → · Contrast checker → · Palette generator →

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