#2B4703#2B4703

#2B4703 is a dark, moderate yellow-green. Relative luminance 0.050; OKLCH L 36.2% C 0.096 H 130.8°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#2B4703
RGBrgb(43, 71, 3)
HSLhsl(85, 92%, 15%)
HSVhsv(85, 96%, 28%)
CMYKcmyk(39.4%, 0%, 95.8%, 72.2%)
CIE-LABlab(26.81, -21.97, 33.58)
CIE-LCHlch(26.81, 40.13, 123.20°)
OKLaboklab(36.17% -0.0628 0.0727)
OKLCHoklch(36.17% 0.096 130.8)
XYZxyz(3.2659, 5.0265, 0.8843)
Luminance0.0503 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4703 #1F0347
analogous
#474103 #2B4703 #094703
triadic
#2B4703 #032B47 #47032B
tetradic
#2B4703 #034741 #1F0347 #470309
square
#2B4703 #034741 #1F0347 #470309
split-complementary
#2B4703 #030947 #410347
monochromatic
#121D01 #121D01 #2B4703 #4F8205 #72BC08

Accessibility & contrast

On white

10.47
#2B4703 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2B4703 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4703
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4703#FFFFFF#000000##FFFFFF
##2B47031.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4100
Deuteranopia (green-blind)
#473F0B
Tritanopia (blue-blind)
#2C433B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2b4703;
/* rgb */ color: rgb(43, 71, 3);
/* oklch */ color: oklch(36.2% 0.096 130.8);
Tailwind
colors: {
  custom: {
    50: '#687a4b',
    500: '#2b4703',
    950: '#000000',
  },
}
SCSS
$custom: #2b4703;
$custom-light: #687a4b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4703",
  "rgb": {
    "r": 43,
    "g": 71,
    "b": 3
  },
  "hsl": {
    "h": 84.706,
    "s": 91.892,
    "l": 14.51
  },
  "oklch": {
    "l": 0.36171,
    "c": 0.09602,
    "h": 130.8
  },
  "luminance": 0.05027
}

Semantic roles & 50–950 ramp

primary
#2B4703
secondary
#491E88
accent
#29FF81
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060901
muted
#7A7B77

Preview Lab

Preview with #2B4703

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

Preview Lab → · Contrast checker → · Palette generator →

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