#2B3903#2B3903

#2B3903 is a dark, moderate yellow-green. Relative luminance 0.034; OKLCH L 32.1% C 0.076 H 123.9°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#2B3903
RGBrgb(43, 57, 3)
HSLhsl(76, 90%, 12%)
HSVhsv(76, 95%, 22%)
CMYKcmyk(24.6%, 0%, 94.7%, 77.6%)
CIE-LABlab(21.75, -14.50, 28.62)
CIE-LCHlch(21.75, 32.08, 116.86°)
OKLaboklab(32.05% -0.0427 0.0635)
OKLCHoklch(32.05% 0.077 123.9)
XYZxyz(2.4759, 3.4464, 0.6209)
Luminance0.0345 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3903 #110339
analogous
#392C03 #2B3903 #103903
triadic
#2B3903 #032B39 #39032B
tetradic
#2B3903 #03392C #110339 #390310
square
#2B3903 #03392C #110339 #390310
split-complementary
#2B3903 #031039 #2C0339
monochromatic
#161D02 #161D02 #2B3903 #577306 #83AD09

Accessibility & contrast

On white

12.43
#2B3903 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#2B3903 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3903
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3903#FFFFFF#000000##FFFFFF
##2B39031.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3500
Deuteranopia (green-blind)
#3B3408
Tritanopia (blue-blind)
#2E362F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2b3903;
/* rgb */ color: rgb(43, 57, 3);
/* oklch */ color: oklch(32.1% 0.076 123.9);
Tailwind
colors: {
  custom: {
    50: '#666f49',
    500: '#2b3903',
    950: '#000000',
  },
}
SCSS
$custom: #2b3903;
$custom-light: #666f49;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3903",
  "rgb": {
    "r": 43,
    "g": 57,
    "b": 3
  },
  "hsl": {
    "h": 75.556,
    "s": 90,
    "l": 11.765
  },
  "oklch": {
    "l": 0.32052,
    "c": 0.0765,
    "h": 123.9
  },
  "luminance": 0.03446
}

Semantic roles & 50–950 ramp

primary
#2B3903
secondary
#351C7C
accent
#29FF60
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2B3903

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

Preview Lab → · Contrast checker → · Palette generator →

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