#2B3A05#2B3A05

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

Color values

HEX#2B3A05
RGBrgb(43, 58, 5)
HSLhsl(77, 84%, 12%)
HSVhsv(77, 91%, 23%)
CMYKcmyk(25.9%, 0%, 91.4%, 77.3%)
CIE-LABlab(22.13, -14.92, 28.21)
CIE-LCHlch(22.13, 31.91, 117.87°)
OKLaboklab(32.36% -0.0435 0.0626)
OKLCHoklch(32.36% 0.076 124.8)
XYZxyz(2.5367, 3.5506, 0.6952)
Luminance0.0355 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3A05 #14053A
analogous
#3A2F05 #2B3A05 #113A05
triadic
#2B3A05 #052B3A #3A052B
tetradic
#2B3A05 #053A2F #14053A #3A0511
square
#2B3A05 #053A2F #14053A #3A0511
split-complementary
#2B3A05 #05113A #2F053A
monochromatic
#151C02 #151C02 #2B3A05 #55720A #7FAB0F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B3A05#FFFFFF#000000##FFFFFF
##2B3A051.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)
#3C350A
Tritanopia (blue-blind)
#2E3730
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2b3a05;
/* rgb */ color: rgb(43, 58, 5);
/* oklch */ color: oklch(32.4% 0.076 124.8);
Tailwind
colors: {
  custom: {
    50: '#66704a',
    500: '#2b3a05',
    950: '#000000',
  },
}
SCSS
$custom: #2b3a05;
$custom-light: #66704a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3a05",
  "rgb": {
    "r": 43,
    "g": 58,
    "b": 5
  },
  "hsl": {
    "h": 76.981,
    "s": 84.127,
    "l": 12.353
  },
  "oklch": {
    "l": 0.32363,
    "c": 0.07626,
    "h": 124.8
  },
  "luminance": 0.03551
}

Semantic roles & 50–950 ramp

primary
#2B3A05
secondary
#3A207B
accent
#2DFA67
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2B3A05

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

Preview Lab → · Contrast checker → · Palette generator →

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